PDA

View Full Version : c# for dll



kryton9
31-07-2008, 10:46
I came across this and wondered if it would work for making a dll for thinBasic via C#

http://snippets.dzone.com/posts/show/3861

RobertoBianchi
31-07-2008, 13:01
Kent,

if you want make a managed DLL with C# (class library???) and then use it from ThinBASIC you should before understand the .NET Delegates and InteropServices.

Ciao,
Roberto

Petr Schreiber
31-07-2008, 15:11
I was informed that C# DLLs are special specie, which does not need headers for example. At least colleague on C# project said something like that. But I am afraid it means breaking compatibility to Win32 DLL as a such.

Maybe it is possible, but I presume there are easier ways to produce Win32 DLL than C#.


Petr