How can i run a DLL?

BlitzMax Forums/BlitzMax Beginners Area/How can i run a DLL?

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.

You dont need the source to the dll ( if thats what u mean ? ). im using a 3rd party dll ( freeimage ). u just make function pointers in your own c file .. setup like in my example above. then make a C function that calls the Function Pointer . then import your c file into bmax and call your C function from bmx ( that calls the function thru the pointers that call the dll functions )