Application built using VS2010 does not work in VS-Express2008 - C

Posted by Jamie Keeling on Stack Overflow See other posts from Stack Overflow or by Jamie Keeling
Published on 2010-05-02T18:04:45Z Indexed on 2010/05/02 18:07 UTC
Read the original article Hit count: 267

Hello,

I have wrote an application that consists of two projects in a solution, each project contains only 1 .c source file. I was using Visual Studio 2010 Ultimate but due to the University only supporting 2008 I decided to create a blank solution and copy the source files into the new one.

After creating a new solution in VS2008 express, creating two projects and re-creating and adding the source files to the projects I ran the application.

For some reason only one part of the application does not work, I use CreateProcess() to execute "Project1.exe" from Project 2.

This works fine under vs2010 but for some reason it's not working under VS2008 express, GetLastError() is showing an Error 2: File Not Found.

This is an image showing the same code in both IDE's:

Error Image

I'm not using anything special and I've made sure that both solutions/projects are using .Net 3.5.

I can't work out why it would work for one IDE and not the other.

Any suggestions? Thanks!

© Stack Overflow or respective owner

Related posts about visual-studio-2008-expres

Related posts about visual-studio-2010-ultima