Qbasicnews.com

Full Version: kernel32.dll problem at Win98
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
The same code, that compiled and worked fine at WinXp dont work at Win98.

It gives error that File.Exe has occured illegal "operation" (i gues it means that, Finnish Win98 :evil: )

It also tells something like this...

"File.Exe caused page error at module Kernel32.Dll memoryblock 0167:bff8ac13"

Program uses SCREEN 17 : Width 80,50

As i told, it worked fine on my Xp computer now it´s messed on my Win98 pc.

A bit help i get after changin SCREEN 0 : Width 80,50 but after that, it was slower after compiling than it was thru QB ide at 80486 laptop. (screen 0:width 80,50)

My win98 pc is 300mhz pII

example Hello.Bas did compile and work fine, so i guess SCREEN 17... is the problem...or my windows
:???:
Hi, I have a similar problem on Windows ME. Running an exe compiled with Freebasic causes '...an error in kernel32.dll...will now close.'. The stumbling block is the 'screen' command. The graphic window opens on screen and then immediately closes.

Does anyone know of a workaround or cure?

Thank you.
What Directx version? Without more details it will be hard to help, i've got 9x on a virtual machine only for tests.
Hi, thanks for your reply Smile I'm sorry but I didn't know which info would help.

I'm using Directx 8.0

Thanks for your time Smile
Ok, here's latest CVS snapshot compiled for win32. Includes compiler, runtime and gfx libraries:

http://www.ecplusplus.com/fbc-0.13-cvs-win32.zip

Overwrite these on top of your FreeBASIC installation and please let us know if it solves the problem. I made some modifications to gfxlib and I hope it to be fixed now, though I don't have win98 so I cannot really test it.
WOW. Thank you, that was quick Big Grin

I have done only one quick test and will give it a more strenuous workout when I have a little more time, but it appears to work just as it should Big Grin

Thanks for your time and effort, it is much appreciated. I will be back later to let you know how things are going.

Thanks again. Big Grin
hi, I was a little premature with my previous post Sad I tried a couple of programs found on the project page and I had the same error as before. The first program (I used in my previous post) had the command:
screen 13
That worked.
But programs I found in the project forum used:
SCREEN 19, 32, 2, 1
And these failed. Sad

Changing
SCREEN 19, 32, 2, 1
to
SCREEN 13
worked, though they didn't display as they should there were no errors.

Sorry to be a nuisance.
Hi, I'm back where I started, now 'screen 13' throws the kernel32 error. It is frustrating. I haven't changed anything.

Because I have more free time this afternoon I decided to work through the qbasic tutorials on this site to get myself acquainted with qbasic and freebasic. (I have been programming in Basic for a few years and I wanted to try a different dialect of basic, I haven't used qbasic or freebasic before.)

The first thing I tried was opening a screen ('SCREEN 13') followed by a command to draw a coloured line. Compiled it, everything went well. Ran it and I got 'test has caused an in error in kernel32.dll....' again. Sad

I tried re-extracting the zip file linked above over the top of my freebasic installation but it made no difference.

From the little I have seen of FreeBASIC it looks like it could be good and I really want to be able to give it a chance.

If you need any more info please ask because I don't know what info you need, thank you.

Could this be a problem with my machine? Has anyone else had this trouble?
Humm I think I'll have to set up a Win98 box in my Virtual PC; currently I cannot be of real help without a testing environment...
Thanks lillo, as a note the OP uses Win 98, I use Win ME (for my sins.)
Pages: 1 2