Pelles C > Bug reports

WIN7: InitializeContext KERNEL32.DLL error

(1/3) > >>

jurgenve:
Got an error "Entry Point Not Found: the procedure entry point InitializeContext could not be located in the dynamic link library KERNEL32.DLL

-have already run  sfc /scannow, no faults detected.
-deinstalled correctly and installed again, same result.
-other software I have has no problem at all.
-computer has pretty clean history regarding software and its use, have MATLAB, AutoCAD running without any issue.
-have no WIN7 update, to be honest, think that is a load of crap.
-used to install previous Pelles C version, without problems, updated one seems to give issues.
-hard disk is SSD, if that is of any issue.
-do not use Internet on these workstation, like I said want to keep system clean as possible.

Possible to get my hands on older Pelles C revision?
Use x86 64 bit OS.

Thanks in advance.

Kind regards.

Vortex:
Hi jurgenve,

Welcome to Pelles C forum.

Reading your message, I didn't see any information related to the service pack level of your Windows 7 installation :

https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-initializecontext


--- Code: ---Requirements
 
Minimum supported client Windows 7 with SP1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 with SP1 [desktop apps | UWP apps]
--- End code ---

Maybe, you need to update your OS as you told : no WIN7 update

John Z:
Hi jurgenve,

Welcome to the forum. 

I have a win 7 system that has been running PellesC version 9.
I just installed Pelles C v12.002 - it runs with no problem.
Installed fine, compiled test program, ran test program.
No error messages everything OK.  So it seems you do have
some system issue.

Details of my WIN 7 system:
Windows 7 Home Premium, with service pack 1 (build 7601)
64 bit OS
Intel Core(TM)2 Duo CPU T6600 @2.2Ghz

John Z

Vortex:
Hi jurgenve,

After executing the command prompt, try to check if your kernel32.dll exports the API function :


--- Code: ---D:\>cd PellesC\Bin

D:\PellesC\Bin>podump.exe /EXPORTS C:\Windows\System32\kernel32.dll | findstr InitializeContext
            369   368  000000018003BCA0  InitializeContext
            36A   369  000000018003BC80  InitializeContext2
--- End code ---

Pelle's podump tool can list the functions exported by a DLL.

Kobold:

--- Quote from: jurgenve on August 09, 2023, 08:36:47 PM ---Possible to get my hands on older Pelles C revision?

--- End quote ---

I just found out you can download previous versions here:
9.0: http://www.smorgasbordet.com/pellesc/900/setup.exe
10.0: http://www.smorgasbordet.com/pellesc/1000/setup.exe
11.0: http://www.smorgasbordet.com/pellesc/1100/setup.exe

However, I'm still running Win7 Ultimate 64bit, fully updated (and still receiving updates at least for Windows Defender). Never had that problem you have. I think SP1 is mandatory because Win7, like every new Windows version, was a buggy mess when it got released.

Navigation

[0] Message Index

[#] Next page

Go to full version