John, In General and off the top of my head,
DLL VFP Handle Integer Array String ULONG Long/Integer Int Integer
In short anything that is a pointer set up as a string and anything numeric like define as an integer as your first step.
Sorry I can't be more specific without my Laptop with me!
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 |