Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Void structure?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
01379065
Message ID:
01379091
Vues:
22
>Both Integer and Long cause a "Declare DLL call caused an exception".
>
>DECLARE Integer ASX_System_Create IN asX32.dll Integer, Integer @
>
>PRIVATE lReturn
>lReturn = ""
>
>PRIVATE lHandle
>lHandle = 0
>
lReturn = ASX_System_Create(1, @lHandle)

There's no difference between Integer and Long in DLL declaration.
The DECLARE and call looks correct to me but lets try this
DECLARE Integer ASX_System_Create IN asX32.dll Integer, String @
lcHandle = REPLICATE(CHR(0),8)
lReturn = ASX_System_Create(1, @lcHandle)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform