|
More site info...
Visual C++ / MFC | Forum profile
|
|
Forum profile page for Visual C++ / MFC on http://www.codeproject.com.
This report page is the aggregated overview from a single forum: Visual C++ / MFC, located on the Message Board at http://www.codeproject.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Visual C++ / MFC" on the Message Board at http://www.codeproject.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Visual C++ / MFC:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
146
|
537
|
1,448
|
|
Post:
|
483
|
1,995
|
5,178
|
|
|
Visual C++ / MFC Posting activity graph:
|
Top authors during last week:
user's latest post:
Help with Error Message
Published (2009-11-29 11:43:00)
cdpace wrote: unresolved external symbol _sqlite_freemem This indicates that either you have spelt this function name wrongly, or the libary that includes the function has not been added to your project. Check that you have added all the pre-requisites for CppSQLiteWrapper . I don't know where you got this code from but it may be quicker if you go back to the source and ask your question there.
user's latest post:
string concat
Published (2009-11-29 04:49:00)
nuttynibbles wrote: strarray[i] = "Rule " + "; hello world"; Because in that case you try to concatenate char arrays, not std::string. Thus, there's no + operator overloading for char arrays. The + operator is overloaded by the string object, so it means the left operand of the + has to be a string, not a char array.
user's latest post:
Question about double #INF and #NAN
Published (2009-11-27 14:03:00)
Well, while your values represent correctly NAN values, they (according to that Wikipedia page) don't cover all the possibilities.
user's latest post:
Overlap Message on WM_TIMER
Published (2009-11-27 05:28:00)
This is a misuse of WM_TIMER, because it is to often so it will lower performance with its overhead. If you need such high frequencies of calling write a seperate thread which handles such stuff.
user's latest post:
one question, who can help me?
Published (2009-11-26 09:26:00)
i didn't try, but i create a parent window in the same process, it works!
user's latest post:
Dev C++ cant accept vector??
Published (2009-11-29 12:57:00)
i have these headers #include <iostream> #include <sstream> #include <fstream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <ctype.h> #include <map> #include <vector> using namespace std;
user's latest post:
What does this mean about the...
Published (2009-11-29 21:55:00)
wangningyu wrote: but if you use "/Od" , it doesn't print Error. why ??? Because /Od suppresses code movement, the compiler likely removed the if () block since it detects i is never less than 0 .
user's latest post:
string concat
Published (2009-11-29 05:40:00)
No. You would either use a structure that prevents duplicates (e.g. .NET SortedList in C# --- not sure if there is one in C++) or use qsort, std::sort, and then identify duplicates.
user's latest post:
Message mapping
Published (2009-11-29 14:18:00)
msr_codeproject wrote: What is the entry point for Message Mapping? "Entry point"? Probably they wanted to ask about the class that is the base for message mapping architecture in MFC? In which case, it is CCmdTarget [ ^ ] There are macros that might be of your interest: DECLARE_MESSAGE_MAP [ ^ ] BEGIN_MESSAGE_MAP [ ^ ] and END_MESSAGE_MAP [ ^ ] You might want to read on Message Handling and Mapping [ ^ ]
|
|
|
|
Latest active threads on Visual C++ / MFC::
Started 1 day, 1 hour ago (2009-11-30 11:19:00)
by loyal ginger
I am not sure about what you are trying to do. What types of operations do you want to undo/redo? You have to give details about your project.
Started 1 day, 8 hours ago (2009-11-30 04:32:00)
by _AnShUmAn_
How are you creating your window? Do you use the WS_CHILD value while creating it?
Started 1 day, 3 hours ago (2009-11-30 09:58:00)
by Richard MacCutchan
Please read the guidelines on posting above. Then, post the section of your code that is failing and include a proper description of what is not working.
Started 1 day, 1 hour ago (2009-11-30 11:27:00)
by Richard MacCutchan
Aljaz111 wrote: I don't know where to ask this The NASM Forum [ ^ ] sounds like a good place.
Started 1 day, 15 hours ago (2009-11-29 21:54:00)
by Joe Woodbury
Appears to be a compiler bug. It disassembles to: ; 12 : ; 13 : for ( int i = 536000000 ; i < 536000004 ; ++i) 00003 b9 00 b6 f2 1f mov ecx, 536000000 ; 1ff2b600H 00008 b8 00 d8 ca 7f mov eax, OFFSET FLAT:_?T@?1??main@@9@4QBHB+2144000000 $L585: ; 14 : { ; 15 : if (i < 0 ) 0000d 3d 00 00 00 00 cmp eax, OFFSET...
Started 1 day, 3 hours ago (2009-11-30 09:42:00)
by dxlee
One solution is to build an index to the records in the file.
Started 1 day, 3 hours ago (2009-11-30 09:57:00)
by Richard MacCutchan
You don't need the stringstream variable. Just use s1 = buffer; and it will create a string from the contents of buffer .
Started 1 day, 4 hours ago (2009-11-30 08:30:00)
by Member 3922639
Maybe you need to check HRESULT to see what is wrong. However, have you called CoInitialize or CoInitializeEx first? And finally, you can write: HRESULT hres = sobj.CreateInstance(OLESTR("ScriptObj.ScriptObj")) ;
Started 1 day, 4 hours ago (2009-11-30 08:30:00)
by Ted2102
Ouch. Please let me know if you learn how to update these automatically via the command line. For the project settings, I have all of my projects using .vsprops files for project settings. You also might be able to modify the .vcproj files, but back them up first just in case.
Started 1 day, 3 hours ago (2009-11-30 09:15:00)
by Covean
The status is a flag value, what means every bit that is set has his own meaning. In your case 33 equals 0x21 (hex) equals 100001b (binary), what means the first and the sixth bits are set. Now if you look at th attributes: enum Attribute { normal = 0x00, readOnly = 0x01, hidden = 0x02, system = 0x04, volume = 0x08, directory = 0x10, archive = 0x20 }; You will see the 33 (0x21) means it is a ...
|
|
Hot threads for last week on Visual C++ / MFC::
Started 1 week, 1 day ago (2009-11-23 05:56:00)
by Cedric Moonen
Why do you put the definition of your function in a header file ? Usually it is much better practice to move it to a cpp file. Anyway, what you can do to remove your problem is make use of include guards. Surround your code in the file with this (replace MYFILE by something unique, typically the file name): #ifndef MYFILE #define MYFILE .... // The rest of the header comes here #endif...
Started 5 days, 6 hours ago (2009-11-26 06:11:00)
by Covean
Is your edit control read-only or disabled? From MSDN: Read-only or disabled edit controls do not send the WM_CTLCOLOREDIT message; instead, they send the WM_CTLCOLORSTATIC message.
Started 4 days, 1 hour ago (2009-11-27 11:54:00)
by CPallini
Started 1 week ago (2009-11-24 11:19:00)
by Chris Losinger
yeah1000 wrote: function2 requires a pointer to BYTE value not a BYTE array... in C/C++, there is no ( syntactical) difference between a pointer to a single variable and a pointer to the start of an array.
Started 6 days, 8 hours ago (2009-11-25 04:02:00)
by Cedric Moonen
Why do you want to do something like that ? It doesn't make any sense...
Started 6 days, 10 hours ago (2009-11-25 02:32:00)
by Cedric Moonen
What do you mean exactly by converting ? What do you have to convert to text file ?? Your question is totally unclear, please rephrase it properly. Or do you mean that your wav file is in fact somebody speaking and you have to convert that into text ?
Started 5 days, 9 hours ago (2009-11-26 03:32:00)
by Stuart Dootson
By using something like a custom edit control, possibly? That's one which you pretty much write yourself... The blue selection thing is kind of built into the standard controls - and into the standard Windows UX. How are you going to indicate a selection?
Started 5 days, 20 hours ago (2009-11-25 16:11:00)
by Stefan76
The Platform SDK you choose does not depend on your version of Visual Studio but your Platform (Win2000 , XP 32/64 , Vista ...). However I wonder what you have downloaded. 15 single files? I don't know such distribution. I recommend you to install the latest SDK which can be downloaded here: http://www.microsoft.com/downloads/details.aspx?di splaylang=en&FamilyID=e6e1c3df-a74f-4207-8586-...
Started 3 days, 23 hours ago (2009-11-27 13:14:00)
by Richard MacCutchan
a04.lqd wrote: my teacher give an exercise: And that was to help you learn to do things for yourself , not to get someone else to do it for you. Read your course notes.
Started 1 week, 1 day ago (2009-11-23 08:22:00)
by HimanshuJoshi
kikoso wrote: CREATE_SUSPENDED, This is the problem. If you use this attribute then the thread is created in suspended state. More Info Here [ ^ ] If you want the thread to start as soon as you launch the application, don't create a thread in suspended state. If you want to create in suspended state, then you can use ResumeThread() function.
|
|