Click here to Skip to main content
15,910,787 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker errors while integration, plz help Pin
Cedric Moonen19-Mar-08 22:57
Cedric Moonen19-Mar-08 22:57 
GeneralRe: Linker errors while integration, plz help Pin
Paresh Chitte20-Mar-08 2:34
Paresh Chitte20-Mar-08 2:34 
GeneralRe: Linker errors while integration, plz help Pin
David Crow20-Mar-08 3:18
David Crow20-Mar-08 3:18 
Questionplz tell me how fd_write code i needed Pin
priya_chauhan0919-Mar-08 19:43
priya_chauhan0919-Mar-08 19:43 
AnswerRe: plz tell me how fd_write code i needed Pin
Rajesh R Subramanian19-Mar-08 21:46
professionalRajesh R Subramanian19-Mar-08 21:46 
GeneralRe: plz tell me how fd_write code i needed Pin
mirtu19-Mar-08 23:17
mirtu19-Mar-08 23:17 
GeneralRe: plz tell me how fd_write code i needed Pin
mirtu19-Mar-08 23:20
mirtu19-Mar-08 23:20 
GeneralRe: plz tell me how fd_write code i needed Pin
Rajesh R Subramanian19-Mar-08 23:31
professionalRajesh R Subramanian19-Mar-08 23:31 
GeneralRe: plz tell me how fd_write code i needed Pin
Michael Dunn20-Mar-08 12:48
sitebuilderMichael Dunn20-Mar-08 12:48 
GeneralRe: plz tell me how fd_write code i needed Pin
mirtu19-Mar-08 22:08
mirtu19-Mar-08 22:08 
AnswerRe: plz tell me how fd_write code i needed Pin
Himanshu Joshi20-Mar-08 0:14
Himanshu Joshi20-Mar-08 0:14 
GeneralMeta file problem Pin
g_sandipan19-Mar-08 19:20
g_sandipan19-Mar-08 19:20 
QuestionRe: Meta file problem Pin
David Crow20-Mar-08 3:21
David Crow20-Mar-08 3:21 
GeneralAbout WideCharToMultiByte Pin
vikramlinux19-Mar-08 18:30
vikramlinux19-Mar-08 18:30 
GeneralRe: About WideCharToMultiByte Pin
vikramlinux19-Mar-08 19:27
vikramlinux19-Mar-08 19:27 
QuestionRe: About WideCharToMultiByte Pin
MANISH RASTOGI19-Mar-08 19:43
MANISH RASTOGI19-Mar-08 19:43 
GeneralRe: About WideCharToMultiByte Pin
vikramlinux19-Mar-08 20:21
vikramlinux19-Mar-08 20:21 
GeneralRe: About WideCharToMultiByte Pin
MANISH RASTOGI19-Mar-08 20:32
MANISH RASTOGI19-Mar-08 20:32 
GeneralRe: About WideCharToMultiByte Pin
vikramlinux19-Mar-08 20:39
vikramlinux19-Mar-08 20:39 
QuestionRe: About WideCharToMultiByte Pin
CPallini19-Mar-08 22:48
mveCPallini19-Mar-08 22:48 
GeneralRe: About WideCharToMultiByte Pin
vikramlinux19-Mar-08 23:02
vikramlinux19-Mar-08 23:02 
QuestionHow to use TabbedTextOut? Pin
crossie19-Mar-08 18:27
crossie19-Mar-08 18:27 
QuestionRe: How to use TabbedTextOut? Pin
David Crow20-Mar-08 3:31
David Crow20-Mar-08 3:31 
GeneralRe: How to use TabbedTextOut? Pin
crossie20-Mar-08 17:05
crossie20-Mar-08 17:05 
GeneralVC++ 2008-built-EXE dependencies on Runtime DLLs Pin
Capitanevs19-Mar-08 12:52
Capitanevs19-Mar-08 12:52 
Hello boys.

I discovered a thing that leaves me upset...

I compiled a C-"Hello World" and a C++"Hello world" using MS VC++ 2008 Express edition default release settings and
I noticed that, inspecting files with "Dependencies Walker",
both of them depend on some kind of "Runtime Libraries".
They are MSVC90R.DLL for pure C EXE and MSVC90R.DLL plus
MSCVP90DLL for C++ EXE.

I compiled the same sources with gcc/g++ compilers and, of course, there are no dependencies on external DLL.

I compiled the sourcers with my old VC++ compiler (Visual Studio 6, professional edition) and, again, I found
no dependencies on external DLL.

So

1) Why Ms decided to make EXE files DLL-dependent as default setting? Shouldn't C/C++ produce an executable the
most library-free as it can?

2) How can I avoid this? As I expect I CAN produce an executable which doesn't need VC2008 runtime libraries...can't I?

TNX!Rose | [Rose]

Suspicious | :suss:
[note: there is a similar post in VB forum, too, but now my "VB-thread" has changed to a "VC++-Thread", and so I duplicate this unique question here, too.]Suspicious | :suss:

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.