-
Wrong dll called because InprocServer32 data in registry
I do not know if this is the correct place for this post so if anyone opposes, please let me know.
I have built an installation package using Microsoft Visual Studio 2005 Setup project.
In my application I need to use a COM dll. This dll is copied with the installation and I have added a custom action script to run regsvr32 for this dll. All is fine so far.
The problem arises when I run my program.
The dll in question is OPCDAAuto.dll. When I get the servers for my node, one of the OPC servers has another version of the dll registered and calls this which causes my applikation to crash (because I need the newer version).
When I check the registry I have the CLSID\InprocServer32 key. In there I find the defaul data to point to my newly registered dll ... fine. BUT ... I also have a darwin coded InprocServer32 data which points to the older version of the dll.
If I just remove the InprocServer32 data it works fine.
I want to do it in a clean and correct manner though.
So ... to my question(s):
1. What is the InprocServer32 data (mind you ... not the key)?
2. How do I set up the registry correctly for my dll to be called?
Input and ideas are greatly appreciated ...
-
Ok, nobody seems to be familiar with this.
I actually got an answer from a microsoft forum. If you are interested, check this thread:
http://social.msdn.microsoft.com/For...e-254abe98be5e
Cheers
-
Thanks for coming back and posting your solution. It could help others.
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Similar Threads
-
Replies: 0
Last Post: 05-28-2007, 01:23 AM
-
By Chicho in forum VB Classic
Replies: 11
Last Post: 10-01-2003, 12:00 AM
-
Replies: 0
Last Post: 04-12-2002, 09:39 AM
-
By katz in forum Database
Replies: 1
Last Post: 03-07-2001, 08:37 AM
-
By Randy Baron in forum VB Classic
Replies: 13
Last Post: 07-13-2000, 02:11 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks