Solved

DLL appears to register but object not found in registry after registration

Posted on 2008-10-26
2
634 Views
Last Modified: 2013-11-17
A rather odd experience. Using the latest PDK (v7.3) from ActiveState, I used perlctrl to build a COM DLL. Perlctrl ran without a hitch. OLEView read the typelib okay. RegSvr32 registered it okay. However ... there's no sign of it in registry, and anything that tries to use it fails. I hunted for the various UIDs using RegEdit and they're just not there.

The code is attached. It's a wrapping of Lingua::ZH::WordSegmenter, but with the encoding changed to utf8 rather than gbk.

What am I doing wrong?
ZHWordSeg.ctrl.txt
0
Comment
Question by:axtens
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Expert Comment

by:Tobias
ID: 22831251
Dear,

How do you have registered the dll ?

Like this : regsvr32 ZHWordSeg.dll

Or : ZHWordSeg.dll /regserver

The only information I could find is that someone who had the same problem had clean all and reinstall active perl.

Best Regards
0
 

Accepted Solution

by:
axtens earned 0 total points
ID: 23032184
The only "solution" that I've found was suggested over on news:comp.os.ms-windows.programmer.win32
<http://groups.google.com/group/comp.os.ms-windows.programmer.win32/browse_thread/thread/8674ae1ff9b751e3?q=axtens+regsvr32#d514714d20613f3b>

----
i am not a PDK user but from experience i can tell you, that you should check the DllRegister exports code and what it internally does, since this is what the regsvr32 calls and this code is creating the registry keys for your com server/proxy, etc,...

You can track the registry for changes with sysinternal tools like regmon or procmon, just to make sure!
----

Ultimately, I gave up and went back to a previous version that worked and tweaked it.

So close this question with no points awarded.

Thanks for trying,
Bruce.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question