BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Add/Remove pb with component project

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Andrei Ariescu
Guest





PostPosted: Tue Jun 24, 2003 7:35 am    Post subject: Re: Add/Remove pb with component project Reply with quote



Your problem is whit the Editor not the Compiler ... I mean ... the way you
are writting code in the Editor can affect the way the Compiler interprets
the code ...

So ... look in your code for a long line written on a single row and split
it up to more rows ..



"Dean" <dean.inglis (AT) on (DOT) aibn.com> wrote

Quote:

I'm adding through the 'Add' button (on the Package
dialogue box) which when clicked pops up an Add dialogue
containing 3 tabbed pages: Add Unit, New Component and
Import ActiveX. Under Add unit, can I not add libs to the
package project through the browse button? It pops
up a file input dialogue that allows one to choose
'Files of type' .lib . So, I am choosing the correct file type but when I
try adding the libs I still get the error...

Dean


"Remy Lebeau (TeamB)" <gambit47 (AT) yahoo (DOT) com> wrote:

"Dean" <dean.inglis (AT) on (DOT) aibn.com> wrote in message
news:3ef74791$1 (AT) newsgroups (DOT) borland.com...

In Builder 6, when I try to add the shared lib (built
by BCB6) to the package project, I get an error
pop up : "one or more lines were too long and have
been truncated" !

Sounds like you tried to open the lib files as source files instead of
actual lib files. When you add a file to the project, make sure you
chose
the correct file type from the drop-down menu of the "Open" dialog.


Gambit







Back to top
Dean
Guest





PostPosted: Tue Jun 24, 2003 12:56 pm    Post subject: Re: Add/Remove pb with component project Reply with quote




Andrei,

the code for the builder component hasn't changed and
was compiling fine until there was an additional module
compiled into the shared library. The shared libraries
are built correctly using the command line tools and make. That is, I can create a simple app that does not depend on
the component, compile & link to the shared libs via command
line tools. What is the definition of a 'long line'? I
don't see anything unusual in the source of the added library
module. Also, why is this not a pb with BCB5? On another
workstation I build the same libraries and the same component
and can add/remove these libs from the package in the IDE
without the truncation error. Is there a way to inspect the
lib files for potential errors? Is there some reason why
the IDE would think a .lib file was not a .lib file?

Dean

Quote:
Your problem is whit the Editor not the Compiler ... I mean ... the way you
are writting code in the Editor can affect the way the Compiler interprets
the code ...

So ... look in your code for a long line written on a single row and split
it up to more rows ..



I'm adding through the 'Add' button (on the Package
dialogue box) which when clicked pops up an Add dialogue
containing 3 tabbed pages: Add Unit, New Component and
Import ActiveX. Under Add unit, can I not add libs to the
package project through the browse button? It pops
up a file input dialogue that allows one to choose
'Files of type' .lib . So, I am choosing the correct file type but when I
try adding the libs I still get the error...

Dean


"Remy Lebeau (TeamB)" <gambit47 (AT) yahoo (DOT) com> wrote:

"Dean" <dean.inglis (AT) on (DOT) aibn.com> wrote in message
news:3ef74791$1 (AT) newsgroups (DOT) borland.com...

In Builder 6, when I try to add the shared lib (built
by BCB6) to the package project, I get an error
pop up : "one or more lines were too long and have
been truncated" !

Sounds like you tried to open the lib files as source files instead of
actual lib files. When you add a file to the project, make sure you
chose
the correct file type from the drop-down menu of the "Open" dialog.


Gambit








Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.