Search:
Type: Posts; User: J_W
Search:
Search took 0.01 seconds.
-
Ok point taken, will do. However many times on here I do get good input on here as to specifically where to RTFM, as your current post content (in addition to the RTFM) helps also. Thanks.
...
-
Oh, ok, for some reason I thought that might foobar the MFC framework that made it protected. Wonder why the derived CFormView class has a protected ctor and the other derived classes don't. Maybe I...
-
I need to create an object of a mfc derived CFormView class that's not in the doc/template (a second view class).
but it was generated with a protected ctor. Here's the code explanation with...
-
I like that even better, now the includers (the cpp files) don't even have to worry with it, since it's covered right in the original header. I've never seen this method before, thanks.
Ah...
-
Outstanding decipher, the voice of experience speaks.
So then in my novice mind I'm guessing that since #include "ViewSwitchDoc.h" was always in the ViewSwitchView.cpp implementation file, this...
-
Compiler error output,
1>MainFrm.cpp
1>z:\. . . . viewswitchview.h(19) : error C2143: syntax error : missing ';' before '*'
1>z:\. . . . viewswitchview.h(19) : error C4430: missing type specifier...
-
No it's the Pro Version, bought and paid for, albeit I got it late, about 3 yrs ago at a discount price. But it's a registered bonafide package.
It's not a big problem anyhow cause there really is...
-
Not sure bout 2010, but 2005 it's only sizable by dragging the edges.
-
For 2005 Visual Studio (v.8) in the wizard for adding an event handler, I found info at this link
http://msdn.microsoft.com/en-us/library/23w347xy(v=vs.80).aspx
that is not the case with my 2005...
-
Thanks I stored that info on my drive. BTW what's your input on using fstream etc C++ stream classes with wchars. I've read in the past that you have to always open the file in binary mode and work...
-
Well that's an aspect I've never realized before.
I tend to agree with that logic in as much as I can encompass the whole of it.
-
Good point Arjay, actually I used to use TCHAR all the time, but some folks seem to think it a performance hit (in some scenarios of Unicode compiles) and lean towards just making two separate...
-
YES! Thank you, I spotted it myself as soon as I posted it, Yea right! you are probably saying. But as soon as I looked it on the forum my mind woke up. Thanks to VictorN and you both.
-
Yes I did in the MyFileClass.cpp file.
*later update edit-> Opps just saw my stupid error thank you so much for jogging my dumb inexperienced mind.
See code fix inserted. Ahhhhhh what a stupid...
-
Thanks you are right. (I will research my original question of "extern" later in the docs.)
I will now try your get the pointer method above.
I had already had trouble with my previous...
-
MFC application.
I created a file access class for simple debug stuff that's not needed to run thru the document's serialize. I want to be able to call it from anywhere or any class, so I figured I...
-
Wow that is one of the better threads I've ever read on this. Thanks for fronting it to me. The answers where mixed as usual but very thorough and informative.
-
Thanks that's a good point. I have another question on that subject.
1. Do a lot of folks still consider the recompile portability of TCHAR a good thing now days or are more folks leaning towards...
-
Thank you for that verification. I should have done that, I know from the past that can be quite tedious and time consuming, but no excuse.
I figured that might be the case, but glad you...
-
The following code compiles with no errs and works.
However my VC Pro 2005 Intellisense shows a bunch of stuff but does not show anything for-> ::in <-OR-> ::out ON <-std::fstream::
I'm wondering...
-
April 25th, 2013, 11:49 AM
Point understood, thank you. 100 bytes compared to 4.
-
April 25th, 2013, 07:12 AM
Thanks for the explanations. I kinda see what your are taking about. I guess I need to do some experimental evaluations to make it more clear to me. I had always thought an Char array was the same as...
-
April 24th, 2013, 10:29 PM
I have a question as to why the two shown func args are different? See comments (yes I am novice)
struct MyFileClass
{
.....other code
void MyFileOut( TCHAR* pS, DWORD pVar)
{
...
-
June 10th, 2011, 06:07 AM
Ok so you have heard of it. Actually there is more to it than just static linking if you read some of the blogs. In any case so far it appears MS has not offered anything for it.
-
June 10th, 2011, 04:55 AM
Well actually since I haven't used my compiler since the April update, I kinda felt like I would be one of the last folks to find this out. I guess maybe only a few folks are still using MFC now...
|
Click Here to Expand Forum to Full Width
|