![]() |
|
|
|
#1
|
|||
|
|||
|
you need to set environment variable or include path for those libs in link parameters /LIBPATH, IIRC
|
|
#2
|
|||
|
|||
|
Quote:
I do the VC setting as below, is this enough or still something missing? Thank you for your help on check. @set MYPATH=C:\Program Files\VC2008 @set PATH=%MYPATH%\bin @set INCLUDE=%MYPATH%\include;%MYPATH%\PlatformSDK\Include;%MYPATH%\atlmfc\include;%MYPATH%\DirectX_SDK\Include; @set LIB=%MYPATH%\lib;%MYPATH%\PlatformSDK\Lib;%MYPATH%\atlmfc\lib;%MYPATH%\DirectX_SDK\Lib\x86; |
|
#3
|
|||
|
|||
|
kernel32.lib does not export GetModuleHandleA, but _imp__GetModuleHandleA
So you need to replace Code:
externdef GetModuleHandleA:dword Code:
pr1 typedef PROTO :DWORD externdef _imp__GetModuleHandleA@4:PTR pr1 GetModuleHandleA equ <_imp__GetModuleHandleA@4> bilbo |
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
May I ask one more question, here "@4" mean ? Sorry, I'm newbie on this.
Last edited by bridgeic; 04-03-2013 at 14:36. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compile eror | rcer | General Discussion | 8 | 06-25-2013 18:21 |
| Why this error report in RadASM? | bridgeic | General Discussion | 3 | 04-02-2013 17:36 |