Discussion:
No process is on the other end of the pipe??
(too old to reply)
John McDermick
2011-04-06 13:30:43 UTC
Permalink
I have a Windows CE development board. The OS version is WinCE 6.0.

I created a WinCE 5.0 project on my Windows7 computer in Visual
Studio.

When I compile and hit debug I get the message:

"Unable to start program '\NandFlash\programs\test.exe'. No process is
on the other end of the pipe"

I have googled for a solution and verified that the runtime library is
set to Multi-Threaded Debug (/MTd).

Prior to this problem I could not compile the project. I got this
error:

1>Linking...
1>corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external
symbol WinMain referenced in function WinMainCRTStartup
1>C:\......\test.exe : fatal error LNK1120: 1 unresolved externals



So I changed this code:

int main(int argc, char* argv[])
{
return myMain(argc, argv);
}

to this:

int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR
lpCmdLine, int nCmdShow)
{
int argc = 0;
char* argv[1] ;

return myMain(argc, argv);
}

and then it compiled without errors....







Any ideas/suggestions as to how I solve this problem?



Thank you.
John McDermick
2011-04-06 13:33:37 UTC
Permalink
In addition to the above, I just noticed that I get this warning when
I compile:

1>LIBCMTD.lib(gshandler.obj) : warning LNK4099: PDB 'libbmtd.pdb' was
not found with 'C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce
\lib\ARMV4I\LIBCMTD.lib' or at 'c:\..............\libbmtd.pdb';
linking object as if no debug info


Maybe the app won't run on the WinCE device because of this??

Loading...