*
* *
*
scene.org
Log in:
login for 1 year
No account? register here

Scene.org is hosted and supported by:
Scene.org is sponsored by:
* forum - #coders

*
Topic:  MS VCpp 7.1 and CRT [ msvcrt.lib -> msvcr71.dll ]
* Posted by XpS Saturday 22 October 2005 - 22:42 
According to MS' new ideas 'programs MUST NOT use windows msvcrt.dll and ANY program should use && redistribute msvcr71.dll'. But this libruary weights about 300k so no 64k intros avaliable in MS VC++ 7.1? Only if i'll write all the functions from CRT Lib by my own hands / steal from original CRT source? Is there some solution for this problem? MS VC++ 6.0 uses std Win::msvcrt.dll and there is no problem, but it has some bugs with asm code and etc. And what's this?
Regards, XperienS.

* Posted by auld Wednesday 26 October 2005 - 16:30 
Perhaps LIBCTINY? Its no use for 4k but should be small enough for 64K. I haven't compared whats in MSVCRT to LIBCTINY so this qualifies as a suggestion, not an answer.

http://msdn.microsoft.com/msdnmag/issues/01/01/hood/

* Posted by kusma Wednesday 26 October 2005 - 17:33 
bugs with asm? what kind of bugs?

you can use msvcrt.dll in vc71 aswell, but you have to use the old library from vc6 to link to it. download it here .

* Posted by Neurosurger Wednesday 26 October 2005 - 21:00 
Check WCRT
It's more advanced then LIBCTINY.
However, be warned, that some its functions are much slower then those of msvcrt

* Posted by saida Sunday 26 February 2006 - 20:56 
There is a ugly and highly riscy approach:
Hexedit the compiled exe and change the bytes "msvcrt71.dll 0x00" to "msvcrt.dll 0x00"
Im not sure all functions will work, but it has worked just fine for me.

* Posted by kusma Monday 27 February 2006 - 17:48 
...or you can simply use the correct import-lib instead of hacking the exe afterwards. (see my previous post)

*