Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays in C dlls
Message
De
22/02/1999 16:56:54
 
 
À
22/02/1999 16:51:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00190091
Message ID:
00190174
Vues:
17
>>>>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform