Hi experts,
I have a software GUI which uses a lot Cbrush. Sometimes, all the monitor just went white except for all the buttons in my GUI. Is this a possible cause of CBrush? It does not throw any specific error. One time, when the pc went out of memory, the monitor just went white.
let me explain my scenario,
in my windows application, i have a std::string which converts to wstring thru multibyte2widechar(). the higher and lower byte of wstring is put into vector of unsigned char to be passed in my solaris application. since the wstring in windows is 2 bytes, getting...
Hi cpjust, thanks for this.
when the argument is non-chinese (i.e. "ABC"), it displays correctly. but if the argument is in chinese, the display is incorrect :(
Hi experts,
I have a std::string which was converted to std::wstring.
when in windows, wstring is 2 bytes so i can easily get the high and low byte and push in vector<unsigned char>.
But, how can I also get the high and low byte of 4 bytes wstring in solaris and assign to my vector<unsigned...
Hi Miros,
the last reply you gave didnt work. it still gives me garbage data.
Is there an equivalent of MultiByteToWideChar of Windows in Solaris?
thanks!
Hi experts!
May I ask what's the solution if, whenever i minimize and restore the dialog, the dialog takes time to load all the controls. I gives me gray dialog at first.
how to prevent this to happen. I know I have lots of things doing at the background.
Thanks for the replies.
this UpdateData function gets called every like 50 milliseconds. And the rowText's size would only be 3. Which is the most safest and fastest way to go, iteration, or .assign?
do i need to new each CString data? My debug assertion is prompted to strcore.cpp 154...
hi experts,
how to copy vector of Cstring to another vector of CString?
I got an strcore.cpp exception in my code when it goes to
UpdateData(const UpdateData& data) {
this->trainId = data.trainId;
this->track = data.track;
this->location = data.location;
this->rowText = data.rowText...
Oh sorry, i mean enablewindow(false) doesnt work.
Anyway, I found a solution, I used ODS_DISABLED to check if the item is disable or not, and then manually change the color of item to look like it really is disable. thanks for not ignoring my question. ;)
Hi Experts!
Could somebody help me how to convert the "70" "ED" hex string character to actual 70 and ED value?
FYI, i want to convert the 70ED to its corresponding chinese characters.
thanks in advance!
Lorna
Hi jaxtell,
That's a good idea.
If its not too much to ask, could you please help me contruct the trigger script. I'm an entry level in DB.
Thanks in advance !
lorey
For example,
Table1
Pkey Value Type
1 mft1 console
2 sess1 session
3 mft2 console
4 sess2 session
Table2
Pkey ValueKey (from table1.value) Profilekey
1 1 10002
2 3 10003
I only want to make sure that entries in...
Hi experts!
Please help on the ff:
I have an existing table :
table1 with column:
pkey1,
pkey2,
pkey3
I am creating a new table2 with column :
pkey,
pkey1 (which is the same as table1.pkey2)
the problem is how can i put constraints on table2 that only table1.pkey2 with specific value...
Hi experts,
how to add a shortcut key to call a specific function in my vc++ program, for example CTRL+E. This shortcut key should be invisible to the user so I cant use the accelarator like & in menu.
Please help!
Lorna
...::sendTextMessage wstring? The first function converts the std::string to vector of unsigned char and then pass to the 2nd ::sendTextMessage
******************
bool RadioSession::sendTextMessage(const std::string& destTSI, const std::string& message, ESdsServiceSelection serviceSelection...
thanks to all your replies.
im very new to vc++. can you please help me in the coding in the iteration using this wchar_t? the problem is im porting my program in windows and also in solaris. I get a different result in both platform. so far, the windows output is correct.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.