Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TNT problem

37 views
Skip to first unread message

Nigel Jones

unread,
May 22, 2006, 12:22:23 PM5/22/06
to
Hello,

I'm trying to get the TNT Unicode components working under BCB5. I
downloaded version 2.1.11 and compiled both packages, but when I try to
compile a project that uses a TNT component I get "Unable to open include
file 'TntDbCtrls.h'.

I've looked for this file but it's not distributed. There are a number of
header files but they're all .hpp.

Can anyone help me fix this?

Thank you

Nigel Jones


Unknown

unread,
May 23, 2006, 1:37:19 AM5/23/06
to
Check your Unit.h to contain a statement

#include "TntDBGrids.hpp"

instead of

#include "TntDBGrids.h"

Also check your include path in Project -> Options ->Tab Directories to
contain the path to TntUnicode folder .

Is useful if you mantain that path in default Project - Options (means for
every project)

regards
_minas
------
"Only virtue's conquests have certainty" Sofokleous Erephyle


Nigel Jones

unread,
May 24, 2006, 6:15:13 AM5/24/06
to
Thanks for your reply.

But this means I've got to change the #include line every time I use a Tnt
component. This could be hundreds of files.

I fixed it by renaming all of the .hpp files to .h, then changing the
#includes in those files to match. Now it "Just Works"!


Nigel Jones

"Minas" <(min_charATyahooPUTADOTgr)(HellenicFire)> wrote in message
news:4472...@newsgroups.borland.com...

Unknown

unread,
May 24, 2006, 11:01:19 AM5/24/06
to
"Nigel Jones" <do...@email.me> wrote

>
> But this means I've got to change the #include line every time I use a Tnt
> component. This could be hundreds of files.

To me is working just fine (no need anything to change) for BCB5 PRO update
1

Maybe is better to reinstall Tnt components

First open TntLibR.bpk compile it and then open and install TntLibD.bpk
I only add manually to default Project Options -> Include Path the path
to Tnt Controls.
Also check Tools - > Environment Options - > Library ->Library Path
to contain the path to Tnt Controls.

Jeff Kish

unread,
May 26, 2006, 9:55:12 AM5/26/06
to
On Wed, 24 May 2006 18:01:19 +0300, "Minas"
<(min_charATyahooPUTADOTgr)(HellenicFire)> wrote:

> "Nigel Jones" <do...@email.me> wrote
>>
>> But this means I've got to change the #include line every time I use a Tnt
>> component. This could be hundreds of files.
>
>To me is working just fine (no need anything to change) for BCB5 PRO update
>1
>
>Maybe is better to reinstall Tnt components

Sure, something is rotten in Denmark, eh?


>
>First open TntLibR.bpk compile it and then open and install TntLibD.bpk
>I only add manually to default Project Options -> Include Path the path
>to Tnt Controls.
>Also check Tools - > Environment Options - > Library ->Library Path
>to contain the path to Tnt Controls.
>
>_minas
>------
>"Only virtue's conquests have certainty" Sofokleous Erephyle
>

Or maybe you could add a single file that is #include whatever.h
and that file contains a single line: #include whatever.hpp

hth
Jeff Kish

0 new messages