'Class TMyConnection not found' exception in DLL
Posted: Fri 09 Nov 2007 14:08
I get the 'Class TMyConnection not found' exception when I create a DLL with a TMyconnection placed on a tframe and add this DLL to an empty app where the only thing I have added is another TMyConnection.
The plan is to use a DLL to be able to do some database stuff and also have a database connection in the main app that also have a connection to the database.
When I remove the TMyConnection from the main form in the main app the error disappears.
But I need the connections both places. I have turned “use run time packets” off, so that I can distribute my app with out any extra dlls.
I use Borland C++ builder 6.0 with service pack 2 under Win XP pro and MyDac 4.40.0.20
Pleas help, any suggestions are welcome.
Regards Tore
The plan is to use a DLL to be able to do some database stuff and also have a database connection in the main app that also have a connection to the database.
When I remove the TMyConnection from the main form in the main app the error disappears.
But I need the connections both places. I have turned “use run time packets” off, so that I can distribute my app with out any extra dlls.
I use Borland C++ builder 6.0 with service pack 2 under Win XP pro and MyDac 4.40.0.20
Pleas help, any suggestions are welcome.
Regards Tore