Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I format a string for a call to GetProcAddress AP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01030708
Message ID:
01030761
Vues:
12
This message has been marked as the solution to the initial question of the thread.
If your going to access the proc name by its ordinal value, just make it a long instead of a string:
DECLARE INTEGER LoadLibrary IN kernel32 STRING lpLibFileName
DECLARE INTEGER GetProcAddress IN kernel32 INTEGER hModule, Long lpProcName

m.handle = LoadLibrary("QuickHash.dll")
m.pHandle = GetProcAddress(m.handle,154)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform