473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

dllregisterserver failed 0x80040200

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

Dec 15 '05 #1
1 5958
of****@gmail.com wrote:
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

DllRegisterServer just calls code in your component. You simply need to
debug the registration code to see what is going wrong.

The error code is an interface specific error, so that by itself will
not give you a huge clue.

Ronald Laeremans
Visual C++ team
Dec 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: CLarkou | last post by:
My program in Access 2000 was installed on Windows XP. There was a problem with a form including MSFLXGRD.OCX. User unregistered the OCX with REGSVR32 but when he tried to register it the error...
0
by: Jack Wright | last post by:
Dear All, My webForm calls DllRegisterServer function of TreeView_Pro.dll... But this does not seem to work...it still gives me COM Exception.....
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
2
by: news | last post by:
I just upgraded to PHP 4.4.2 on my Slackware 10.2 system. And Apache/mySQL/PHP all work great through a browser. No errors. But when I try to run a PHP script through the command line, which I...
7
by: Michelangelo | last post by:
Hi All, I hace created a sample user control in Visual Studio .NET (2003); I have been able to compile and use it (add it to a form) in a test standard windows application, but when I try to...
2
by: Dennis | last post by:
I'm getting the following problem occasionally...the application will work perfectly well for a period of time and then this pops up. I have tried turning off the default proxy in the...
6
by: sankarvanaja | last post by:
i tried to register a msvgif.ocx file using the command regsvr32 c:\module\msvgif.ocx it returned an error code dllregisterserver in c:\module\msvgif.ocx failed return code was :0x80040200 ...
11
by: fniles | last post by:
We can not register an ActiveX control on our Vista 32 bit machine. When we do regsvr32 c:\windows\system32\citcp.ocx (this is a 3rd party ActiveX control), we got an error: citcp.ocx was loaded...
15
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am wondering when function DllRegisterServer will be invoked? I am using Visual Studio 2005 to develop an in-process native (unmanaged) C++ COM. I am wondering when it will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.