Re: _vsnwprintf Entry Point Not Found in Windows 2000
- From: "Arnaud Debaene" <adebaene@xxxxxxxxxxxxxxxx>
- Date: Wed, 12 Oct 2005 22:59:08 +0200
Robert Stankey wrote:
> I have simple little user-mode application compiled under the Windows
> 2003 DDK environment (checked or free) that uses the String-Safe
> handling functions. If I try to run the executable on Windows 2000 I
> get a nasty "entry point not found" message.
>
> Can something tell me if its possible to have an application compiled
> for W2K3 run under W2K without getting the annoy Entry Point message?
> If so I haven't figured out which library to link in.
Well, first of all the DDK is aimed at building drivers, not user-mode apps.
I would use the latest SDK + the free VC comand line compiler to build a
user mode app...
Next, _vsnwprintf is a CRT function, so :
- either you link statically with the CRT (use /ML, /MLd, /MT or MTd
compiler switch) and the function will be in your exe.
- either you link dynamically with the CRT (use /MD or /MDd compiler switch)
and you need to redistribute the CRT with your app (msvcr71.dll and possibly
msvcp71.dll - check with Dependency Walker what your actual dependencies
are).
I disagree with Jochen, in that I would advise to use the 2nd solution as
soon as there are several modules (exe and dlls) in your app : it makes
ressource management accross modules boundaries *much* simplier. Now,
distribution requirements for your app may prevent you from depending on
these DLLs, it's up to you...
Arnaud
MVP - VC
.
- Prev by Date: Re: DEFINE_GUID problem
- Next by Date: Re: Floating point precision problem
- Previous by thread: Re: _vsnwprintf Entry Point Not Found in Windows 2000
- Next by thread: DllMain
- Index(es):
Relevant Pages
|