Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare dll call caused an exception, 2
Message
De
09/02/2005 12:53:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows NT
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00985248
Message ID:
00985252
Vues:
34
>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.

unsigned char *pbInputFontFileName

would be:
string @ pbInputFontFileName

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform