473,503 Members | 9,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with namespaces

Please help us with a small problem!

We are working with Microsoft Visual Studio .NET 2005 Beta 2. The project
contains four laiers. The user interface module written in VB.NET, the Web
Services also in VB.NET, another module wtitten on C# and the last module in
C++.NET. We defined Some interfaces in every modules:
In C++ module:
GenName.Server.Logic.Wrapper
In C#
GenName.Server.Logic

When we adding reference to C++ assembly to C# module every things all
right, we can write: using GenName.Server.Logic.Wrapper and it's works well.
But when we adding reference to C# assembly into Web Servise VB.NET module,
first it adds also C++ assembly into references, and from this point we
cannot see name space named GenName.Server.Logic in VB.NET code of Web
Service. But if we manually delete the C++ assembly from bin directory of
VB.NET Web Service, the namespace becomes accessible, but of cause nothing
will works.

What are we doing wrong, or may be we did not declared all required
parameters when created C++ assembly.
In addition, even if we will give different name for namespace in C++
assembly like:
OtherName.Server.Logic, we still would not be able to use this namespace in
Web Service VB.NET assembly.

What is wrong ?

Thanks !
Igor.
Nov 23 '05 #1
0 879

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

Similar topics

5
6349
by: Mike McGavin | last post by:
Hi everyone. I've been trying for several hours now to get minidom to parse namespaces properly from my stream of XML, so that I can use DOM methods such as getElementsByTagNameNS(). For some...
5
4122
by: OJO | last post by:
Hello microsoft.public.dotnet.xml! I need to parse some 'jabber xml' (www.jabber.org). I opted for using System.Xml.XmxDocument. The sample 'jabber xml' goes here: <message...
5
10026
by: Alexis | last post by:
Hello, I have a set of classes I created from schema files using the xsd.exe tool. I'm using namespaces in the clases ( I had to because I have some classes with the same name but not the same...
3
2336
by: Steven Fox | last post by:
============================================================ About DB2 Administration Tools Environment ============================================================ DB2 administration tools level:...
35
395
by: +-={K-SoL}=-+ | last post by:
when I try to reference 2 obfuscated libraries at the same time visual studio gives me a compilation error since the obfuscator has converted some name spaces to a and b in both libraries, now I...
5
2156
by: Steven Wolf | last post by:
hi again, i have several namespacing problems in my big project. my current namespaces in my solution are: b2b.Server.Common b2b.Server.Business b2b.Server.Business.Mapping...
11
1737
by: Random | last post by:
I'm confused about the proper use and usefulness of namespaces. I beleive I understand the purpose is so the developer can put classes within namespaces to essentially organize your code. And I...
5
2419
by: TPJ | last post by:
I have the following code: ----------------------------------- def f(): def g(): a = 'a' # marked line 1 exec 'a = "b"' in globals(), locals() print "g: a =", a
0
2004
by: PSingh | last post by:
Hi, I know this is a frequently asked question but have tried several combinations and cant seem to figure this out. I am serializing my object as follows: XmlSerializer serializer = new...
0
7067
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
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6975
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...
1
4992
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
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
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 ...
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
371
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.