OT: Writing a DLL that is not dependet of the .NET Framework with Visual Studio 2003, possible?

  • Thread starter Visual Systems AB \(Martin Arvidsson\)
  • Start date
V

Visual Systems AB \(Martin Arvidsson\)

Hi!

I have this Visual Studio .NET 2003, and i want to write a .DLL in C# that
is not dependent of the
..NET framework. In this DLL i only want to call the standard API functions
for use in a 4GL language
(VisualDataFlex)

Is it possible to write non dependent .NET dll with Visual Studio .NET?

Regards

Martin Arvidsson
 
N

Nicholas Paldino [.NET/C# MVP]

Martin,

This is not possible. You MUST have the runtime installed.

There are some programs out there that claim to be able to package all
of this into one executable, but I don't know how well they work.

However, if all you are doing is making API calls, then you are better
off using C++.

Hope this helps.
 
W

Willy Denoyette [MVP]

No, C# itself (like any other managed language in .NET) needs the framework.
Your only option is C++.

Willy.
 

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

Top