[Gambas-devel] C/c++ Component

DA Corp. oscarcld at ...31...
Mon Jun 9 17:26:25 CEST 2003


I have this file. It was write in C. This file is used to write a number in
the parallel port. 0x37 is 55 in hexadecimal number. I want to replace it
for a variable in Gambas. for example, X: 
 
#include <dos.h>
int main()
{
outport(0x378,0x37);
return 0;
}
 
How I do include this file in Gambas? 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20030609/914b7e1f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMSTP.gif
Type: image/gif
Size: 494 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20030609/914b7e1f/attachment.gif>


More information about the Devel mailing list