I added udw2str.asm from M32LIB to my project (RadAsm)
How do I make this prc known to my proggy?:stupid:
Posted on 2003-10-20 23:25:18 by Klod
At the start of your program include the following two lines after your normal includes:

include masm32.inc
includelib masm32.lib

it will make all masm32lib functions available to your program.
Posted on 2003-10-20 23:38:41 by donkey
I've done that, compiles ok but

LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
b.exe : fatal error LNK1120: 1 unresolved externals
Posted on 2003-10-20 23:50:57 by Klod
You need an entry point for your executable:

.code

start:
; your program here
.
.
.
end start
Posted on 2003-10-21 00:02:12 by donkey
I have included include masm32.inc includelib masm32.lib correctly. The files weren't in the search path of my IDE.:grin:
After recompiling I got an error:
Assembling: b.asm
b.asm(12) : error A2006: undefined symbol : udw2str.
Adding udw2str PROTO :DWORD,:DWORD to my program compiles and works correctly.
I searched Masm32.inc, but udw2str is not listed. Is this an omission or is it listed elsewhere?;)
Posted on 2003-10-21 23:10:16 by Klod