Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How use a DBF in a COM DLL
Message
De
21/02/2008 13:03:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
How use a DBF in a COM DLL
Divers
Thread ID:
01294855
Message ID:
01294855
Vues:
62
Hi at all

I have the necessity to create a COM DLL that must be used from a program that allow to run procedure from a DLL.

In my procedure for testing I have 2 files to process but I want to create a table and than read it with this procedure to not be limited by the files to open in this example the file to open are BlockDir1 and BlockDir2



DEFINE CLASS myclass AS SESSION OLEPUBLIC
* Define property
PROTECTED Test32

PROCEDURE OpenPrj1

BlockDir1 = "C:\jdoffice\data\res.blk"
BlockDir2 = "C:\jdoffice\data\umi.blk"

DI = THIS.Test32.dataTree.addTopoLBlock(BlockDir1, -1)
DI.caption = "Resa Mais"
THIS.Test32.mapWindows.actionAfterOpenData(2, DI)

DI = THIS.Test32.dataTree.addTopoLBlock(BlockDir2, -1)
DI.caption = "Umidita Mais"
THIS.Test32.mapWindows.actionAfterOpenData(2, DI)

ENDPROC
ENDDEFINE

<\PRE>

Is there any solution?

Thank you in advance
Luigi
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform