12-20-2005, 11:11 PM
Hi,
I found a useful C source on the web and now I'd like to use it as library in QuickBASIC 4.5. I compiled the source successfully using TurboC 2.01. I get a OBJ and a EXE file. Further I can create a LIB file (*.lib) using TLIB.EXE or QB's LIB.EXE. But when I try to link the lib file into a qlb file I always get lots of errors like this one:
The error message is translated from my German version. I don't know if the translation is equivalent to the original English message.
Could someone give me a step by step instruction how to build a QLB file from a C source?
The function in the C source is this:
Thanks!
Sebastian
I found a useful C source on the web and now I'd like to use it as library in QuickBASIC 4.5. I compiled the source successfully using TurboC 2.01. I get a OBJ and a EXE file. Further I can create a LIB file (*.lib) using TLIB.EXE or QB's LIB.EXE. But when I try to link the lib file into a qlb file I always get lots of errors like this one:
Code:
Error L2029 : '_fopen' : unsolved external symbol
Could someone give me a step by step instruction how to build a QLB file from a C source?
The function in the C source is this:
Code:
int myfunction ( int commands )
Thanks!
Sebastian