General information
Category:
COM/DCOM and OLE Automation
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only