Solved

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

Posted on 2008-10-26
2
629 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:MadShiva
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get a Perl script to return content from a module 7 83
Perl Frameworks 1 107
Event ID: 5719 / Source: NETLOGON 9 162
Perl: How to add backslashes to every period in a string 1 49
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

740 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