Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of bytes of types declare in VB
Message
From
30/06/1999 10:18:07
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00235733
Message ID:
00235890
Views:
29
George,

It's the crPESelectPrinter(njob,cdriver,cPrinter,cPort,@crdevmode) API for crystal reports. This is a VB function which has to be translated to VFP, The last crDevmode parameter can contain some info which is originally stored in a VB structure.

Because I've got to know at which position i've got to poke my info in. Fortunately I did figure it out by trying. It seems that both INTEGER and LONG are 4 bytes long, only the order of the bytes seems to be different.

Now i'm facing a new problem (Sighhhhh): How do you translate an ANY datatype as an argument in a API call ?

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform