Here is some code to show what happens:
this code is on my executable
Code: Select all
wxLogDebug("before");
CdbCanaisTipoPontos *dbTipoPontos=new CdbCanaisTipoPontos();
wxString teste = "will it crash?";
wxLogDebug("crashed on this log");
this is the code for the constructor (The Class CdbCanaisTipoPontos derives from AVDBase)
Code: Select all
AVDBase::AVDBase(){
m_pResultSet = NULL; /*pointer to a resultset from databaselayer*/
m_pDatabaseLayer = NULL; /*pointer to a database object from databaselayer*/
m_strFunctionError=wxEmptyString; /*wxString*/
m_Error = wxEmptyString; /*wxString*/
m_nError = 0; /int*/
}
CdbCanaisTipoPontos::CdbCanaisTipoPontos(){}
If any more information is need just ask away.
Thanks
**edit: I had written SIGSEV, but the signal I receive is SIGABRT