Questions tagged [rogue-wave]

RogueWave is an international company most known for their C++ library named SourcePro. Most people refer to the library just as Roguewave, dropping the SourcePro name.

37 questions
5
votes
2 answers

difference between a regular "string" class "rwcstring" class

Can anyone please let me know the exact difference between the regular string class and the roguewave's rwcstring class. The codes in my project extensively use the rwcstring class. My doubt is if both handles and manipulates the strings then what…
Mariners
  • 499
  • 8
  • 18
3
votes
2 answers

How do I abstract away from using RogueWave in legacy code?

I have been tasked with removing RogueWave components from a legacy C++ codebase. To do so, I am attempting to build wrappers around the existing components, make sure that the code functions the same, and then choose a different library like boost…
Paul
  • 549
  • 2
  • 4
  • 13
3
votes
1 answer

How to get a nice view of data structure in debugger?

I am debugging a Visual C++ project that uses Rogue Wave a lot. I would like to see content of RW containers easily, i.e. i want to see list elements instead of this: What are my options? Can autoexp.dat do this?
Constantin
  • 27,478
  • 10
  • 60
  • 79
2
votes
2 answers

Rogue Wave Edit Box text

I want to check if the Text box has some text entered by the user but can't. The statement below always returns false if (MyLLVTextEdit->getMessage() == NULL) { MessageBox(NULL,"No Text", "no Text",NULL); } also tried if…
user2837961
  • 1,505
  • 3
  • 27
  • 67
2
votes
1 answer

Vector iterators incompatible: DEBUG

Why is this piece of code giving me the error : Vector iterators incompatible This piece of code was traced back to the Rogue Wave file tpordvec.h std::vector v; const T* a // Where T is a template Class for…
melbah
  • 61
  • 6
2
votes
1 answer

C++ string to char conversion

I have a function which requires parameter to be of type 'unsigned char'. If I use: unsigned char x[8] = "a\0ab-cd"; and pass this 'x' as parameter to the function call, I get the desired result. However, I get inputs as RWCStrings, and not char…
Sagar Thatte
  • 75
  • 1
  • 8
1
vote
1 answer

Anyone have any information on how to create a C/C++ Path Checker on Klocwork?

I am currently creating custom checkers for our Klocwork server. But, the rougewave website does not offer any documentation about C/C++ Path checkers. They require users to email the address on this link -…
1
vote
0 answers

How to replace all the "\\" occurance using rwcstring

I need to replace all "\\" occurances as "-" in rwcstring. I have tried using "RWCRExpr" to achieve this but nothing works. Kindly refer the combinations i have tried below and assist me to achieve this. RWCString strchkk(""); RWCString…
sivanesan1
  • 779
  • 4
  • 20
  • 44
1
vote
0 answers

How to prevent application's locale changing when user changes Windows date/time format (C++, Windows native app)

Our application is a Windows native 64 bit application developed in C++ (Visual Studio) with RogueWave's Stingray library, itself using MFC for the UI. In the application, dates are shown in various places (grids, dialog box controls etc.). As it is…
Scrontch
  • 3,275
  • 5
  • 30
  • 45
1
vote
1 answer

Why does RWDBManager::database need shared library name?

I am using Roguewave library to connect to Sybase database from C++. I understand that database object is constructed as: RWDBManager::database("accessLib", "", "", "", "",…
xyz
  • 8,607
  • 16
  • 66
  • 90
1
vote
4 answers

core dump segmentation fault with C++

I am a newbie to the C/CPP application and analysing an issue with a piece of C/CPP code. I came across a Segmentation Fault error and I am not to identify the root cause of the segmentation fault. Please find the scenario below: union Value { …
Jegan Kunniya
  • 986
  • 3
  • 17
  • 27
1
vote
2 answers

RWTime is displaying localtime+1

Why RWTime is giving 1 hour more #include #include #include main(){ RWTime t; // Current time RWTime d(RWTime::beginDST(1990, RWZone::local())); cout << "Current time: " << RWDate(t) << " "…
sap
  • 679
  • 3
  • 8
  • 21
1
vote
1 answer

What is an alternative implementation for RWTPtrOrderedVector?

I'm trying to get rid of Rogue Wave dependencies. Is there a solid alternative implementation of RWTPtrOrderedVector? Would it just be std::vector?
user1781568
1
vote
1 answer

Solaris process memory usage increase but not forever

On Solaris 10 I have a multithreaded process with a strange behaviour. It manages complicated C++ structures (RWTVal or RWPtr). These structures are built from data stored in a database (using Pro*C). Each hour the process looks for new informacion…
jjavibv
  • 116
  • 1
  • 3
1
vote
1 answer

Strange issue using RWTValHashMap with g++ on Linux

I am writing a simple test program on Linux system by using g++ 4.3 and Rogue Wave library. The problem that I am facing here is that the following codes can be compiled but it would pop up a segmentation fault on this line when I run it: …
1
2 3