Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 10-May-13 21:22pm
v4

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
 
Share this answer
 
v2
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).
 
Share this answer
 
Comments
iDebD 11-May-13 3:07am    
In my code there is no : EncodePointer
CPallini 11-May-13 5:24am    
So it is in the code you call.
iDebD 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 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).
iDebD 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900