Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting a VB Statement to VFP 6.0
Message
De
05/02/2001 11:22:52
 
 
À
05/02/2001 11:13:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00471279
Message ID:
00472489
Vues:
40
>p2smon.dll is the Active Data driver for Crystal, used to pass a populated recordset object to the Crystal Report Engine.
>
>>>I have the following statement in Visual Basic that I would like to convert to Visual Foxpro 6.0:
>>>
>>>Declare Function CreateFieldDefFile Lib "p2smon.dll" (Ador.RecordSet As Object, By Val D:\leo\Temp.TTX as String, By Val bOverWriteExistingFile As Long) as Long
>>>
>>>
>>>Any idea how to write this statement in VFP 6.0?
>>
>>What does this call do?
>>
>>p2smon.dll does not seem to be a Windows DLL.

Doesn't Crystal offer an automation DLL that you can use for this? Something you could CreateObject() instead of DECLARE.

You might want to look at the API dictionary here in the UT for examples of passing the various data types to DLL's. I don't know how you would declare the object variable though.

I was asking about the function to see if there was a way to write it in VFP, but I don't think you want to re-write something like this :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform