Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare dll call caused an exception, 2
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Declare dll call caused an exception, 2
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows NT
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00985248
Message ID:
00985248
Vues:
73
I've decided to branch off to make this more readable, also the OS has changed.

OK, anyway -

Document says:
Int FAR PASCAL funcTS400SetLoadFont(int iParameter, int iInputValue,
unsigned char *pbInputFontFileName)

My declare is:
declare integer  funcTS400SetLoadFont in BUICAP32.DLL integer iParameter, integer iInputValue, unsigned char *pbInputFontFileName;
The call is:
m.nretval=funcTS400SetLoadFont(0, 0, "C:\DCC\Redist\pc2424.fnt")
and the error is:
"Too many arguments"

which confuses the heck out of me and as it sure seems to be 3 and 3.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform