[Freeciv-Dev] Re: win32 client compiling troubles
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 28 Jun 2002 18:27:41 +1000
Christian Stock <cstock@xxxxxxxxxxxxxx> wrote:
> I couldn't fix the UpdateWindows(...) bug yet. civclient just bails out
> with something like 'couldn't read address at 0x000010', anyway the crash
> you mostly get when something is NULL, but shouldn't be NULL (ie
> uninitialised). I built both release and debug versions, but I'm stuck...
> It looks like I have to build my own window from scratch and slowly add
> things to it. A huge pain, since I'm not really into windows gui
> programming. The only idea I have is that the InitCommonControls() doesn't
> work (would that cause a crash?). Apparently it's been replaced with
> InitCommonControlsEx(LPINITCOMMONCONTROLSEX lpInitCtrls), but I don't know
> enough to make any judgement here... BTW, I'm using Win2K...
The place where you should look for bugs is map_expose() and overview_expose().
Does it crash somewhere there? (ShowWindow sends WM_PAINT to the window, the
message proc is called immediate. It calls map_expose and overview_expose then)
Greetings
Andreas Kemnade
|
|