Compiling for a standalone app

  • Thread starter Thread starter TGF
  • Start date Start date
T

TGF

Hello,

How do you build a *.exe app without having to depend on other dll's such as
'mscoree.dll', etc... I have an application I want to build, but I want to
make sure that any needed dll's are compiled into the *.exe file itself.
 
How do you build a *.exe app without having to depend on other dll's such as
'mscoree.dll', etc.

For a .Net application you can't.

You could create a Win32 or MFC application and elect to statically
link the run-time libraries,

Dave
 
How do you build a *.exe app without having to depend on other dll's such
as
'mscoree.dll', etc... I have an application I want to build, but I want to
make sure that any needed dll's are compiled into the *.exe file itself.
If you use any "managed" code or activate the compiler directive then you
need mscoree.dll since that is part of the managed code (aka .NET code)
But you can compile conventional .exe code too, just disable any compiler
directive that expects managed code and do not use .NET specific dll's or
lib files.

..
 
Back
Top