Click here to Skip to main content
13,201,452 members (70,213 online)
Rate this:
Please Sign up or sign in to vote.
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[^]
Any clue?
One information: I am building this in VS2012 (v110 compiler)
Posted 10-May-13 20:38pm
Updated 10-May-13 21:22pm
Rate this: bad
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[^]

This is the useful link to read....

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The documentation[^] states:
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).
bubaidada 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.
bubaidada 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;
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).
bubaidada 11-May-13 9:20am
MY xp was just SP installed....

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 |
Web02 | 2.8.171020.1 | Last Updated 12 May 2013
Copyright © CodeProject, 1999-2017
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