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
|