Quantcast
Channel: LPCTSTR, need simple example
Browsing latest articles
Browse All 6 View Live

LPCTSTR, need simple example

a possible cause could be a scenario like this:CDialog *pDlg = GetMyDialog(); ///// due to some reason it returns NULL/dangling pointerpDlg->DoModal(); // this calls internally OnInitDialog(), etc

View Article



LPCTSTR, need simple example

Hi,The exception has nothing to do with "_T" macro. And the exception message clearly indicates that your program tries writing to invalid address. You can debug your program to find the cause. If...

View Article

LPCTSTR, need simple example

Problems remain. I cannot tell you how certain I am I had tried the _T option, but I must have had another attempt mixed up in there that complicated the problem.  I tried both solutions with no joy....

View Article

LPCTSTR, need simple example

To add to what fireworld posted, if you want to support non-Unicode configurations too, then do this :_T("green") which will map to L"green" for Unicode builds and just "green"...

View Article

LPCTSTR, need simple example

Try putting an L in front of the string, so that your line looks like this:x = GB_color_combo_string.AddString(L"green");Hope that helps

View Article


LPCTSTR, need simple example

I just spent the last hour searching for LPCTSTR and cannot find a simple example, including searches within this forum.. In regards to a combobox, I want to add a string to the list.  x =...

View Article
Browsing latest articles
Browse All 6 View Live


Latest Images