Type: Posts; User: VictorN
Search took 0.24 seconds.
October 23rd, 2014, 04:02 PM
October 22nd, 2014, 01:14 AM
1. Do not attach photos. Attach code snippets instead. Read also the Announcements.
2. Compiler reported the following error in the "program to add two numbers.cpp" file on the line 7:You can find...
October 21st, 2014, 09:25 AM
Did you try
Edit: Wow! Philip was faster! :thumb:
October 21st, 2014, 08:55 AM
October 21st, 2014, 08:53 AM
Could this discussion help you?
October 21st, 2014, 02:45 AM
How long is this C# code? 100 lines, 200? 1000?
Do you know what this code has to do and how?
October 20th, 2014, 01:08 AM
October 19th, 2014, 02:35 AM
Perhaps you will find some ideas from this discussion.
October 18th, 2014, 02:38 AM
Did you debug your code?
What line causes the exception?
October 17th, 2014, 10:04 AM
1. Fill in the index array with the consequent numbers from 0 to size_of_array minus one;
2. Change your sorting procedure to compare the original array elements but to rearrange the corresponding...
October 17th, 2014, 02:43 AM
Then I'd use one of the MSFT product.
October 16th, 2014, 03:48 PM
Where and how?
October 16th, 2014, 08:24 AM
Who knows what could be "the best" for you? :confused:
However, it is pretty easy to use. Just try the XmlLite Samples:
Read an XML Document using XmlLite
Write an XML Document using XmlLite
October 16th, 2014, 01:08 AM
October 13th, 2014, 03:32 PM
And what does this Get() call return?
October 12th, 2014, 03:53 PM
Did you try CMFCToolBar::AdjustLayout or CMainFrame::RecalcLayout?
October 8th, 2014, 03:48 PM
Please, compare your "code" with mine:
Don't you see a difference?
October 8th, 2014, 02:11 PM
It is almost correct.
Note, however, that PostMessage could fail. In such a case you would have the memory leak.
To prevent it just write
CSt!ring * s = new CString("listitem");...
October 8th, 2014, 01:30 PM
I already gave you a link in the post#2 (and then I mentioned it again in the post#14) in your another thread.
October 8th, 2014, 07:00 AM
Your array is defined locally withing FBuffer(Int32 fbc).
Make it a member of the class.
October 8th, 2014, 06:57 AM
And where is your changed project?
October 8th, 2014, 04:48 AM
Yes, you can.
But it would be a very bad design. Global variables is evil. You have to avoid using them, at least when you can use local/class members instead (and in your case you can it!)
October 8th, 2014, 04:44 AM
Why do you create/start dialog from within the OnPaint? You must not!
OnPaint - is only for painting, not for controls manipulation!
Note also that this CMain obj goes out of scope (when OnPaint...
October 8th, 2014, 04:11 AM
(Almost) all is possible.
Why do you open Dialog 2 immediately? Open it after you have read the password!
And, please, define what you mean by "open the database globally".
October 8th, 2014, 03:23 AM
Is there some very important reason for you to use QSerialPort in Windows?
There is a lot of MFC and non-MFC classes to work with serial port under Windows. And the most of them supply also the...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.