Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
External VFP program
Message
 
To
31/01/2002 14:24:28
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00613281
Message ID:
00613656
Views:
11
>Hi Cathi,
>I see the point.
>My sources are all vcx, frx, mnx. I've cleared all scx and most prg's out of my projects. Some bitmaps and icons are needed.
>I don't like to scatter this on customers pc.
>The question is: Do I need to include the parent classes in an dll? Or can I refer to that included in my main exe?. It never needs to run for itself. It must be just a wrapper I can access from my main exe. I would like to create objects out of this wrapper with [.]NEWOBJECT() .
>
>Agnes
>
>>You have several options here. You can mark the source files (prg,scx,etc.) as "Excluded" in the project and just place them in the directory that contains the EXE. Then you can use the DO command and reference the locate and name of the source file. For example:
>>
>>DO mymethod IN myfile.prg
>>
>>Another approach is to create a separate project and build an APP, EXE, or DLL. When the project is built, it will try to include any references to external libraries used. This approach is typically used it these external files could be used without the main EXE. Your external application will be larger in size then just using the source code. The one disadvantage with just including the source code is you are exposing that portion of you application to have other developers modify it.


When the project is built to create the DLL, the parent classes will automatically be included. It needs to resolve all the dependencies. The DLL is built to run external to the main EXE.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform