Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting the cursor for MFC MDI child windows Pin
Rajkumar R22-Mar-08 20:47
Rajkumar R22-Mar-08 20:47 
GeneralIcon needs to have 8 bit transparency alpahblend Pin
Member 220843722-Mar-08 10:59
Member 220843722-Mar-08 10:59 
GeneralRe: Icon needs to have 8 bit transparency alpahblend Pin
Mark Salsbery23-Mar-08 9:18
Mark Salsbery23-Mar-08 9:18 
GeneralRegGetValueA Pin
Dr. Emmett Brown22-Mar-08 5:02
Dr. Emmett Brown22-Mar-08 5:02 
GeneralRe: RegGetValueA Pin
Dr. Emmett Brown22-Mar-08 5:42
Dr. Emmett Brown22-Mar-08 5:42 
GeneralWeird C++ issue Pin
Jim Crafton22-Mar-08 4:11
Jim Crafton22-Mar-08 4:11 
GeneralRe: Weird C++ issue Pin
CPallini22-Mar-08 4:36
mveCPallini22-Mar-08 4:36 
GeneralRe: Weird C++ issue Pin
Jim Crafton22-Mar-08 5:03
Jim Crafton22-Mar-08 5:03 
OK, but why does the second example fail? It's also assigning it to a string class?
The only difference is that it's now a member variable.
m.s = t;

where "m" is a MyStruct type and m.s references the member variable MyStruct::s which is a std::string. So how is that any different than doing
std::string b = t;

The first one fails, the second one doesn't, yet both reference a std::string variable!

¡El diablo está en mis pantalones! ¡Mire, mire!

Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!

SELECT * FROM User WHERE Clue > 0
0 rows returned

Save an Orange - Use the VCF!
VCF Blog

GeneralRe: Weird C++ issue Pin
CPallini22-Mar-08 5:13
mveCPallini22-Mar-08 5:13 
GeneralRe: Weird C++ issue Pin
Rajkumar R22-Mar-08 8:14
Rajkumar R22-Mar-08 8:14 
GeneralNon-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 1:20
Shy Agam22-Mar-08 1:20 
QuestionRe: Non-GUI Application with small memory consumption... Pin
CPallini22-Mar-08 3:03
mveCPallini22-Mar-08 3:03 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 3:09
Shy Agam22-Mar-08 3:09 
GeneralRe: Non-GUI Application with small memory consumption... Pin
CPallini22-Mar-08 4:53
mveCPallini22-Mar-08 4:53 
GeneralRe: Non-GUI Application with small memory consumption... Pin
rp_suman22-Mar-08 3:55
rp_suman22-Mar-08 3:55 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:06
Shy Agam22-Mar-08 4:06 
GeneralRe: Non-GUI Application with small memory consumption... Pin
rp_suman22-Mar-08 4:17
rp_suman22-Mar-08 4:17 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:23
Shy Agam22-Mar-08 4:23 
GeneralRe: Non-GUI Application with small memory consumption... Pin
rp_suman22-Mar-08 4:32
rp_suman22-Mar-08 4:32 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:35
Shy Agam22-Mar-08 4:35 
QuestionRe: Non-GUI Application with small memory consumption... Pin
Moak22-Mar-08 4:11
Moak22-Mar-08 4:11 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:14
Shy Agam22-Mar-08 4:14 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Moak22-Mar-08 4:31
Moak22-Mar-08 4:31 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:34
Shy Agam22-Mar-08 4:34 
GeneralRe: Non-GUI Application with small memory consumption... [modified] Pin
Moak22-Mar-08 4:42
Moak22-Mar-08 4:42 

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.