Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a .dll
Message
From
08/08/2008 13:52:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01337552
Message ID:
01337608
Views:
18
In VFP help (index) type "Automation Servers". Then double click "creating". Then read the "How to". Then read the "Also See - How to: Build ..."

It's all pretty straight forward. Not much different than creating and building a .exe.

Then look up the DECLARE - DLL command to see how to call it.

Come back if you get stuck on anything.

>I would like to create a dll to execute just the code below
>
>*******************************************************************
>>SET headings OFF
>>SET PRINTER TO NAME (ALLTRIM(tprinters.nome))
>>TYPE (pedPrint) TO PRINTER
>
>******************************************************************
>
>I would like to know:
>
>1- How to create the dll ?
>
>2- How to call the dll form my form ?
>(passing parameters to the dll)
>
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform