Using .net .dlls in max?

Miscellaneous Forums/Win32 Discussion/Using .net .dlls in max?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

a .net dll is totally different than a regular PE dll. Not only the structure, but the code. its all really high level bytecodes sorta like java bytecodes. In this way the same binary data can be run on many platforms.

I've been doing alot recently to do with .net low-level stuff.. Anyway, I only know how to do it with mono.

Assuming yourmonodirectory/lib/ is in your path variable:

mono --aot blah.dll

This will convert the dll to being a normal dll. I have never used a dll that has been converted with a non-.net language but I imagine it will be ugly. Perhaps for stuff like ints/longs/floats it'll be ok with parameters, but anything complicated, like say, a string I have no idea how you would manage it.

P.S. this isnt win32 only discussion. .net dlls are cross platform.