Click here to Skip to main content
15,894,328 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGetting response from aspx page Pin
Pryabu8-Apr-10 20:35
Pryabu8-Apr-10 20:35 
AnswerRe: Getting response from aspx page Pin
eusto9-Apr-10 2:28
eusto9-Apr-10 2:28 
AnswerRe: Getting response from aspx page Pin
daveyerwin9-Apr-10 13:55
daveyerwin9-Apr-10 13:55 
GeneralRe: Getting response from aspx page Pin
Pryabu11-Apr-10 18:08
Pryabu11-Apr-10 18:08 
GeneralRe: Getting response from aspx page Pin
daveyerwin12-Apr-10 12:59
daveyerwin12-Apr-10 12:59 
QuestionScrolling size on zooming Pin
Anu_Bala8-Apr-10 18:31
Anu_Bala8-Apr-10 18:31 
AnswerRe: Scrolling size on zooming Pin
kylur9-Apr-10 9:15
kylur9-Apr-10 9:15 
QuestionHow do I use std::stringstream to format data to a string like sprintf "%02d"[modified] Pin
akira328-Apr-10 17:51
akira328-Apr-10 17:51 
AnswerRe: How do I use std::stringstream to printf "%02d" Pin
KingsGambit8-Apr-10 18:36
KingsGambit8-Apr-10 18:36 
AnswerRe: How do I use std::stringstream to printf "%02d" Pin
Gwenio8-Apr-10 18:38
Gwenio8-Apr-10 18:38 
QuestionHow to use a Dialog Template as an item in another Dialog. Pin
Bram van Kampen8-Apr-10 15:06
Bram van Kampen8-Apr-10 15:06 
AnswerRe: How to use a Dialog Template as an item in another Dialog. Pin
cmk8-Apr-10 15:53
cmk8-Apr-10 15:53 
QuestionLPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 7:10
Fareed Rizkalla8-Apr-10 7:10 
AnswerRe: LPWSTR / Win32 Pin
PJ Arends8-Apr-10 7:47
professionalPJ Arends8-Apr-10 7:47 
AnswerRe: LPWSTR / Win32 Pin
CPallini8-Apr-10 9:43
mveCPallini8-Apr-10 9:43 
AnswerRe: LPWSTR / Win32 Pin
Joe Woodbury8-Apr-10 10:57
professionalJoe Woodbury8-Apr-10 10:57 
GeneralRe: LPWSTR / Win32 Pin
Emilio Garavaglia8-Apr-10 21:15
Emilio Garavaglia8-Apr-10 21:15 
GeneralRe: LPWSTR / Win32 Pin
CPallini8-Apr-10 21:24
mveCPallini8-Apr-10 21:24 
GeneralRe: LPWSTR / Win32 Pin
Emilio Garavaglia8-Apr-10 21:42
Emilio Garavaglia8-Apr-10 21:42 
GeneralRe: LPWSTR / Win32 Pin
CPallini8-Apr-10 21:57
mveCPallini8-Apr-10 21:57 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 22:26
Fareed Rizkalla8-Apr-10 22:26 
This is more funny I don't know if it's related to the new standards or if not.

My program has a linked list data structure in C++.
So...
class Whatever
{
public:
LPWSTR *Info;
};

is my basic data structure.

I store info along the way from a ComboBox in a Whatever data structure.
Eventually I want to process several of Info and divide them in several Strings.
if (Test->Info[n] == L'/')
{
  //do some processing
}

I end up getting these errors.

1>main.cpp(686): error C2446: '==' : no conversion from 'int' to 'LPWSTR'
1> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
1>main.cpp(686): error C2040: '==' : 'LPWSTR' differs in levels of indirection from 'int'

However if I address LPWSTR directly not through the C++ class data structure everything goes smooth as silk. Unsure | :~
GeneralRe: LPWSTR / Win32 Pin
Eugen Podsypalnikov8-Apr-10 23:09
Eugen Podsypalnikov8-Apr-10 23:09 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 23:25
Fareed Rizkalla8-Apr-10 23:25 
GeneralRe: LPWSTR / Win32 Pin
Eugen Podsypalnikov8-Apr-10 23:32
Eugen Podsypalnikov8-Apr-10 23:32 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla9-Apr-10 13:32
Fareed Rizkalla9-Apr-10 13:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.