Using DLLs

BlitzMax Forums/BlitzMax Programming/Using DLLs

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'd need to import the archive

import "libwininet.a"

assuming its in the same dir as the bmx your compiling

also you'll need to declare the routines it contains in an extern block

extern
function functionname:returntype(a:vartype,b:vartype)
endextern

you can usuallu use the .h file to guide you in making the right prototypes im blitzmax