473,464 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Adding reference of com dll both in C# dll and C# exe

1 New Member
Hi

I have created a COM dll (C++) and added as a reference to C# dll. This C# dll is added as a reference in C# exe.

When I try to access a structure(which is defined in C++ com dll) from C# exe, I'm getting type or namespace not found error.

Should I need to add com dll as reference in C# exe also ?

Thanks
Inmar
Dec 12 '11 #1
0 1168

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: viktor9990 | last post by:
I'm getting this error while trying to build my project although I have added a reference to PowerPoint which is installed on my machine. How to solve this problem? thanks. The error is: The...
0
by: misc | last post by:
To allow users to access different version of Word in c#, you can either use late binding, which is very hard to implement in c#, or make use of the earliest Word Object Library, ie. OLB 9.0 for...
0
by: Elmo Watson | last post by:
OK - I use inline coding - - however I find myself, now, needing to add a reference to AdoDb (don't ask - - boss's directive) I've added a reference in and looked at VS.Net, and, I see, in the...
1
by: Bahman | last post by:
Hello! I need to add a reference to a DLL on a code page. I cannot install the dll on the machine. Neither can I reference it in the web config file, neither do I use VS or have a project...
5
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. ...
2
by: archana | last post by:
Hi all, I want to add reference of two dlls which have two different version and two different public key and i want to insert reference of both dll in my application. How could i do this. ...
6
by: Michael | last post by:
I'm going to study OpenGL, but I'm not having the best of luck starting off... I use Windows 2000, so I already have the OpenGL32.dll, but when I try to add it as a reference I get an error...
7
by: Annie | last post by:
hello guys, Let is say I have two layers: the GUI web application that has the master page and web forms. and the DAL - Data access layer which is another web application and has been created...
1
by: vinodkreddy1 | last post by:
hi good morning every body... i have a problem in adding Reference of any dll to asp.net 2005. i am trying to add dlls reference to asp.net application. but they r not adding to the reference...
2
by: Tham | last post by:
Hi I have written an assembly using the Class library template. I compiled a release version and registered in the GAC using gacutil. However when I want to add a reference in an application,...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.