Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
 
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.,
 
Thanks,
Sajith
Posted 23-Jan-13 23:43pm
Rate this: bad
good
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_WINDOWS=0x0500
WINVER=0x0500
_WIN32_WINNT=0x0500// this is probably the one you need
NTDDI_VERSION=0x05000100
 
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.
  Permalink  
Rate this: bad
good
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.
 
-Sajith
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 250
1 Jochen Arndt 155
2 PIEBALDconsult 150
3 DamithSL 125
4 Afzaal Ahmad Zeeshan 120
0 OriginalGriff 5,695
1 DamithSL 4,591
2 Maciej Los 4,012
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2014
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