Hey guys,

I've got a fairly simple script which I'd like to convert (if possible) into a Windows DLL so that I may use it in conjunction with some of my .net projects.

Is such a feat possible, if so where do I begin? I've read that there's a book by Mark Hammond that explains it quite well - I unfortunately don't have aceess to the book and was wondering whether anyone has any useful information pertaining to the subject.

Thanks,
Lum1n0us.

To do this you will have to adapt your code to a modified Python called Cython or Pyrex. See:
http://wiki.cython.org/

For smaller projects you can also look into the Boo language that uses Python like syntax and connects to the .NET C# compiler. For an example of the Boo language see:
http://www.daniweb.com/code/snippet429.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.