When I compile the release version of my application, it depends on MSVCP80.DLL and MSVCR80.DLL. Unfortunately this prevents the application from being run on a computer, where these runtimes aren't installed.
How can I remove these dependencies? Any way to statically link to MSVCP80.DLL and MSVCR80.DLL?
I assume there is some linker switch that does this and I've overlooked it?
Many thanks in advance and best regards
<code>__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
(doesn't work on NT)
I need to run exe file from MFC app wich accepts data thru stdin.
How to pass that data to it and get its results from stdout. I've seen this link but it only handles reading results.
I want to write numbers to stdin and read them from stdout after console is executed. This code on the link works with pipes, and I've implemented it for running a process and reading its output.
But when to write to stdinput pipe before or after createprocess() function?
It's a very unusual question. But i can be wrong. Don't panic to link all the default .lib's. There is no more code as you use (DevStudio does so). But further you can remove all .lib's and bind only libs you want. Sample:
#pragma comment ( lib, "XYZ" ) // thats what i do
M$ itselves has prepared a .csv file to examine what .lib you need. You can find it at:
oder <xyz>\Microsoft Visual Studio\VC98\Lib\WIN32API.CSV
and so on.
The debug info of crt*.obj or -.lib is sometimes not included to the debug database or the compiler can't find them. The reason can be a manually installation of DevStudio or installation to another path than the default path. Therefore you have to tell the compiler where the source code file resides.