Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WinXP C++
I have wrote a dll which is successfully loaded by my C++ as weell as my Delphi program in WIn7, win 8;
 
But when I am trying to run the same program in XP (No service pack)it is giving error:
 
The Procedure entry point EncodePointer could not be located in the dynamic link library KERNAL32.dll
 

Any one familiar with this error and any one able to solve it;
This is one one helpful linK
http://support.microsoft.com/kb/142606[^]
Any clue?
[Update]
One information: I am building this in VS2012 (v110 compiler)
Thanks
Posted 10-May-13 21:38pm
iDebD842
Edited 10-May-13 22:22pm
v4
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

This is problem with VS2012 compiler which has some issue with XP;Apps build in VS2012 will not run in XP (no idea why, may be Visual Studio 2012 didn't support Window XP as target platform.);
 
Just recompile your apps in vs2010 and it will run well in XP
 
http://blogs.msdn.com/b/vcblog/archive/2012/06/15/10320645.aspx[^]
 
This is the useful link to read....
 
Thanks
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

The documentation[^] states:
Requirements
Minimum supported client
Windows Vista, Windows XP with SP2 [desktop apps | Windows Store apps]
Hence your version of Windows XP does not satisfy such requirements (that is you probably have to update it with, at least, Service Pack 2).
  Permalink  
Comments
bubaidada at 11-May-13 3:07am
   
In my code there is no : EncodePointer
CPallini at 11-May-13 5:24am
   
So it is in the code you call.
bubaidada at 11-May-13 8:54am
   
No no..I have figured out the issue...I have VS2012 installed and I compiled the code with VS2012; Now, there was some issue in VS2012 compiler (Still it has in v110) and the programmed in VS2012 will not run in XP :( Don't know why, but a lot in internet asked to use compiler v100 which comes with VS2010; Now I just Recompiled it with VS2010 and it was running well in XP;
http://blogs.msdn.com/b/vcblog/archive/2012/06/15/10320645.aspx
CPallini at 11-May-13 9:06am
   
Visual Studio 2012 didn't support Window XP as target platform. Now it does (probably you haven't the latest update).
bubaidada at 11-May-13 9:20am
   
MY xp was just basic....no SP installed....

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

  Print Answers RSS
0 BillWoodruff 360
1 Mathew Soji 309
2 Maciej Los 270
3 DamithSL 225
4 Afzaal Ahmad Zeeshan 202
0 OriginalGriff 6,249
1 Sergey Alexandrovich Kryukov 5,853
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 3,865


Advertise | Privacy | Mobile
Web01 | 2.8.1411019.1 | Last Updated 12 May 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