From: Steven Edwards
I understand that msvcp60 is quite massive but would it be
possible to stub it out enough to make the Mozilla Control
installer happy? Do you have any idea how much functions it
imports and if this could be implemented on top of msvcrt?
Way ahead of you :-) I already looked at this, mozctl.dll only imports 4
functions from msvcp60.dll:
char const `char const * std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
::_Nullstr(void)'::`2'::_C
void std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Tidy(bool)
class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::assign(char const
*,unsigned int)
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::~basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(void)
so basically some STL string functions. I tried stubbing them out, but
unfortunately they are being called, so stubbing is not enough, an
implementation would have to be provided.
Perhaps it would be easier to repackage the installer (with the correct
msvcp60.dll) ourselves, the NullSoft installer script is available in the
firefox source distribution.
GvG