Article View: comp.sys.ibm.pc.misc
Article #861dBase III+ and C/C++
From: David Alan Nelson
Date: Mon, 13 Apr 1992 10:19
Date: Mon, 13 Apr 1992 10:19
28 lines
1621 bytes
1621 bytes
I am at the moment writing a menu system under dBase III+ for a large database system that I am using. I am having a few problems in my pull down menu system of reading the left cursor key. Even though I have an idea what the problem is, and my book tells me how to get round it, it won't work. So, this gave me the idea to write it under Turbo C or Turbo C++, and compile the code to a .bin file, which dBase would then be able to read. Firstly, I tried converting the .exe file produced from the c code, but exe2bin refused to touch this. So I then told the Turbo compiler to produce an assembly language listing for the C code. (when I say C code, it was written in Turbo C++). I then ran TASM on this, and then linked it using TLINK. TLINK gave a couple of error messages about the format of using 'cout' in the assembler code, but it produced an executable. So I ran exe2bin on this new executable, and it produced the required .bin file for me. Great, I thought. I then loaded this into dBase without any complaint from the system, and then I ran it, at which point it hung ... Any ideas? David A Nelson User ID : n1zlp Mail ID : D.A.Nelson@uk.ac.newcastle
Technical Details
Message-ID:
<1992Apr13.101933.20439@newcastle.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!newcastle.ac.uk!newton!n1zlpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!newcastle.ac.uk!newton!n1zlp From: D.A.Nelson@newcastle.ac.uk (David Alan Nelson) Newsgroups: comp.sys.ibm.pc.misc Subject: dBase III+ and C/C++ Summary: How to call Turbo C/C_++ from dBase III+ Message-ID: <1992Apr13.101933.20439@newcastle.ac.uk> Date: 13 Apr 92 10:19:33 GMT Organization: University of Newcastle upon Tyne, UK, NE1 7RU Lines: 28 Nntp-Posting-Host: newton