Ah! Found it!!! (I think...)

I bet for those who are having this problem (Dragi and Bruno, among others) your [empwake] section is the *last* section in your config.ini. The code above looks for the next section with this:

pszTemp = strstr(pszSection, "\n.[");
*pszTemp = '\0';

.
So if it doesn't find that string, which should only happen if the empwake section is the last section of you config.ini, it's going to seg fault. Just duplicated it on mine.

Workaround for you guys *should* be to move the [empwake] section so it's somewhere in the middle. There will be a fixed version soon on my empeg page.

Stupid, stupid bug. And TERRIBLE parsing code. I just wanted something quick and dirty, and, well, it's dirty. In the meantime, if anyone gets a chance to try it, let me know if moving the empwake section fixes this.


Edited by yn0t_ (17/04/2002 18:39)
_________________________
- Tony C
my empeg stuff