Compiling root classes into MSVC MDI?

From: William J. Deninger (deninger@uiuc.edu)
Date: Mon Sep 29 1997 - 22:43:29 MEST


Hello!

I have a MSVC++ multiple document interface circuit code application
I've written during the past eight weeks before stumbling upon ROOT.
Now I seem to have a serious dilemma.  Is it reasonably possible to
incorporate ROOT plotting classes (THxx, TNtuble, etc.) into an MFC
application? Or would you believe less time consuming to convert
existing MSVC document and view classes to ROOT?  For the later case,
take into consideration that I've used STL deque containers.

I've already tried calling root routines from my applications, but the
root library "new" and "delete" overloading seems to crash my program.
// Sample
// any MSVC class within MDI application with ROOT_xxx libs included in
link
void TEST::test()
{
char *text = new char[100];
delete[] text; // generates Runtime abnormal termination error
}
"char" infact is just an example.  Any data type/class will result in
the same error

William J. Deninger
deninger@uiuc.edu



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET