[sword-devel] C++ Builder IDE

David Trotz (Integrity Online) sword-devel@crosswire.org
Fri, 18 May 2001 15:40:33 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C0DFB0.E02827A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

OK So I found out part of the problem. The class explorer only shows the =
classes for those files which it is told to parse the header files on. =
Since #include <somefile.h> is considered a system header file it does =
not parse the file. So class information is unavailable. If I change it =
to read #include "somefile.h" then class explorer and Code Insight are =
happy and give me class info.=20
I am willing to change all of these files to read as such on my own =
computer. changing it this way doesn't appear to break anything. Does =
it? It still compiles fine on my machine, but maybe others don't. I have =
a feeling that this is true since a few files did follow use the latter =
include directive which is why I was able to figure it out. I can submit =
the changed files to you guys if you want them. Or I can keep them to =
myself and I will just merge any new changes into my own code when =
updates are made to the swordlib. But I wonder why include directives =
are stated this way for the sword library files, It works either way =
just the IDE doesn't parse system header files? Is there something I am =
missing?
In Christ,
David
  ----- Original Message -----=20
  From: David Trotz=20
  To: sword-devel@crosswire.org=20
  Sent: Thursday, May 17, 2001 9:58 PM
  Subject: [sword-devel] C++ Builder IDE


  I am getting rather frustrated with the Borland IDE. First the project =
Swordlib doesn't show all the classes in that project. And when I use =
the project explorer to view the classes, I cannot switch between the =
header and cpp files. I believe this is because the header files are not =
kept in the same location as the cpp files. I am amazed that Borland =
hasn't made a way to work around this. I also believe that this is why I =
cannot see the classes in the Class Explorer. For now I am using the =
VC++ project to view the Swordlib files and Borland to view the =
sword.exe files. Is there a better way? Can someone help?
  In Christ,
  David

------=_NextPart_000_000D_01C0DFB0.E02827A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2462.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>OK So I found out part of the problem. =
The class=20
explorer only shows the classes for those files which it is told to =
parse the=20
header files on. Since #include &lt;somefile.h&gt; is considered a =
system header=20
file it does not parse the file. So class information is unavailable. If =
I=20
change it to read #include "somefile.h" then class explorer and Code =
Insight are=20
happy and give me class info. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am willing to change all of these =
files to read=20
as such on my own computer. changing it this way&nbsp;doesn't appear to =
break=20
anything. Does it? It still compiles fine on my machine, but maybe =
others don't.=20
I have a feeling that this is true since a few&nbsp;files did follow use =
the=20
latter include directive which is why I was able to figure it =
out.&nbsp;I can=20
submit the changed files to you guys if you want them. Or I can keep =
them to=20
myself and&nbsp;I will just merge any new&nbsp;changes into my own code =
when=20
updates are made to the swordlib. But I wonder why include directives =
are stated=20
this way for the&nbsp;sword library files, It works either way just the =
IDE=20
doesn't parse system header files? Is there something I am =
missing?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In Christ,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>David</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Ddtrotzjr@arilion.com =
href=3D"mailto:dtrotzjr@arilion.com">David=20
  Trotz</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dsword-devel@crosswire.org=20
  =
href=3D"mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, May 17, 2001 =
9:58=20
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [sword-devel] C++ =
Builder=20
  IDE</DIV>
  <DIV><BR></DIV>
  <DIV><FONT size=3D2>I am getting rather frustrated with the Borland =
IDE. First=20
  the project Swordlib doesn't show all the classes in that project. And =
when I=20
  use the project explorer to view the classes, I cannot switch between =
the=20
  header and cpp files. I believe this is because the header files are =
not kept=20
  in the same location as the cpp files. I am amazed that Borland hasn't =
made a=20
  way to work around this. I also believe that this is why I cannot see =
the=20
  classes in the Class Explorer. For now I am using the VC++ project to =
view the=20
  Swordlib files and Borland to view the sword.exe files. Is there a =
better way?=20
  Can someone help?</FONT></DIV>
  <DIV><FONT size=3D2>In Christ,</FONT></DIV>
  <DIV><FONT size=3D2>David</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000D_01C0DFB0.E02827A0--