Hello,
I have added the msvcrt.lib (vc express and not masm) in one of my application.
The used of the crt runtime couldn't be perform without a manifest.Without the manifest , the message is "improper used of msvcr80.dll "
I need to generate it with mt.exe and add it to my resource.
Is someone can help me doing that ?
ToutEnMasm,
Did you ever figure out how to do this? I have an example if you would like me to post it.
(Later) I see that you did figure it out here (http://www.masm32.com/board/index.php?topic=7968.msg58440#msg58440). Embedding the manifest does the trick. It's the same situation for MSVCR90.DLL.
Hello,
Thanks for the (later :P) answer.
If you have a sample that can be usefull for everyone,put it here.I have searched a little before finding the one that i needed.
Attached are examples that use msvcr80.dll and msvcr90.dll from a MASM program. Under Windows XP and Windows Vista, if a program uses these C Run-Time Library dlls, a manifest is required for the executable to run. The situation is explained very well here (http://www.codeproject.com/KB/cpp/vcredists_x86.aspx).
[attachment deleted by admin]
Quote from: ToutEnMasmI have searched a little before finding the one that i needed.
:bg Yes, I banged my head against this one for quite some time. I figured it out by looking at what Visual Studio was doing and a lot of trial and error. Microsoft sure hasn't documented this very well.
Hi Greg,
Thanks for the examples and the article. :U
Thank ToutEnMasm for the link to the article.