Danny Backx wrote: > The C++ library on x86 appears to crash at initialisation even in the > simplest of programs. At least, it does so when compiled against the DLL > version of the library. > > #include <iostream> > using namespace std; > int main(int argc, char *argv[]) > { > cout << "Hello" << endl ; > } > > Are there any tricks involved in debugging this kind of stuff ? >
The main thing here is to look at the .ctors and .dtors sections, ensure they have all the correct entries and step through them to make sure they're being called correctly; this maybe takes place in __main(), depending what you've done to teach the compiler about startup objects. cheers, DaveK ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel