FILE *useParserFile = oldParserFile;
// oldParserFile will use INDEX - 1 or 9 if INDEX = 0
bool nxtParser = false;
fseek( nxtParserFile, 0, SEEK_SET );
fread( nxtParserFile, &nxtParser, 1, 1 );
if ( nxtParser )
useParserFile = nxtParserFile;
if ( !useParserFile )
return;
// Continue as normal
This is a project I only just recently started and it crashed on that one (let alone my custom framework project), it should be small enough.It does not crash on my computer. I see that your project use MSVC compiler, but I don't have such compiler in my computer. I guess the parser hangs when it try to parse the header files from your MSVC compiler suite. I'm not sure how to help you further, since I don't have those include files from MSVC. :-[
Why not install VS2013, copy the VC folder elsewhere, uninstall VS and use the copied folder?I won't right now, I don't have such resource.
Edit: Just retried the complex macro setting and CB didn't freeze, perhaps it had something todo with my global paths? but if so the parser should have recognised that and skipped them. Seems I've lost a step somewhere that caused the parser to freeze the ui, but it is definitely safe to say part of the problem lies in the parser because th ui only ever freezed when I opened a file or click somewhere on a pre-opened file.The parser don't do magic things, all it do is open a file, and parse it. You can even build C::B, then run C::B in a debugger(GDB), then you can halt the C::B to see why it goes to infinity loop.
Edit: Deliberately broke VC tool chain path and there was no freeze either, dunno what else the missing step could be.
Okay, I just added the WIN7 SDK includes to a fresh project that uses Iup (with follow GLOBAL & process complex on) and the GUI just locked up on me when I went back to the file I was working onI don't have Win7 SDK includes, so I don't know how to help. Is there any way I can get a simple SDK headers and your sample projects?
Edit: After reloading, disabling parse complex, trying, re-enabling, and trying again the issue has once again vanished, leaves me ???.
As for compiling CB I took one look at the source and guide and decided it was too complex for me to bother (I'm REALLY lazy).
Maybe I'll try after I get everything else I wanna do done first.