Click here to Skip to main content
11,708,312 members (73,757 online)
Rate this: bad
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[^]
Any clue?
One information: I am building this in VS2012 (v110 compiler)
Posted 10-May-13 20:38pm
Edited 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 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;
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 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 Maciej Los 245
1 Sergey Alexandrovich Kryukov 189
2 Mika Wendelius 180
3 Peter Leow 130
4 OriginalGriff 103
0 OriginalGriff 9,253
1 Sergey Alexandrovich Kryukov 8,562
2 CPallini 5,189
3 Maciej Los 4,966
4 Mika Wendelius 3,856

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