Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with VB DLL
Message
De
08/08/2013 12:48:00
 
 
À
08/08/2013 11:01:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01580026
Message ID:
01580062
Vues:
40
>Yes
>I Tried:
>
>DECLARE Integer HvsCodeOpen IN HvsCodeDll.dll string dbDirectory
>DECLARE INTEGER vbHvsCodeTeze IN HvsCodeDll STRING @vHvsCode, STRING @vHvsAdr
>test=HvsCodeOpen("D:\DllTest\") &&Opens the Database Access MDB
>
>vHvsAdr="DEU"+chr(0)+"30559"+chr(0)+"Hannover" + chr(0)+ "Strasse 1"+chr(0)
>vHvsCode=REPLICATE(CHR(0),512)
>
>retval=vbHvsCodeTeze(@vHvsCode,@vHvsAdr)
>
>
>But still get only get a message "declare dll caused an exception"
>
>can you point out where my mistake is ?

see anatoliys reply - if that one still throws an error, try 2nd parameter as value, not reference. In prev posts I also described the needed structure.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform