Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare dll call caused an exception, 2
Message
From
09/02/2005 12:53:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows NT
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00985248
Message ID:
00985252
Views:
33
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform