Article View: borland.public.cppbuilder.language.basm
Article #33integrating assembly and C++ Builder 6
From: Daniel
Date: Thu, 13 Sep 2007 14:22
Date: Thu, 13 Sep 2007 14:22
20 lines
1953 bytes
1953 bytes
I'm working on writing some assembly modules that I want to integrate with a C++ Builder 6 application as part of a learning project so I can maintain some existing code. I've found that I can compile an assembly program from the IDE, presumably because the IDE calls TASM32 when it builds a project. I can also call TASM32 from the command line. But I get an error about "symbol __PublicInfoTable defined in both filename.obj and ...Borland\Lib\COW32.obj" where the filename.obj is my assembly file. Although the IDE generates an executable it doesn't run as it should (the screen flashes, but the main form never comes up). If I remove the assembly module from the project and comment out the extern references to it from the C++ side the project builds and runs fine. Naturally Borland doesn't cover this and neither do any of the eight reference books including Borlands Turbo Assembler Users Guide or Tom Swan's Mastering Turbo Assembler, neither of which cover Builder 6. Does anyone have suggestions for doing what I'm trying to do?
Technical Details
Message-ID:
<46e947b4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 107b11,2b231382bcbeb5c2 X-Google-Attributes: gid107b11,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Daniel" <ddel@bete.com> From: "Daniel" <ddel@bete.com> Newsgroups: borland.public.cppbuilder.language.basm Subject: integrating assembly and C++ Builder 6 Date: Thu, 13 Sep 2007 10:22:45 -0400 Lines: 22 Organization: Bete X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 64.179.88.204 Message-ID: <46e947b4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1189693364 64.179.88.204 (13 Sep 2007 07:22:44 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail