RE: Static DLLs in Project

From: Russ Keldorph [MS] (russellk_at_online.microsoft.com)
Date: 02/26/04


Date: Thu, 26 Feb 2004 19:48:03 GMT

The Visual Studio notion of linking statically just means you link
statically to the C Runtime. You still need system DLLs (KERNEL32, USER32,
etc) to be dynamically loaded in order to make system calls. In CE, the C
Runtime and most of the supported Win32 API are in COREDLL, so you might as
well link to that and be done with it.

There is a static version of the C Runtime call FULLLIBC.LIB, but that is
not available in SDKs. Only OEMs can use it. Again, though, even an
application that links to a static C Runtime would still have to use
COREDLL to do system calls.

-- 
Russ Keldorph
russellk@online.microsoft.com (Remove the 'online.' from my address to 
reach me.)
This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"
--------------------
> From: "Paul Klein" <nixda@noprovider.de>
> Subject: Static DLLs in Project
> Date: Thu, 26 Feb 2004 10:05:04 +0100
> Lines: 9
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
> Message-ID: <eZ#DheE$DHA.268@TK2MSFTNGP10.phx.gbl>
> Newsgroups: microsoft.public.windowsce.platbuilder
> NNTP-Posting-Host: 193.22.100.76
> Path: 
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
phx.gbl!TK2MSFTNGP10.phx.gbl
> Xref: cpmsftngxa06.phx.gbl microsoft.public.windowsce.platbuilder:46316
> X-Tomcat-NG: microsoft.public.windowsce.platbuilder
> 
> Hello,
> 
> is it possibly to use static dlls (like the Visual Studio) with Win CE??
> 
> I want to generate a program that need no dlls.
> 
> 
> 
> 
> 


Relevant Pages

  • Re: side-by_side error on Vista
    ... Platform SDK Jan 2006 ... I'm compiling an application on an XP machine and testing it on Vista. ... I tried just copying the newer DLLs to the app's startup directory, ... look in the directory where Visual Studio is installed for the file redist.txt which will tell you what files you are allowed to redistribute with your application. ...
    (microsoft.public.win32.programmer.ui)
  • Re: DLL Troubles
    ... Managed C++ DLLs don't work yet (as of Visual Studio 2003). ... > missing an assembly reference. ... > compiled first, and in the case of my C# DLL projects, everything works ...
    (microsoft.public.dotnet.languages.vc)
  • Re: VS 2005 and Manifest for runtime dlls
    ... My problem was that I wasn't sure if I need to deploy the dlls and ... would I need also the manifest from that directory. ... For me it turned out that I was including a third party dll that didn't have ... I'm having some problems with Visual Studio 2005 and even though I read ...
    (microsoft.public.vsnet.general)
  • regsvr32 error code 0x80004002
    ... Usually Visual Studio 2005 would register the DLLs during building. ... Well I didn't try Windows Update today, I'm trying to register one of my own DLLs that only uses ATL80 and CRT80. ...
    (microsoft.public.vc.mfc)
  • The symbol myModule.pdb does not match the module even known chkmatch says it does!
    ... I'm using Vista 64 bit with visual studio 2005 on a 32 bit debug program with native C++ dlls and .NET executables dlls using DllImports. ... I'm trying to use a minidump of that program. ... I guess that's why the call stack seems to be correctly displayed in the native code and not in the managed code. ...
    (microsoft.public.vsnet.debugging)