Click here to Skip to main content
15,889,992 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDebugging Pin
rrrado6-Nov-07 4:06
rrrado6-Nov-07 4:06 
QuestionHelp understanding C++ data types Pin
mifareman6-Nov-07 3:41
mifareman6-Nov-07 3:41 
AnswerRe: Help understanding C++ data types Pin
toxcct6-Nov-07 3:54
toxcct6-Nov-07 3:54 
GeneralRe: Help understanding C++ data types Pin
mifareman8-Nov-07 1:03
mifareman8-Nov-07 1:03 
AnswerRe: Help understanding C++ data types Pin
BadKarma6-Nov-07 4:00
BadKarma6-Nov-07 4:00 
GeneralRe: Help understanding C++ data types Pin
mifareman8-Nov-07 1:01
mifareman8-Nov-07 1:01 
GeneralRe: Help understanding C++ data types Pin
BadKarma8-Nov-07 22:50
BadKarma8-Nov-07 22:50 
GeneralRe: Help understanding C++ data types Pin
mifareman9-Nov-07 3:51
mifareman9-Nov-07 3:51 
Hey BadKarma. I really appreciate your efforts but this didn't help.
I set about trying to get the C++ code working in VS.NET, and I'm tearing my hair out with it!! I got so close, and it was building okay, then I had to read in from a text file. I thought this would be easy, particularly as Microsoft provided a very useful walkthrough. But no matter where I put this line of code;

StreamReader *objReader = new StreamReader("c:\\test.txt");

I get this error;

C3699: '*' cannot use this indirection on type 'System::IO::StreamReader'

I am 'using' System::IO and System::Collections in the header file but this error means I cannot compuile and therefore go any further. I got so close too!

It must be something relatively simple but I am totally unfamiliar with managed C++ (or any C++).

If you can help me to read up from my text file, I will be able to watch the original C++ code in action which will enable me to work out whats going on.

Yours gratefully
Richard
GeneralRe: Help understanding C++ data types [modified] Pin
BadKarma9-Nov-07 4:46
BadKarma9-Nov-07 4:46 
AnswerRe: Help understanding C++ data types Pin
Nelek6-Nov-07 21:38
protectorNelek6-Nov-07 21:38 
GeneralRe: Help understanding C++ data types Pin
mifareman8-Nov-07 1:05
mifareman8-Nov-07 1:05 
QuestionCan't return the type of <code>_ConnectionPtr*</code> when using ado [modified] Pin
followait6-Nov-07 2:59
followait6-Nov-07 2:59 
AnswerRe: Can't return the type of &quot; _ConnectionPtr* &quot; when using ado Pin
toxcct6-Nov-07 3:12
toxcct6-Nov-07 3:12 
GeneralRe: Can't return the type of &quot; _ConnectionPtr* &quot; when using ado Pin
followait6-Nov-07 3:17
followait6-Nov-07 3:17 
GeneralRe: Can't return the type of &quot; _ConnectionPtr* &quot; when using ado Pin
toxcct6-Nov-07 3:19
toxcct6-Nov-07 3:19 
GeneralRe: Can't return the type of &amp;quot; _ConnectionPtr* &amp;quot; when using ado Pin
followait6-Nov-07 3:29
followait6-Nov-07 3:29 
GeneralRe: Can't return the type of &amp;quot; _ConnectionPtr* &amp;quot; when using ado Pin
rrrado6-Nov-07 4:11
rrrado6-Nov-07 4:11 
GeneralRe: Can't return the type of &amp;quot; _ConnectionPtr* &amp;quot; when using ado Pin
followait6-Nov-07 14:07
followait6-Nov-07 14:07 
GeneralRe: Can't return the type of &amp;quot; _ConnectionPtr* &amp;quot; when using ado Pin
rrrado6-Nov-07 22:18
rrrado6-Nov-07 22:18 
QuestionHow can i print whole screen content through printer? Pin
bankey10106-Nov-07 2:41
bankey10106-Nov-07 2:41 
AnswerRe: How can i print whole screen content through printer? Pin
led mike6-Nov-07 4:03
led mike6-Nov-07 4:03 
AnswerRe: How can i print whole screen content through printer? Pin
Nelek6-Nov-07 21:34
protectorNelek6-Nov-07 21:34 
QuestionHow can i a resource to an Document/view application? Pin
Gofur Halmurat6-Nov-07 2:28
Gofur Halmurat6-Nov-07 2:28 
QuestionRe: How can i a resource to an Document/view application? Pin
Maximilien6-Nov-07 2:44
Maximilien6-Nov-07 2:44 
AnswerRe: How can i a resource to an Document/view application? Pin
Gofur Halmurat6-Nov-07 2:49
Gofur Halmurat6-Nov-07 2:49 

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.