Click here to Skip to main content
13,589,271 members
Rate this:
Please Sign up or sign in to vote.

I am running OS windows 2000 sp1, when i run my application i am getting the error Heapsetinformation entry point not found in kernel32.dll., MSDN has provided a rollbackup update for windows 2000 sp4, which is not working in my OS [sp1]. Any suggestions on this.,

Posted 23-Jan-13 22:43pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The HeapSetInformation API was introduced in Windows XP as far as I can tell. Your application is being built to target XP or later so its using injected startup code that tries to call HeapSetInformation.
If you can rebuild your application you need to retarget it for Windows 2000. You'll need to set preprocessor defines but which ones depend on exactly what you're doing.
Which Platform SDK are you using? Which Visual Studio version or are you using MinGW?
Anyway for reference you can set some or all of the following.

_WIN32_WINNT=0x0500// this is probably the one you need

These are PreProcessor settings not code so they need to go into your project,IDE or Make file.

By the way Microsoft don't officially support building anything for Windows 2000 anymore so your results are not gaurenteed.
Good luck.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Thanks for your time Matthew..

I updated my Operating System to Windows 2000 SP4, applied the specified roll up package in this link - [^]. Now the application is working fine.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02-2016 | 2.8.180615.1 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100