Dll in VB

jas123
jas123 used Ask the Experts™
on
Hi,

When I change a dll in Vb and rebuild it, the CLSID changes.

If I have multiple clients accessing the same dll and if the dll functioanlity changes, then how do I amnage the clients.Is there any way by which I can avoid that when a dll functionality changes, the clients need not change.They just require to call the new method of the dll.

Thanks
Regards
Jasmina
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Hi,
  Always make your dll as binary compatible.
Go to Project -> Properties
Select the Component tab
Choose the Version Compatibility as "Binary compatibility"
Select your DLL and place it in the textbox beneath it
Click Ok.

Now compile your DLL. Your Class Id will remain same and your clients can use the same DLL!
Author of the Year 2009

Commented:
Hi jas123,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept ajexpert's comment(s) as an answer.

jas123, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept THIS comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial