More info? Getting any ASSERTs on Win98?
A quick guess is that something is eating resources, where NT allows for far
more than 98. It should not be anything 'illegal' as such - NT would explode
while 98 would happily continue. What call(s) in the paint handler trigger
the exceptions? Are you error checking all GDI calls?
Johan Rosengren
Responsable Informatique
PACTA S.A.
Quote:
> Problem: Application runs fine in NT (debug or release) with no
> warnings or errors. Application fails in Win98 when repainting the
> ChildView multiple times (OnPaint) and I receive repeated errors in
> debug mode (First chance exceptions in Kernel32 0xC0000005 and
> uncaught exceptions in WindowProc (returning 0)). DLL MSVCRTD
> complaints.
> Researched memory leaks--show none. Verified all coordinates are
> within the -+32k limit of 16-bit systems. Deallocating all GDI
> objects in device context. Not using anything else mentioned in the
> docs regarding OS differences.
> Have stripped app down but still have the problem and have not found a
> cure for over a week. Any ideas of what to look at next? Anyone
> willing to look at an app?
> Regards,
> Craig C.