newbie question...

  • Thread starter Thread starter ShipHead
  • Start date Start date
S

ShipHead

#using <mscorlib.dll>

What is this actually doing in my code?
Is this like including mscorlib.h and linking with mscorlib.lib?
 
ShipHead said:
#using <mscorlib.dll>

What is this actually doing in my code?
Is this like including mscorlib.h and linking with mscorlib.lib?

Its doing absolutly nothing, infact its a syntax error, ;).

Actually, thats managed C++, not C#, and you should pose your question
there.
 
Daniel O'Connell said:
Its doing absolutly nothing, infact its a syntax error, ;).

Actually, thats managed C++, not C#, and you should pose your question
there.
Sorry couldn't find a microsoft managed c++ group..
 
ShipHead said:
#using <mscorlib.dll>

What is this actually doing in my code?
Is this like including mscorlib.h and linking with mscorlib.lib?

It's closer to including mscorlib.h. The DLL will later be accessed as
a DLL, and not linked directly into the EXE.
 
Daniel O'Connell said:
Its doing absolutly nothing, infact its a syntax error, ;).

Actually, thats managed C++, not C#, and you should pose your question
there.

Err, that is, the managed C++ newsgroup:
microsoft.public.dotnet.langauges.vc
 
#using said:
What is this actually doing in my code?
Is this like including mscorlib.h and linking with mscorlib.lib?

In C++, this is Statically linking to mscorlib.dll (needed for using .NET
framework and managed code)
In C# you should delete this line because it is not part of the C# syntax.

My guess is that you somehow have taken C++ code example and ported it to
C#.
 
I am sure you mean that this code is in C++.

mscorlib.dll is the assembly that provides for references to value
types, collections etc.

with regards,


J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top