Cbtti11.dll Library error

Report bugs and possible workarounds for ANSI TD versions
gqmallah

Cbtti11.dll Library error

Post by gqmallah » 07 Jul 2008, 22:59

Dear All,

While compiling Team Developer's Code which uses cbtti11.dll error I am having the following error. I will be most thankful if any one please let me know how to fix this problem as currently I am unabale to create exe file.

SQLWindows Error Log

Application File: F:\TBASS\p2client\app\ops.app

--- Begin Error Output ---


Source: Library name cbtti11.dll
Position: 0 Error: Cannot load external library (or one of its components). Check to ensure that its dependencies are all current versions of SQLWindows DLLs.


--- End Error Output ---

Thanks in advance,
Ghulam

Jeff Luther

Re: Cbtti11.dll Library error

Post by Jeff Luther » 08 Jul 2008, 00:00

You don't say what ver. of CTD/TD you are using, but the issue is that you are using a version different than v1.1, which is what the "11" in "cbtti11.dll" means. Thus, it cannot find it.

To fix the problem, for example, if your version of CTD is 2.1 (look in Help/ABout to find out) then change the Ext. lib. name to cbtti21.dll. That's the Tool-Tip library and I'm sure there is an xx for each ver. of TD.

I see from my old CTD v1.5 that the correct way to include this correct lib. is to add this File Include line to the top section of your outline:

Code: Select all

Libraries
    File Include: ttmngr.apl
That will declare the correct ver. of cbtti.

gqmallah

Re: Cbtti11.dll Library error

Post by gqmallah » 08 Jul 2008, 07:23

Jeff,

Many thanks for the response. I am using CDT version 1.1.2 and want to upgrade to TL 5.1. From where I get cbttixx.dll new version please? Any link etc.

Thanks
Ghulam

Jean-Marc Gemperle

Re: Cbtti11.dll Library error

Post by Jean-Marc Gemperle » 08 Jul 2008, 15:10

Hi,

In regards to migrating to TD 5.1

cbttiXX.DLL is for the tool tip. Originally the APL that interface to cbttiXX.DLL; qckttip.apl was provided as a sample and I saw many people having that APL in there SOURCE directory, therefore when migrating either having that error but also garbage TEXT in there balloon help because they just changed the name of the DLL (in the external call) but did not realize all the external call to that DLL with STRING were migrated to use UNICODE.

So make sure if you migrate to TD 5.1, you don't use the TD 1.12 qckttip.apl version or any older one (this one referes to cbtti11.dll) use the the 5.1 qckttip.apl APL version and you will see it refers to cbtti51.dll also existing in the root directory of TD 5.1 and that all string functions using LPSTR previously has been updated to use LPWSTR ( for unicode).

Make sure ALL GUPTA APLs are of the proper version and you don't have older picked up from your source, as for qckttip.apl as an example, we migrated them to Unicode. Also don't get trap by merged APLs....

Hope this helps.

JM

gqmallah

Re: Cbtti11.dll Library error

Post by gqmallah » 10 Jul 2008, 07:55

Dear JM,

As I told we were using cbtti11.dll in our code and we were calling Function: TTAddTool within the code. It works fine with cbtti11.dll version. When I changed this to cbtti51.dll at Function: TTAddTool it is generating error message and could not compile the code. Error message is :

--- Begin Error Output ---
Source: Function TTAddTool
Position: 0 Error: Cannot find function within external library.

Source: Function TTAddTool
Position: 0 Error: Cannot find function within external library.


--- End Error Output ---

Could you please let me know how to fix this problem? I believe I will get some thing from you.

Thanks
Ghulam

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3218
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: Cbtti11.dll Library error

Post by Dave Rabelink » 10 Jul 2008, 08:17

I believe the function name has changed to TTAddToolEx.

Here the complete list of functions in the dll (incl ordinal #) :

07 TTIsTool
08 TTAddToolEx
09 TTDeleteTool
10 TTSetTipText
11 TTGetTipText
12 TTHasTipText
13 TTSetStatusText
14 TTGetStatusText
15 TTHasStatusText
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

gqmallah

Re: Cbtti11.dll Library error

Post by gqmallah » 11 Jul 2008, 10:06

Hi Dave,

Thnaks for useful information. I would be most grateful if I can have some information which other functions of different DLLs of Team Leader are changed like above. Is there some book/document which tells about this in detail.

Thanks
Ghulam

Return to “Bug Reports (TD 4.2 and older)”

Who is online

Users browsing this forum: [Ccbot] and 0 guests