BBS: Inland Empire Archive Date: 10-20-92 (18:33) Number: 371 From: BOB PERKINS Refer#: NONE To: JASON MUNDY Recvd: NO Subj: Re: Promgraming Conf: (2) Quik_Bas
JM> Quick Basic. I have heard rumors that Turbo C obj can be used
JM> with Quick Basic, but I have not seen anyone show how to do it
JM> yet!
I posted this awhile back, and it worked fine. Note that
this is with TurboC v1.5! First, I created the C obj file,
using the medium memory model. Then I made a short basic
program to call the function. I passed cm.lib to QB's
link, and it read it just fine.
The TurboC code:
#include "dos.h"
int verify ()
{
return getverify();
}
The QB program:
DECLARE FUNCTION verify% CDECL ()
PRINT "Status of the dos verify flag is "; verify%
--- Msg V4.5
* Origin: Reciprocity Failure (1:124/4115.236)

Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET