Is there any good documentation available on how to use DLL's in Blitzmax where everything is explained step by step?
I want to use the Qlib32 library from www.quancom.com to send data to my USB relais interface.
I know which functions I need to use from the DLL and the values I need to send to them to control it, but I'm not sure where to start in Blitzmax so that I am able to send/receive data from this DLL.
The functions of this library I need are :
QAPIExtOpenCard(cardid, devnum) <= cardhandle
QAPIExtCloseCard(cardhandle)
QAPIExtWriteDo32(cardhandle, channel, value, mode)
The reason I want to use this is because of an Arcade project, I want to control the Leds and coin mechanism from within the games itself which I want to write for it.
If someone could help me a bit or send me in the right direction I would be greatfull.
I want to use the Qlib32 library from www.quancom.com to send data to my USB relais interface.
I know which functions I need to use from the DLL and the values I need to send to them to control it, but I'm not sure where to start in Blitzmax so that I am able to send/receive data from this DLL.
The functions of this library I need are :
QAPIExtOpenCard(cardid, devnum) <= cardhandle
QAPIExtCloseCard(cardhandle)
QAPIExtWriteDo32(cardhandle, channel, value, mode)
The reason I want to use this is because of an Arcade project, I want to control the Leds and coin mechanism from within the games itself which I want to write for it.
If someone could help me a bit or send me in the right direction I would be greatfull.