- NSIS Discussion
- BgImage.dll and Windows 98
Archive: BgImage.dll and Windows 98
DOCa Cola
25th May 2003 23:07 UTC
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
kichik
25th May 2003 23:13 UTC
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.
DOCa Cola
25th May 2003 23:22 UTC
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
kichik
25th May 2003 23:24 UTC
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?
DOCa Cola
25th May 2003 23:26 UTC
i will test that now with a messagebox before every command and tell you what happens...
DOCa Cola
25th May 2003 23:35 UTC
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
kichik
26th May 2003 16:04 UTC
Can you please try the attached BgImage.dll? I have added some more thread safety features.
DOCa Cola
26th May 2003 17:03 UTC
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
DOCa Cola
26th May 2003 17:09 UTC
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
kichik
26th May 2003 17:31 UTC
What's the offset (0167:10001573 in the last error message) shown in the error message for the attached BgImage.dll?
DOCa Cola
26th May 2003 17:33 UTC
its 0167:100014ef
DOCa Cola
kichik
26th May 2003 17:37 UTC
Hmm... Clear again... I'll check.
kichik
26th May 2003 17:53 UTC
Plesae test this one.
DOCa Cola
26th May 2003 17:57 UTC
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)
kichik
26th May 2003 17:58 UTC
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 :)
DOCa Cola
26th May 2003 18:01 UTC
ah, i see, thx for the improved stability :)
kichik
26th May 2003 18:02 UTC
New version uploaded to CVS.