473,568 Members | 2,905 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.Serve r.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 883

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

Similar topics

5
6358
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 reason, though, it just doesn't seem to want to split the prefixes from the rest of the tags when parsing. The minidom documentation at...
5
4128
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 xmlns='jabber:client' from='chat@server.com/user1' xml:lang='pl' type='groupchat' to='user2@server.com/res'> <body xmlns:xml='http://www.w3.org/XML/1998/namespace'>...
5
10043
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 class ) Here is how a given class wil looks like. <System.Xml.Serialization.XmlRootAttribute(:="mynamespace", IsNullable:=False)> _ Public Class...
3
2341
by: Steven Fox | last post by:
============================================================ About DB2 Administration Tools Environment ============================================================ DB2 administration tools level: Product identifier SQL08015 Level identifier 02060106 Level DB2 v8.1.5.449 Build 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 don't have the source code to the libraries but, is there a way to get around this? I have a thread open at...
5
2165
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 b2b.Server.Business.Entities
11
1747
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 understand that you declare your intention to use a namespace within a page through the "Inherits" attribute. I know that using "Inherits" isn't...
5
2421
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
2021
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 XmlSerializer(data.GetType()); StringWriter writer = new StringWriter(); XmlSerializerNamespaces namespaces = new XmlSerializerNamespaces();...
0
7693
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7917
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
5501
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.