Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays in C dlls
Message
From
22/02/1999 16:56:54
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00190091
Message ID:
00190174
Views:
16
>>>>>>>Off the top of my head I don't know what the structure of a variant array looks like, but someone else probably does.
>>>>>>
>>>>>>hmm. Who?
>>>>>>
>>>>>
>>>>>Someone who doesn't believe that VB is the root of all evil...
>>>>
>>>>Not me then...
>>>>
>>>>I can get the C declarations (will take some digging) will that help you to help me?
>>>
>>>Yep - I have a bit (read: lots) better knowledge of what C interfaces look like.
>>
>>double THILINKAGE THIbyld(const double *coupon,
>>int num coupon,
>>const THIDATE *maturity,
>>int num maturity,
>>THIDATE settle,
>>double price, etc (lists a lot of optional parameters)
>>
>>Not sure if this is it or not, to be honest. This was in a pdf file deep in the "C" directory of the library I am evaluating. Does this tell you anything?
>
>Yep - the base structure passed contains pointers to an array of doubles - floating point numbers. You can pass a simple pointer to a double in VFP pretty easily; I'll have to look around to see what I can kludge up to pass an array of them.

A function like this added to CLSHEAP would be very helpful.

Thanks a million for all your attention.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform