Link to home
Start Free TrialLog in
Avatar of saintcyr
saintcyr

asked on

Kernel32 not found Error

I recently switched to Windows-98 (no post-conversion warnings, please) and now my compiled Delphi apps won't run on Windows-NT 4.0.  The error message is Kernel32 not found.  Obviously, Kernel32 is there, but it can't find it.  (It is in the Windows\System folder, which is also specified in the search path in the error message.)

Note: The user was using the previous version which used the same DLL and got no error.

Someone has suggested that the problem may be that Delphi (really the VCL) didn't use the explicit DLL extention and NT is not associating the file as a DLL.  How can I fix this ???
Avatar of viktornet
viktornet
Flag of United States of America image

Is the Kernel32.dll file in the System directory....???

//Vik
Avatar of saintcyr
saintcyr

ASKER

Edited text of question
I noticed a problem like this before, where the app compiled on NT wouldn't work on 95. I don't remember the Kernel32 error though.
I've had the same problem with NT4. It was because the user have no right the DLL. It can be solved in two way : use the system right in your program or modify the rights of the file.
Edited text of question
well, if the problem actually lies in not-associating that file with the correct extension, why don't you detect the system you're running on (nt/9x) and add it programmatically?

maybe it would be easier to decide what the right solution could be, if you posted some code here...

regs,
Black Death.
ASKER CERTIFIED SOLUTION
Avatar of rwilson032697
rwilson032697

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial