Solved

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

Posted on 2010-09-16
3
573 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now