How to use OWL class from lib or dll ?
Posted on 1997-08-04
Title - How to use OWL class from lib or dll ?
Sdk - BC5/Win95
I've made a control by using OWL class (TControl ....), and i've put it in a static lib file (for exe).
Here is my header :
class _MYCONTROLCLASS Txxxxxx : public TControl
I compiled my sources in a dynamic way, replacing _MYCONTROLCLASS by _export.
And everything are ok.
To use my new lib file in another project, i replaced _MYCONTROLCLASS by _import and the linking process told me : >> Error: Unresolved external 'TWindow::Dispatch(TEventHandler::TEventInfo&,int,long)' referenced from module notetabx.cpp <<
What's wrong with my method ?
Is there a method who also works with DLL ?