![]() |
Telelogic TAU (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() |
|
Hi... |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
You can also use the 'char*' type that exists in the CppTypes package which may be more appropriate in this case.
|
|
![]() |
Telelogic TAU
» TAU/Developer
»
TIL2357: No matching character string
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.