Click here to Skip to main content
15,909,953 members
Home / Discussions / C#
   

C#

 
GeneralRe: Use lib-file in C#.NET Pin
Aryadip14-May-04 1:20
Aryadip14-May-04 1:20 
GeneralRe: Use lib-file in C#.NET Pin
Nilfunck14-May-04 2:10
Nilfunck14-May-04 2:10 
GeneralRe: Use lib-file in C#.NET Pin
sreejith ss nair14-May-04 2:05
sreejith ss nair14-May-04 2:05 
GeneralRe: Use lib-file in C#.NET Pin
Nilfunck14-May-04 2:14
Nilfunck14-May-04 2:14 
GeneralRe: Use lib-file in C#.NET Pin
Heath Stewart14-May-04 2:52
protectorHeath Stewart14-May-04 2:52 
GeneralRe: Use lib-file in C#.NET Pin
Heath Stewart14-May-04 2:52
protectorHeath Stewart14-May-04 2:52 
GeneralRe: Use lib-file in C#.NET Pin
Nilfunck14-May-04 3:56
Nilfunck14-May-04 3:56 
GeneralRe: Use lib-file in C#.NET Pin
Heath Stewart14-May-04 4:01
protectorHeath Stewart14-May-04 4:01 
Like I said, C/C++ use .lib files to link when you're compiling and linking your source. This resolves exports, their relative addresses, and maps them into your code. When executed, your app or library actually binds against the DLL. The .libs are only used during linking and only work in C/C++.

.NET is managed environment, managed by the Common Language Runtime. There is no such linking (at least, not in that way). They are two completely different environments.

I suggest you read-up on .NET at http://msdn.microsoft.com/netframework[^] and get an overview of what actually happens.

If you want more specific information on P/Invoke, see Consuming Unmanaged DLL Functions[^] in the .NET Framework SDK.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Use lib-file in C#.NET Pin
Nilfunck16-May-04 20:37
Nilfunck16-May-04 20:37 
GeneralRe: Use lib-file in C#.NET Pin
Heath Stewart14-May-04 2:53
protectorHeath Stewart14-May-04 2:53 
Generalhelp about print Pin
ggl16513-May-04 23:31
ggl16513-May-04 23:31 
GeneralRe: help about print Pin
Heath Stewart14-May-04 2:48
protectorHeath Stewart14-May-04 2:48 
GeneralRe: help about print Pin
ggl16518-May-04 0:01
ggl16518-May-04 0:01 
GeneralRe: help about print Pin
Heath Stewart18-May-04 3:38
protectorHeath Stewart18-May-04 3:38 
Generalredg DataGrid Pin
karteek13-May-04 18:33
karteek13-May-04 18:33 
GeneralRe: redg DataGrid Pin
sreejith ss nair14-May-04 1:05
sreejith ss nair14-May-04 1:05 
GeneralRe: redg DataGrid Pin
karteek14-May-04 3:25
karteek14-May-04 3:25 
GeneralRe: redg DataGrid Pin
Heath Stewart14-May-04 2:44
protectorHeath Stewart14-May-04 2:44 
QuestionHow do I: Split an .AVI file? Pin
Tony Archer13-May-04 18:06
Tony Archer13-May-04 18:06 
AnswerRe: How do I: Split an .AVI file? Pin
Uwe Keim13-May-04 20:32
sitebuilderUwe Keim13-May-04 20:32 
AnswerRe: How do I: Split an .AVI file? Pin
Heath Stewart14-May-04 2:46
protectorHeath Stewart14-May-04 2:46 
GeneralRe: How do I: Split an .AVI file? Pin
Tony Archer14-May-04 6:37
Tony Archer14-May-04 6:37 
GeneralRe: How do I: Split an .AVI file? Pin
Tony Archer14-May-04 18:44
Tony Archer14-May-04 18:44 
GeneralRe: How do I: Split an .AVI file? Pin
Heath Stewart16-May-04 11:13
protectorHeath Stewart16-May-04 11:13 
GeneralString vs string Pin
triton63013-May-04 18:04
triton63013-May-04 18:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.