Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How use a DBF in a COM DLL
Message
From
21/02/2008 13:03:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
How use a DBF in a COM DLL
Miscellaneous
Thread ID:
01294855
Message ID:
01294855
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform