Solved

How to change dll identities... for c++ and activeX ocx

Posted on 2010-09-16
3
577 Views
Last Modified: 2012-08-13
Hi gurus i have a situation need some advices.

I purchase source code from a vendor A, a component C++ dll. I use this dll in my Winform application.
It turn out, there is application similar to mine build by vendor B is out there... but the dll vendor B purchase from the same vendor A is much older and customized...

Here is the problem...
Some times client trial my application and also application from vendor B... there is a dll conflict... because we use all same namespace and gac etc...

I contacted to Vendor A, they recommended to register dll everytime client start my application... bad idea because the dll then will not work on the application from vendor B correctly (although might work or not).

Since i have source code...
I want to ask you guys... how do I do some minimal modification on the dll ... and so i can forget all the trouble with vender that using same dll altogether...

1) I want to change something in C++ dll  (some find and replace)
2) I also want to find and replace in (winform)
with out find and replace will be extreme difficult as it a big project.

0
Comment
Question by:JSW21
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
gsiric earned 100 total points
ID: 33698953
if you have source code then you can change global unique identifiers (GUIDs or uuid-s) on interfaces and recompile  then everyting will work.

GUIDs are usualy defined somewhere in .idl files and they looks like:
uuid(D9D998DE-E264-11D5-9DDD-000103341F3C)


      
0
 

Assisted Solution

by:JSW21
JSW21 earned 0 total points
ID: 33734744
Hi this code is in C++
I could not find uuid on the vs2008 set up.
Thank you
0
 

Assisted Solution

by:JSW21
JSW21 earned 0 total points
ID: 33851272
From what i have researched, the name of dll has to be changes.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get Client IP on RDS - VB.NET 15 44
Alert on Server memory 2 19
Database Connections Not being returned to Connection Pool 7 24
vb.net 1 month apart 11 25
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

806 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