Call dynamic pointer

2003-07-21 Thread Lucien Mathieu
Hello, in a dll, I'm calling a extern C { void * init(); } where it is define as follow void * init() { return (new TObject()); } it's doing a segment fault, does the new pointer is automatically

RE : Call dynamic pointer

2003-07-21 Thread Lucien Mathieu
this kind of question to the list ;-P Thanks in advance, Lucien. -Message d'origine- De : Ronald Landheer-Cieslak [mailto:[EMAIL PROTECTED] Envoyé : lundi 21 juillet 2003 15:48 À : Lucien Mathieu Cc : [EMAIL PROTECTED] Objet : Re: Call dynamic pointer On Mon, 21 Jul 2003, Lucien Mathieu wrote

RE : RE : Call dynamic pointer

2003-07-21 Thread Lucien Mathieu
À : Lucien Mathieu Cc : 'Ronald Landheer-Cieslak'; [EMAIL PROTECTED] Objet : Re: RE : Call dynamic pointer Sorry, this still isn't enough to see exactly what you're doing and where the problem is. If you can't make a simple case that can be sent to the list so others can easily build and try