Page 1 of 1

Interfacing ANSI C with QB45/VBDOS?

Posted: Wed Feb 04, 2015 9:20 am
by HarryPotter14
How do I interface ANSI C functions to a QB45 or VBDOS program? For example, what object code format do I use? How do I build the libraries? How do I declare the functions? I'd appreciate any help.

Re: Interfacing ANSI C with QB45/VBDOS?

Posted: Wed Feb 04, 2015 10:01 am
by burger2227
You can use C library functions with QB64 using DECLARE LIBRARY:

http://www.qb64.net/wiki/index.php/C_Libraries

Re: Interfacing ANSI C with QB45/VBDOS?

Posted: Thu Feb 05, 2015 11:16 am
by HarryPotter14
Yes, but I'm using VBDOS here, and I want the option to be available on QB45 as well.

Re: Interfacing ANSI C with QB45/VBDOS?

Posted: Thu Feb 05, 2015 11:34 am
by burger2227
Time to move up. 64 bit is talking nowadays...

Re: Interfacing ANSI C with QB45/VBDOS?

Posted: Thu Feb 12, 2015 7:38 pm
by HarryPotter14
That is pretty much true, but I am still programming for legacy platforms. :)