Two issues with string tables in TD 5.1 PTF6

Discussions specific to Team Developer 5.1.

Two issues with string tables in TD 5.1 PTF6

Postby Rublebuster » Wed May 26, 2010 8:31 am

Hi there,

while migrating our application to TD 5.1 PTF6 we found two severe issues related to handling of string tables:

1) VisStrFind( hStringTable, "key" ) returns also the key used to identify a string in the string table. This behabiour is different from TD 2005.1 and caused us a lot of problems :-(

2) VisStrFind( ) now also searches comments in the string table files. Till TD 2005.1 it seems to be possible to define comments using the "!" (similar to SAL code) in the string table file. Now TD 5.1 PTF6 doesn't seem to care about the "!" lines => VisSTrFind( ) also returns lines intended to serve as comments :-(

Are these two issues bugs or features?

Many thanks in advance for any comments & Cheers
Rublebuster
 
Posts: 3
Joined: Wed May 26, 2010 6:51 am

Re: Two issues with string tables in TD 5.1 PTF6

Postby Rublebuster » Thu May 27, 2010 4:26 am

Concerning issue (2) I just found, that it's not a bug related to "commented" line starting with "!" but obviously TD 5.1 doesn't seem to take care about the fact, that identifiers have to be enclosed with curly braces!

Excerpt from TD 5.1 Help:

sString VisStrFind (hStrTable, sIdentifier)
Number: hStrTable
String: sIdentifier

Description

Locates a string within a string table. The string table must be loaded into memory using VisStrLoadTable.

Parameters

hStrTable - Handle to string table to load string from.
sIdentifier - Identifier used to located the string within the string table. Identifiers are enclosed within curly braces {} in the string table.


=> VisStrFind( ) of TD 5.1 PTF6 also finds and returns values of identifiers NOT enclosed with curly braces. :-(
Rublebuster
 
Posts: 3
Joined: Wed May 26, 2010 6:51 am


Return to Team Developer 5.1

Who is online

Users browsing this forum: No registered users and 1 guest