Click here to Skip to main content
11,812,712 members (73,279 online)
Rate this: bad
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
0 Abhinav S 205
1 CHill60 180
2 KrunalRohit 169
3 Palash Mondal_ 140
0 OriginalGriff 3,877
1 KrunalRohit 2,496
2 CPallini 2,240
3 Maciej Los 2,205
4 ppolymorphe 1,750

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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