Re: multithread dll

Tech-Archive recommends: Speed Up your PC by fixing your registry



Well there are many answers to that question. The simple answer is to use "MT"/static dll option in with VS C++ 2005. It will work fine with a multithreaded program you write. You are basically linking to a static library, which all windows computers have, however other computers do not have the multithreaded dll which you would have to distribute with your application. Compile it with the "MT" option and you will that it will work with no problems on other pc's. You might wanna explain why you have to use the multithreaded dll because from what you have stated I can not see why you can not use the "MT" option.
G


<chibihd@xxxxxxxxxxx> wrote in message news:1174294435.951138.20280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have VS C++ express 2005 SP1.
I have to create a project with multithread dll. It works fine, but
when i try to execute the application on another machine, I have an
error like 'cannot execute this program because of its configuration,
try reinstall' or in command prompt 'cannot execute this program' ( I
have this msg in french ).

It works fine with multithread, but not with multithread dll. Even a
printf program can't launch !?

What can i do to make run my program on another machine than mine ? I
tried to copy the dll msvcr80, etc.. and even created a manifest !

Thank you,

Chibi.


.



Relevant Pages

  • Re: LIBCMTD.lib
    ... I then proceeded to remove the default libraries from the libraries ... every objectfile (and static libs ... I usually switch every new project to multithreaded DLL (debug/release) ...
    (microsoft.public.vc.language)
  • Re: vector< set > problem with dll
    ... >> Win32 dll with the following. ... >> class CRxCustomCode ... > You need to link both modules to the same CRT DLL, ... the Debug Multithreaded DLL, but if I use the Multithreaded DLL, I still get ...
    (microsoft.public.vc.language)
  • VFP8 MTDLL + ASP: no multithreading
    ... I'm calling a multithreaded DLL, made with VFP8, from my ASP pages. ... than a VFP DLL issue... ...
    (microsoft.public.fox.programmer.exchange)
  • Re: vector< set > problem with dll
    ... > the Debug Multithreaded DLL, but if I use the Multithreaded DLL, I still get ... DLL" for debug builds and "Multithreaded DLL" for release builds. ... you will get compiler warnings about this. ...
    (microsoft.public.vc.language)
  • Re: LogonUser / CreateProcessAsUser - Behaves differently from different calling applications
    ... >CreateProcessAsUser to execute the command. ... Calling the DLL from another win32 ... > * This object maintains data for the Authentication and Process ...
    (microsoft.public.win32.programmer.kernel)