View Single Post
  #1  
Old 07-08-2009, 17:57
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 517
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 380
Thanks Rcvd at 416 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
Question VB 6.0 -GetProcAddress- ON Vista

anybody know why GetProcAddress not work on Vista .

I have write this code :

Dim hand,APIAdd as long
hand=GetModuleHandle ("advapi32.dll")
APIAdd=GetProcAddress(hand, "RegDeleteKeyA")

on windows Xp it work very fine and I got the address of the API .
but on Vista .... I got wrong Value ..
anybody have any explanation .
Thanks ....
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote