I'm trying to use Delphi GUI components wrapped up in a DLL from my VC++ application.
I've managed to get a Delphi Form to show up on the VC++ app, but was not able to get a Delphi button onto my VC++ CDialog box.
I get an access violation when I do this:
(In the Delphi DLL)
TheButton = new TButton( ParentWindow );
where ParentWindow is the CDialog's m_hWnd member;
Anyone got some example code?