Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic TAU (steve huntington)
Decrease font size
Increase font size
Topic Title: TIL2357: No matching character string
Topic Summary: TIL2357: No matching character string
Created On: 15-Feb-2007 09:53
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 15-Feb-2007 09:53
User is offline View Users Profile Print this message


Sundeep Prakash

Posts: 1
Joined: 14-Feb-2007

Hi...
I created a project of build type "Modal Verifier" and created a state chart diagram in this project.
In this diagram, i added text symbol and inside it, added two character pointer as follows :

CPtr<Character> Input_URI = "DECODE://URL=C:\\Ocean.avi|ISPAL=0|DIVX=1";
CPtr<Character> Output_URI = "D:\\Test\\Matrix.dat";

Then, when i build this project, i got the errors

Input_URI     Error  TIL2357: No matching character string
Output_URI  Error  TIL2357: No matching character string

Please help me out to resolve this problem.
Thanks in advance,
Neeraj

Report this to a Moderator Report this to a Moderator
 13-Jul-2007 20:10
User is offline View Users Profile Print this message


Brandon Jones

Posts: 20
Joined: 22-Sep-2003

There may be two problems here.

1. You must have CppTypes enabled in order to use CPtr. This can be done through Tools->Customize->Add-ins and then select CppTypes
2. In order to set the value of a CPtr you must use the SetValue operation. If you search for SetValue in the help there are some examples of how to use it. Below is one such example:

Example 321: CPtr allocation and access
class c {
Integer i;
Integer j;
CPtr<Integer> ip;
CPtr<Integer> jp;
void test() {

/* Allocation of a CPtr, usage of SetValue/GetValue */
ip = new CPtr<Integer>();
ip.SetValue(10);
i = ip.GetValue(); // 'i' is now 10
Report this to a Moderator Report this to a Moderator
 13-Jul-2007 21:54
User is offline View Users Profile Print this message


Brandon Jones

Posts: 20
Joined: 22-Sep-2003

You can also use the 'char*' type that exists in the CppTypes package which may be more appropriate in this case.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic TAU forum.
There are currently 0 users logged in.
The most users ever online was 15 on 31-Mar-2008 at 16:22.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.