Hi
I'm new to Borland Builder C++ coming from a Visual Basic Background.
I'm trying to find or use an equivalent to MSFlexgrid in a C++ DLL, since VB only produces ActiveX DLL's, however after compiling and linking, my user program (HTBASIC) crashes on loading the DLL which contains the C++ code and MSFlexgrid box
Subsequent investigation suggested its the use of CoInitialize and CoUnitialize that cause the problem,
any workarounds known, Using the Borland TStringGrid works OK , but can't (don't know how to) set Text alignment )columns) and Text color(cell by cell)
Cheers
John [sig][/sig]
I'm new to Borland Builder C++ coming from a Visual Basic Background.
I'm trying to find or use an equivalent to MSFlexgrid in a C++ DLL, since VB only produces ActiveX DLL's, however after compiling and linking, my user program (HTBASIC) crashes on loading the DLL which contains the C++ code and MSFlexgrid box
Subsequent investigation suggested its the use of CoInitialize and CoUnitialize that cause the problem,
any workarounds known, Using the Borland TStringGrid works OK , but can't (don't know how to) set Text alignment )columns) and Text color(cell by cell)
Cheers
John [sig][/sig]