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

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.

JSW21Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gsiricCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JSW21Author Commented:
Hi this code is in C++
I could not find uuid on the vs2008 set up.
Thank you
0
JSW21Author Commented:
From what i have researched, the name of dll has to be changes.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual C++.NET

From novice to tech pro — start learning today.