Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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:
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
CPallini19-Mar-08 23:17
mveCPallini19-Mar-08 23:17 
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
Capitanevs20-Mar-08 23:33
Capitanevs20-Mar-08 23:33 
GeneralYou're welcolme. Pin
CPallini20-Mar-08 23:48
mveCPallini20-Mar-08 23:48 
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
Michael Dunn20-Mar-08 12:59
sitebuilderMichael Dunn20-Mar-08 12:59 
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
Capitanevs20-Mar-08 23:12
Capitanevs20-Mar-08 23:12 
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
CPallini20-Mar-08 23:50
mveCPallini20-Mar-08 23:50 
GeneralLibrary to import .AI .CDR Pin
software@elitron.com19-Mar-08 7:22
software@elitron.com19-Mar-08 7:22 
GeneralRe: Library to import .AI .CDR Pin
Mark Salsbery19-Mar-08 11:43
Mark Salsbery19-Mar-08 11:43 
GeneralRe: Library to import .AI .CDR Pin
software@elitron.com19-Mar-08 21:50
software@elitron.com19-Mar-08 21:50 
GeneralRe: Library to import .AI .CDR Pin
Mark Salsbery20-Mar-08 5:24
Mark Salsbery20-Mar-08 5:24 
GeneralRe: Library to import .AI .CDR Pin
software@elitron.com20-Mar-08 5:48
software@elitron.com20-Mar-08 5:48 
GeneralRe: Library to import .AI .CDR Pin
Mark Salsbery20-Mar-08 5:52
Mark Salsbery20-Mar-08 5:52 
GeneralRe: Library to import .AI .CDR Pin
software@elitron.com20-Mar-08 6:20
software@elitron.com20-Mar-08 6:20 
GeneralRe: Library to import .AI .CDR Pin
software@elitron.com6-May-08 20:53
software@elitron.com6-May-08 20:53 
Questionsplit string - better way? Pin
Tara1419-Mar-08 5:26
Tara1419-Mar-08 5:26 
AnswerRe: split string - better way? Pin
CPallini19-Mar-08 5:44
mveCPallini19-Mar-08 5:44 
GeneralRe: split string - better way? Pin
Tara1419-Mar-08 5:48
Tara1419-Mar-08 5:48 

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.