DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Wrong dll called because InprocServer32 data in registry

  1. #1
    Join Date
    Feb 2009

    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 ...

  2. #2
    Join Date
    Feb 2009
    Ok, nobody seems to be familiar with this.

    I actually got an answer from a microsoft forum. If you are interested, check this thread:


  3. #3
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Thanks for coming back and posting your solution. It could help others.

Similar Threads

  1. Data Service 2.0.0
    By zw_sea in forum Java
    Replies: 0
    Last Post: 05-28-2007, 01:23 AM
  2. Save Image to Field
    By Chicho in forum VB Classic
    Replies: 11
    Last Post: 10-01-2003, 12:00 AM
  3. Replies: 0
    Last Post: 04-12-2002, 09:39 AM
  4. Replies: 1
    Last Post: 03-07-2001, 09:37 AM
  5. use of global multiuse
    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
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center