Tech Support > Microsoft Windows > Development Resources > application can run XP pro but not XP home
application can run XP pro but not XP home
Posted by Sue on November 16th, 2007


Hi,

I develop an windows application and it can run on XP pro, but when I
try to run it under XP home, it said" the system can't execute the
specified program". Can anyone tell me what causing it? Thanks.

Posted by Sue on November 17th, 2007


On Nov 16, 3:19 pm, Sue <jean....@gmail.com> wrote:
I found out something more, which is if I build the .exe on the XP
home and then it has no problem running it.

Posted by Scott McPhillips [MVP] on November 17th, 2007


"Sue" <jean.shu@gmail.com> wrote in message
news:87d3c4c3-e5f3-4006-a644-c18ff15799e5@e4g2000hsg.googlegroups.com...
One possibility is that the exe depends on some DLL that you should install
with it. That DLL would be present on the machine that compiled it, but
might not be present on another machine. You can use the Depends tool to
see what DLL's your exe needs.

Did you use the same compiler version when you compiled on XP home? The
machine you compile on should not matter, but the compiler version and SDK
version (for libs) certainly affect what the exe depends on.

--
Scott McPhillips [VC++ MVP]



Similar Posts