Archive: BgImage.dll and Windows 98


BgImage.dll and Windows 98
Hm, i hope this time it's a real bug and not me :D
I wonder if the BgImage.dll example was tested under windows 98. on windows xp it runs fine. when i start the example under windows 98 it showes up correctly up to the mike the lama message. after i clicked ok on that one the installer crashes with an windows 98 crash box...does this error only occurs on my pc? notice, it's a fresh install of windows 98 (i run it in a vmware box actually, but i don't think thats the problem)

DOCa Cola


Yep, it was tested on both Windows 98 and Windows XP. I had a lot of issues with Windows 98... Make sure it's not VMWare that's causing this.


ok, thx. i can't test it anyway cause i have no real pc with win98 installed, but would be good to know that my installer runs everywhere without problems. :)

DOCa Cola


I'll test it tomorrow on another Windows 98 machine just to make sure, but even if it works it would be nice to know what happens with VMWare. So... What's the exact error and after/before which command does it appear?


i will test that now with a messagebox before every command and tell you what happens...


thats line 81 in the example

        # clear everything
BgImage::Clear /NOUNLOAD
# Clear doesn't return any value
# set another gradient

at this point the installer fails


With this command the typical windows error screen appears (the one with the close and details button and the red X)
With the detail error message (sorry, i have a german windows 98)
BGIMAGE TEST verursachte einen Fehler durch eine ungültige Seite
in Modul BGIMAGE.DLL bei 0167:10001573.
...
and so on (means something like bgimage test caused an error through a invalid page in module bgimage.dll at ...)
the installer window with background stays in back until i press the close button on the error box and no graphical errors appear when i move the error box arround.

DOCa Cola

EDIT: erm, there are graphical errors, the error box leaves 'ghosts' on the background

Can you please try the attached BgImage.dll? I have added some more thread safety features.


the example runs fine until finish, then it crashes (on unload) i am trying to find the command causing this

Edit: after crash the background stays and the desktop is not redrawn, i have first to clean it by opening a window


hm, its that BgImage::Destroy function in .onguiend. i have uncommented it and the installer closes fine but of course the dll stays in the plugins dir then.

DOCa Cola


What's the offset (0167:10001573 in the last error message) shown in the error message for the attached BgImage.dll?


its 0167:100014ef

DOCa Cola


Hmm... Clear again... I'll check.


Plesae test this one.


this one runs fine now. but i noticed that there was a slight delay on playing the test sound under windows xp (don't know about vmware win98 cause have no soundcard installed there)


It happens here too and has happened in earlier versions too, probably a Windows XP issue. Last time I tested it, it happened only with the files the example uses, maybe they're special for Windows XP, who knows :)


ah, i see, thx for the improved stability :)


New version uploaded to CVS.