Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Thu, 26 Jun 2008 16:24:29 -0700,    group: microsoft.public.dotnet.framework.interop        back       


COM Versioning Challenges   
I'm calling a COM typelibrary from my C# application. That COM library was 
updated for Vista, SP1 and now includes some new interfaces, in addition to 
the old ones. When I reference the types in my application, I don't have any 
version specific references. However, somewhere in there, the v2 interfaces 
are being referenced because when I run the app from a downlevel client with 
the original version of the libraries, I get unknown interface errors that 
indicate its trying to access the v2 interfaces. Is there something basic 
that I'm missing in how this is supposed to work that will allow me to avoid 
having two different versions of the app for the different library versions?

Thanks

darren


-- 
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy

*******************************
Secure and configure your Windows desktops accurately every time without 
having to learn or install new technology.
Find out more about Desktop Policy Manager at 
http://www.sdmsoftware.com/desktop_management
*******************************
date: Thu, 26 Jun 2008 16:24:29 -0700   author:   Darren Mar-Elia

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us