Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a 3rd Party DLL
Message
 
 
À
12/08/2003 14:19:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00819514
Message ID:
00819516
Vues:
17
Bill,

Do you've any sample code in any programming language, like C or VB? Keep in mind that function name in DECLARE statement is case sensitive.

>I'm writing a small VFP app that needs to communicate with our ERP package, JD Edwards. There is a specific function I need to call named X0010GetNextNumber, it's in the CALLBSFN.Dll. It uses a structure to pass data in and out of the function.
>
>I'm trying the following code to make this work:
>
>lcStructure = '01 1' + SPACE(22)
>DECLARE STRING X0010GetNextNumber IN C:\B7\DV7333\Bin32\CallBSFN.Dll
>X0010GetNextNumber(@lcStructure)
>
>The structure is 27 bytes total, and I need to fill in the first 5 bytes for it to work. However, when I run the code I get an error as follows:
>
>Cannot find entry point X0010GetNextNumber in the DLL
>
>The help didn't, so I'm wondering if anyone has any pointers.
>
>Bill
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform