|
What do you mean by it fails?
A:fail is means after copy the chinese word is not i want just so;
The garbled text is in Chinese or not?
A:the garbled text is also chinese
you can see below:
when before copy chinese word "你好"
after copy the chinese word in edit caption is "斕疑"
Is your application fully Unicode?
A:my application's character set is MBCS
|
|
|
|
|
Hi,
I have just moved from MSVC6.0 to VS2008 and I am having a little difficulty finding things. Can anyone please tell me how I can access message maps and member variables of a dialog from the resource? It sued to be that you right clicked the dialog and chose Class Wizard but all that has changed.
Thanks
Tony
|
|
|
|
|
u may not find the old class wizard as it was in previous versions...rigth click on any control to add variables and message handlers...
|
|
|
|
|
Thnaks but can you tell me how to access exisitng handlers and variables. I want to remove a variable and a handler so I can delete the controls from the dialog.
|
|
|
|
|
Go to Class View. Select the dialog's class. Go to the Properties window (right-click on the class and select Properties). The tool bar at the top of the Properties window has icons for events (the little lightning bolt), which gives you access to dialog control notification handlers (you can create or delete handlers or navigate to them from here).
The other icons on this toolbar are Messages (handlers for Windows messages sent to the dialog class) and overrides (base class overrides, obviously).
If someone can suggest a shorter way to this window, from the resource editor, say, I'd like to know
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
How to find the numeric position of the first occurrence of a string in another string?
|
|
|
|
|
|
HAVE YOU GOOGLED?!
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hiii
How to convert UINT64 to LARGE_INTGER.....????
Thanking you
Krish
|
|
|
|
|
Taken from the documentation[^]:
If your compiler has built-in support for 64-bit integers, use the QuadPart member to store the 64-bit integer.
|
|
|
|
|
You mean... there's a documentation?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Yeah, I was also amazed when I discovered it in a hidden place on the net...
|
|
|
|
|
Rajesh R Subramanian wrote: You mean... there's a documentation?
Yes, but only on days that end in Y.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi All
I am getting Debug Assertion failed.Message is here
Program: ...
File:f:\sp\vctools\vc7libs\ship\atlmfc\include\atlsimpstr.h
Line: 876
Expression: nLength >= 0
and in the atlsimpstr.h file:
void SetLength( __in int nLength )
{
ATLASSERT( nLength >= 0 );
ATLASSERT( nLength <= GetData()->nAllocLength );
if( nLength < 0 || nLength > GetData()->nAllocLength)
AtlThrow(E_INVALIDARG);
GetData()->nDataLength = nLength;
m_pszData[nLength] = 0;
}
I could not figure out what the problem was from this output.
|
|
|
|
|
MsmVc wrote: I could not figure out what the problem was from this output.
You should try using your debugger and take a look at the call stack to see where to problemt relates to your code. Then you can set breakpoints just before the crash location and inspect the different variables to see if something is wrong.
|
|
|
|
|
thanks for reply.
How can i use debugger?Plz help me
|
|
|
|
|
You mean that for the last months that you are posting on CP, you never used your debugger ? Wow, time to get started on that I guess...
Using your debugger is not that difficult: simply set breakpoints by double clicking in the margin next to your code and press F5 to start the debugger. You'll need to investigate a bit yourself to see how it works.
|
|
|
|
|
This will help you in debugging [^]
|
|
|
|
|
Analyse the parameter nLength that you are passing to SetLength method. From the code-snippet,
ATLASSERT( nLength >= 0 ); // Line 876
ATLASSERT( nLength <= GetData()->nAllocLength );
it's clear that the nLength must be >= 0 and <= GetData()->nAllocLength.
You may not have properly initialized nLengh parameter.
|
|
|
|
|
MsmVc wrote: How can i use debugger?Plz help me
For the sake of God, please buy a beginners book on programming.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
i have 3 projects included in my work space.when i release build them one of the projects cause link error 1257 code generation failed.No error comes in debug build.how can i remove the error in release build.
|
|
|
|
|
|
thanx it helped a little bit but dont tell how to overcome the problem.so the problem persists.
|
|
|
|
|
explain how far the problem is solved.
ali kanju wrote: helped a little bit
that statment is a little vague.
|
|
|
|
|
i mean it tells that it may be a linker problem...bt dont exactly tells how to overcome the problem..i have visual studio 2005 in use..
|
|
|
|