Hi,
I managed to compile a C++ MFC DLL and ran it with C# using DLLimport
to check if the method are giving the correct value and its working
fine.
However I want to register it using regsvr32 and it gives me an error
"DllRegisterServer in c:\MyDll.dll failed. Return code was 0x80040200".
I searched the net but found nothing about this error concerning dlls
:(.
Can anyone help me about this problem?
Any help appreciated
Thanks
Willy Denoyette [MVP] - 15 Dec 2005 16:39 GMT
> Hi,
>
[quoted text clipped - 11 lines]
> Any help appreciated
> Thanks
Guess your DLL is a non COM server DLL, so you can't register it using
regsvr32.
Willy.
Stephen MacKenzie - 15 Dec 2005 23:00 GMT
Could be one of the following:
DIERR_INSUFFICIENTPRIVS dinput.h
MAPI_E_END_OF_SESSION mapicode.h
TF_E_INVALIDPOS msctf.h
TS_E_INVALIDPOS textstor.h
UPNP_E_ROOT_ELEMENT_EXPECTED upnp.h
VFW_E_INVALIDMEDIATYPE vfwmsgs.h

Signature
Stephen MacKenzie
Microsoft Visual C++
> Hi,
>
[quoted text clipped - 11 lines]
> Any help appreciated
> Thanks