Article ID: 42323
Article Last Modified on 11/21/2006
This article was previously published under Q42323
SUMMARY
Calling C routines compiled with Microsoft QuickC Compiler version 2.00 works correctly only from Basic routines compiled with Microsoft QuickBasic version 4.50 or Microsoft Basic PDS version 7.00. Using versions of QuickBasic earlier than 4.50 or using Basic compiler 6.00 or 6.00b results in numerous LINK errors of "Symbol Defined More Than Once" (L2025).
If the QuickC library includes the C Graphics or Pgchart library routines, then QuickBasic version 4.50 calling programs must be compiled without the /O option (using the BRUN45 library instead of BCOM45); otherwise, you will get many "Symbol Defined More Than Once" errors at link time.
The presence of the Graphics or Pgchart libraries does not affect LINKing with Microsoft Basic PDS 7.00.
QuickBasic versions 4.00 and 4.00b and Microsoft Basic Compiler versions 6.00 and 6.00b require QuickC version 1.00 or 1.10.
QuickBasic version 4.50 requires QuickC version 2.00.
For more information about linked Microsoft QuickBasic or compiled Basic with Microsoft C, search in this Knowledge Base using the following word:
BAS2C
Additional query words: QuickBas BasicCom
Keywords: KB42323