View Single Post
  #9  
Old 04-03-2013, 14:22
bridgeic bridgeic is offline
Friend
 
Join Date: Jun 2012
Posts: 88
Rept. Given: 7
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 6 Posts
bridgeic Reputation: 3
Quote:
Originally Posted by bilbo View Post
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 [email protected]:PTR pr1
GetModuleHandleA equ <[email protected]>
Best regards
bilbo
Wow, it works, Thanks a million, bilbo.
Reply With Quote