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:
01032419
Vues:
13
This message has been marked as a message which has helped to the initial question of the thread.
Rodd,
Google and download Dependency Walker. It will helps you to find the name of the function


>Is there any other way to confirm this? We don't have Visual Studio or any of its tools.
>
>Rodd
>
>>Rodd,
>>
>>Have you verified that SL_SHA256_Calculate is the export name? Use Depends (in Visual Studio tools) and verify that is EXACTLY how it appears in the export table. The name may have been mangled.
>>
>>
>>
>>>When I try that, I keep getting the error ... Entry Point not found.
>>>
>>>This is from the help of the dll I'm trying to use.
>>>
>>>void SL_HASHCALL SL_SHA256_Calculate( void* pDest, const void* pSrc, unsigned int nSrcLength );
>>>
>>>
>>>
>>>This is what I tried from the command window.
>>>
>>>DECLARE SL_SHA256_Calculate IN (GETFILE()) string @ Dest, string @ Src, integer Len
>>>m.dest = SPACE(256)
>>>m.src = "This is a test"
>>>m.len = LEN(m.src)
>>>? sl_sha256_calculate(@m.dest,@m.src,m.len)
>>>
>>>
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform