?
Solved

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

Posted on 2010-09-16
3
Medium Priority
?
584 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
gsiric earned 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

764 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