Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
External procedures
Message
From
05/03/2008 17:39:58
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01299129
Message ID:
01299137
Views:
9
>>When designing a DLL to act as a COM server, is it necessary that all the functionality be contained within the class definition or can the DLL make use of a separate procedure file that is compiled into the DLL. OR can procedures be located outside of the class definition but at the end of the same prg file?
>
>Yes, you can use external procedures/functions. Why it can be don, what's the point to include them after class definiton?

Thanks Sergey. I'm not sure of the answer or if its a good idea. I'll have to think about it some more. I'm building a web app that will have a DLL to run reports in PDF or other formats. The frx files will be external to the DLL so I don't have to take down the server to add new report formats. The report definition might need a function to lookup a value in another table, something like GetCompanyName(company_id). I'm trying to figure out the best way to set that up.
Previous
Reply
Map
View

Click here to load this message in the networking platform