Click here to Skip to main content
11,637,662 members (71,283 online)
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 20:38pm
iDebD842
Edited 10-May-13 21: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 Sergey Alexandrovich Kryukov 344
1 OriginalGriff 295
2 stibee 288
3 jyo.net 270
4 himanshu agarwal 189
0 OriginalGriff 9,031
1 Sergey Alexandrovich Kryukov 8,763
2 Mika Wendelius 6,999
3 F-ES Sitecore 2,388
4 Suvendu Shekhar Giri 2,320


Advertise | Privacy | Mobile
Web02 | 2.8.150728.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