AcWoo,
I have cleaned your project from unused files, in a try to locate the problem. Here you have the simpler version:
http://www.mediafire.com/?2m2l1t2ma5mBut what I have found with great surprise is that it seems as a Harbour compiler bug, as your PRG files are extremelly large, so Harbour seems to be failing. I have been able to conclude this as I saw that a hb_out.log file was getting created but it was empty, so I replaced the internal error function with this one:
- Code: Select all Expand view
#pragma BEGINDUMP
#include <windows.h>
void hb_errInternalRaw( ULONG ulIntCode, const char * szText, const char * szPar1, const char * szPar2 )
{
MessageBox( 0, szText, szPar1, 0 );
}
#pragma ENDDUMP
And see the error that I get when your EXE starts:
The pcode seems to be corrupted. You have PRGs with more than 32.000 lines. It could be that Harbour has a bug when it tries to compile such large files.
It may not be the amount of lines, maybe it is the size of a specific function. Anyhow, the pcode seems corrupted.
My advise is that you split those so large PRGs into smaller ones and try again. That would probably may solve the problem. This is a difficult error to be reported to the Harbour developers mailing list, as seems as a quite difficult to reproduce error.