473,324 Members | 1,856 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,324 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 2389
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.