473,399 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

COMInterop does not work in Framework 1.1 without Framework 1.0


Hi All,

I have installed .NET Framework v.1.1.4322 (with VS .NET 2003) on new
operating system (any Windows version - 98, ME,2000, XP,2003 ).

Thus, the Framework v.1.0.3705 is NOT installed.

In this situation all samples in
"..\FrameworkSDK\v1.1\Samples\Technologies\Interop " do not work.

This is due to all RCW-classes (both installed with framework 1.1 and
generated by tlbimp.exe) have references to mscorlib.dll v 7.3300.0 in
Manifest.

But this version of mscorlib is not shipped with framework 1.1

For example it applies to dlls in
"C:\Program Files\Microsoft.NET\Primary Interop Assemblies" :
adodb.dll Microsoft.mshtml.dll Microsoft.stdformat.dll msdatasrc.dll
msddslmp.dll

Envdte.dll, VS - extensibility does not work too.

Does Microsoft consider that everybody (any customer which uses products on
..NET 1.1) must install .NET Framework v.1.0.3705 to work with COM interop of
Framework v.1.1.4322?

Which way to solve this problem would you propose?

Warm regards,
Anatoly Volodko
All is happening is happening to the best
Jul 19 '05 #1
1 2397
Anatoly,
You can repeat situation very easy.
Unfortunately I can't, since I don't have any machine with only VS.NET
2002 on it.

To adds menu items to enviroment and installer calls C# code from our AddIn:

dte=new DTEClass();

and throw exception:
"COM object with CLSID {3C9CFE1E-389F-4118-9FAD-365385190329} is either not
valid or not registered."

This CLSID is for DTEClass which is registered by VS.NET 2003


Have you verified that the DTE class is properly registered on the
machine? Do you have a key

HKEY_CLASSES_ROOT\CLSID\{3C9CFE1E-389F-4118-9FAD-365385190329}

on your system?

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: me | last post by:
What is the downside of Cominterop? is it good practice? what does it do to memory? Thanks
1
by: Nadav | last post by:
Hi, Introduction: **************** I have created a .NET COM interop Assembly, this assembly references another COM object. The Problem: ***************** To enable registration of the...
0
by: Mário Sobral | last post by:
Hi ! I have developed a .NET library that references another .NET library. MyLibrary -> OtherLibrary I then create a COMInterop wrapper assembly to use it from a VB6 project:
4
by: Ariel Gimenez | last post by:
Hi in my app im working with excel using cominterop when fished my work with excel i execute this code oWB.Close(null,null,null); oXL.Workbooks.Close(); oXL.Quit();...
2
by: Wysiwyg | last post by:
I am using MS Visual Studio 2002 with Windows 2000 Advanced Server and am starting to learn C#. Perhaps this is obvious but I can't see if what's happening is "normal" or if something needs to be...
1
by: Anatoly Volodko | last post by:
Hi All, I have installed .NET Framework v.1.1.4322 (with VS .NET 2003) on new operating system (any Windows version - 98, ME,2000, XP,2003 ). Thus, the Framework v.1.0.3705 is NOT installed....
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
1
by: info | last post by:
Hi I've an C# .NET 2.0 Windows Forms Application which is placed in an DLL. This DLL is instanciated from an non .NET enviroment via ComInterop. This works fine. but I need to put the wohle...
2
by: L Gopi | last post by:
Hi! I have created a com component using framework 1.1. This component will be installed on the users machine. This component will be used by my 2.0 web application. A javascript call is made to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.