main logo
Subject: RE: Help with data types needed
Author: "Dave Crozier"
Posted: 2005/09/30 10:05:28
 
View Entire Thread
New Search


John,
Take a look at struct.vcx developed by Christof Lange and Mark Wilden. It
allows you to define a class (based on the struct class) with properties for
each element of the structure. A members property tells the class what the
API expects each member of the structure to contain - integers, fixed length
strings, pointers to variable length strings or almost anything else.

I think it is available on the UT.


Dave Crozier


-----Original Message-----
From: profox-bounces AT leafe DO.T com [mailto:profox-bounces@leafe.com] On Behalf
Of John Weller
Sent: 30 September 2005 15:50
To: profox AT leafe DO.T com
Subject: Help with data types needed

Hi Guys,

I need help again! I've been asked to do a job which involves calling API
functions from a supplied DLL. I've never had to use the DECLARE statement
from scratch before, I've always been able to blag someone else's code <g>.
The prototype in the dll documentation refers to INTVAL, STRVAL, INTREF,
STRREF, LONGREF and LONGVAL. The help file for DECLARE refers to INTEGER,
SINGLE, DOUBLE, LONG and STRING. Which should I use for what?

TIA

John Weller
Wessex Computer Solutions
Devizes, Wilts
01380 728880
07976 393631



[excessive quoting removed by server]


 
©2005 Dave Crozier
<-- Prior Message New Search Next Message -->