when I compiled the asmedit4.3 project,the compiler tell me :
" Assembling: AsmEdit.asm
AsmEdit.asm(808) : error A2006: undefined symbol : IMalloc
Assembling: MRUFiles.asm
Assembling: Treeview.asm
Treeview.asm(201) : error A2006: undefined symbol : IShellFolder
Treeview.asm(221) : error A2006: undefined symbol : LPENUMIDLIST
Treeview.asm(221) : error A2195: parameter or local cannot have void type
Treeview.asm(233) : error A2006: undefined symbol : IShellFolder
Treeview.asm(244) : error A2006: undefined symbol : IEnumIDList
Treeview.asm(254) : error A2006: undefined symbol : IShellFolder
Treeview.asm(268) : error A2006: undefined symbol : IMalloc
Treeview.asm(349) : error A2006: undefined symbol : IMalloc
Treeview.asm(356) : error A2006: undefined symbol : IEnumIDList
Treeview.asm(553) : error A2006: undefined symbol : IShellFolder
Treeview.asm(572) : error A2006: undefined symbol : IShellFolder
Treeview.asm(618) : error A2006: undefined symbol : IShellFolder
Treeview.asm(664) : error A2006: undefined symbol : IMalloc
Treeview.asm(712) : error A2006: undefined symbol : IMalloc
Assembling: Listview.asm
Listview.asm(94) : error A2006: undefined symbol : TextCM
Listview.asm(94) : error A2114: INVOKE argument type mismatch : argument : 4
Listview.asm(95) : error A2006: undefined symbol : BackGCM
Listview.asm(95) : error A2114: INVOKE argument type mismatch : argument : 4
Listview.asm(96) : error A2006: undefined symbol : BackGCM
Listview.asm(96) : error A2114: INVOKE argument type mismatch : argument : 4
"

what can I do?

I like it! :)
Posted on 2002-07-30 06:24:04 by liyf
What about fixing your buggy code instead of blaming ASMEdit? :rolleyes:
Posted on 2002-07-30 06:33:16 by bazik
!!!
Problem was that he (the coder of AsmEdit) used a old Windows.inc (DL from Page Windows123.zip)
!!!

So put AsmEdit into MASMv7 directory (c:\masmv7\AsmEdit).
Changed all inports to a relative location (..\Inports instead of \masmv1\imports\... and so on).
Change the Batch-File to work for u.
Get the Macro thats missing (in MASMv1.zip on DL page) I put it into MASM\macros directory.


I put all changed files into a Zipfile for u. so just put it into a Subdirectory of Masm and start asmedit.bat.




Output:
-------------------------------------------------------

D:\Masm7\AsmEdit>asmedit.bat
D:\Masm7\AsmEdit>..\BIN\rc AsmEdit.rc
D:\Masm7\AsmEdit>..\BIN\ml /c /coff AsmEdit.asm MRUFiles.asm MenuMaint.asm Treev
iew.asm Listview.asm
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.

Assembling: AsmEdit.asm
Assembling: MRUFiles.asm
Assembling: MenuMaint.asm
Assembling: Treeview.asm
Assembling: Listview.asm

D:\Masm7\AsmEdit>..\BIN\link /SUBSYSTEM:WINDOWS AsmEdit.obj MRUFiles.obj MenuMai
nt.obj Treeview.obj Listview.obj AsmEdit.res
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.


D:\Masm7\AsmEdit>
-------------------------------------------------------
Posted on 2002-07-30 07:04:05 by DEVILRIDER
I do it again!
Posted on 2002-07-31 20:41:46 by liyf
To DEVILRIDER and iyf:

Sorry about the delay, I've been on vacation.

Problem was that he (the coder of AsmEdit) used a old Windows.inc (DL from Page Windows123.zip)


My Windows123.zip is probably more up todate
then the Windows.inc in MASMv7.

All you need to do is download Windows123.zip
and place it's Windows.inc in AsmEdit's
include library and then you will be able to
assemble AsmEdit using AsmEdit just like you would
any other program.

I think in the instructions it states that if you
want to assemble AsmEdit and some of the other
more advanced programs in my package you will need
to download Windows123.zip.

A lot of the problems with the Windows.inc in MASMv7
is that a lot of the shell information has been
removed.

Thanks,

Ewayne
Posted on 2002-08-20 10:27:39 by Ewayne