?
Solved

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

Posted on 2008-10-26
2
Medium Priority
?
636 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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Six Sigma Control Plans

801 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