View Single Post
  #8  
Old 04-03-2013, 13:20
bilbo bilbo is offline
Friend
 
Join Date: Jul 2004
Posts: 103
Rept. Given: 36
Rept. Rcvd 15 Times in 12 Posts
Thanks Given: 15
Thanks Rcvd at 17 Times in 11 Posts
bilbo Reputation: 15
kernel32.lib does not export GetModuleHandleA, but _imp__GetModuleHandleA
So you need to replace
Code:
externdef GetModuleHandleA:dword
with
Code:
pr1 typedef PROTO :DWORD
externdef _imp__GetModuleHandleA@4:PTR pr1
GetModuleHandleA equ <_imp__GetModuleHandleA@4>
Best regards
bilbo
Reply With Quote