Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP COM & Binary compatibility 1

Status
Not open for further replies.

RushiShroff

Programmer
Jan 23, 2002
216
IN
I just want to ask how binary compatibility matters in COM components used in ASP ?

I mean while developing COM components for my web application in asp, what care should I take about COMPATIBILITY Issue ? Rushi Shroff Rushi@emqube.com
"Life is beautiful."
 
hello ! Rushi Shroff Rushi@emqube.com
"Life is beautiful."
 
hi somebody there !! Rushi Shroff Rushi@emqube.com
"Life is beautiful."
 
As I told you Rushi, in a other thread ASP and DLL binary compatibility don't have to much in common. IF the DLL is corectly registered (and other version corectly unregistered) and corectly added to MTS or COM+ libraries (if the case) you don't need to worry about binary compatibility.

Here is my approach when working with one DLL and ASP.
On development machine I compile each time the DLL without binary compatibility (as I mentioned I'm using only one DLL****)
When I bring it to production, I copy the DLL on the same directory path as in development, register, add to MTS or COM+ and that's it.
When I have to replace it with a new dll first I delete the component from MTS or COM+,then I unregister the DLL, restart the IIS, copy the new DLL over the old one, register it and added to MTS or COM+.

That's it.


**** From my opinion you should be carefully with binary compatibility only when you reference in a dll(#1) another dll(#2).
If you compile #2 without binary compatibility the #1 will not work anymore. So you have to open the project for #1 and compile it again with binary compatibility.

Hope you understand what I worte here :)
 
Thanks for that.

There is something new for you in thread ASP & COM of me. Rushi Shroff Rushi@emqube.com
"Life is beautiful."
 
thread333-248361 Rushi Shroff Rushi@emqube.com
"Life is beautiful."
 
Thanks Rushi.

I experienced a lot of problems on NT Servers regarding DLL and ASP but everthing was only because I didn't register correctly the DLL's or NT was not unregistering the DLL's, I had to restart the whole machine and so on...
With 2000 everything is much better.

Regards,
Durug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top