DLL with LCC-32. Howto....

Blitz3D Forums/Blitz3D Programming/DLL with LCC-32. Howto....

ZJP(Posted 2009) [#1]
I'm looking for an example of a DLL with LCC-32. Someone would have tried?

JP


Adam Novagen(Posted 2009) [#2]
What's LCC-32?


ZJP(Posted 2009) [#3]
A C compiler :-)
http://www.cs.virginia.edu/~lcc-win32/
http://www.q-software-solutions.de/products/lcc-win32/

JP


Gabriel(Posted 2009) [#4]
The LCC Tutorial on the LCC site comes with a short section explaining how to write DLL's. It seems to support __declspec so there shouldn't be any problem. Exactly what's the problem you're having?


ZJP(Posted 2009) [#5]
I thought to find differences with DEVCPP. Not finally. Problems solved. Found a good PDF and this site : http://www.syberden.net/libertybelle/dll.html

Thx.

JP

Edit : Gabriel,have you planned a tv3d wrapper for Blitz3D?


Gabriel(Posted 2009) [#6]
Gabriel,have you planned a tv3d wrapper for Blitz3D?

No. I haven't used Blitz3D in several years. Besides, there are technical limitations which would make some parts impossible to wrap and others problematic. TV3D is object oriented and Blitz3D isn't, so it wouldn't be possible to make it close to the real thing. Also, some TV3D functions require simple pointers (to integers and floats), and Blitz3D doesn't have pointers.


ZJP(Posted 2009) [#7]
Ok. Thx for the reply

JP