quote:
Originally posted by Mnjul
lcProcName is an ANSI string (LPCSTR instead of LPCTSTR) so you need to somehow convert your unicode 'DllRegisterServer' string to ANSI first.
Couldn't you write the string to a DataBloc and then use ReadString(0, false) to read it as ANSI?