Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a .dll
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01337552
Message ID:
01337740
Views:
11
>OK
>
>Supose I have a small .prg
>How can I transform it in a .DLL ?
>
>Is it an easy or complicated task ?

It is not complicated.
1. You should convert that PRG to be a CLASS with OLEPUBLIC defined.
2. Add that PRG to a PROJECT and COMPILE that project as:
Single-threaded COM Server (DLL)
Multi-threaded COM Server (DLL)
Win32 Executable/COM Server (EXE)
That's all.
After you compile your project you should register that COM DLL on the user computer (if DLL use regsvr32, if EXE - NameOfTheExe/regserver)

Keep in mind that if you compile your project as DLL NO user interface is allowed.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform