Import 'c' code and linking DLL's

BlitzMax Forums/BlitzMax Beginners Area/Import 'c' code and linking DLL's

hi all,

new guy here.

i've seen the docs that talk about how to "import" a 'C' source file to be able to use it's functions.

i haven't tried to actually do this yet, but i didn't even see my scenario mentioned, so I thought I would ask :

i know a bit about how compiling/linking works.

assuming that i have a 'C' source file that I want to "Import" into Blitz.

this 'C' source file is a wrapper that i want to use to glue my blitz application to some code in a DLL i've built from some other code.

how do i get in the middle of the Blitz linker mechanism and get it to link to the DLL ?

mucho,
Tony