Search:
Type: Posts; User: tcp1
Search:
Search took 0.03 seconds.
-
this code crashed in my VSproject/debug:
vector<vector<vector<double>> > array(1500,vector<vector<double>>(2000, vector<double>(20)));
What is best way to release a 1d,2d,3d vector?. I need to...
-
April 11th, 2015, 10:13 PM
As I remember, with the new protocol the first 8 bytes in the file, when I used the notepad as the viewer, were extended ASCII characters and maybe these are not supported by Microsoft, VS?. ...
-
April 11th, 2015, 09:38 PM
I do not have the access to the file at this moment. This is a new protocol, 8 bytes + the appended string... This is the new library ... with new protocol ... That 15 bytes is replaced with 8...
-
April 11th, 2015, 12:16 PM
Good suggestion. Looked the file up under an hex editor. The first 8 bytes where the number of bytes. Then after, the bytes for the actual text that seem to be correct and the then the 2FEF bytes....
-
April 10th, 2015, 12:10 AM
when I write the buf to file using WriteFile, the content of file is: 15 unreadable characters followed by 50 readable characters and the rest are I'..
When I do the following, I get the 50...
-
April 9th, 2015, 03:04 PM
Got something like the following. A button that read characters from a thrid party tool and sends it to a listbox.
But the contant is not readable.
void dlg::sendtolistbox()
{
unsigned char...
-
February 24th, 2015, 01:49 AM
How to check the type of argument passed to each function, checktype, in below?.
void checktype(void *p)
{
}
or
template <typename Type>
Type checktype(Type t) {
-
February 15th, 2015, 09:06 PM
startthread get called to launch to update list box.
a)is it the only way to pass string to the PostMessage?. my concern is that allocate using new in each iteration each time slows it down a bit. ...
-
February 8th, 2015, 11:45 PM
Thanks for the help. Helped me a lot.
-
February 7th, 2015, 11:11 PM
Hi,
Either my question was misunderstood or I misunderstood the answer.
if:
mydouble = roundeddouble(1.799999,1); //is supposed to return 1.8.
why in debug mode after the function is executed,...
-
February 7th, 2015, 12:44 AM
I got two issues:
one is that Using VS2012, the recursive code in below crashes in case of passing large numbers in debug mode. With small numbers seems to work. Also, in release mode seems to work....
-
December 13th, 2014, 10:46 AM
With some changes, Got it working. Just liked to get the concept behind it.
Thank You All.
-
December 13th, 2014, 12:45 AM
My apologies for my silly request. To learn more about MFC, i tried the topic in this link:
http://www.codeproject.com/Articles/2120/Getting-Timer-Events-in-a-CDocument-derived-class
My...
-
November 15th, 2014, 03:48 PM
#include <iostream>
using namespace std;
int main()
{
cout << "Hi!" << endl;
return 0;
}
I am back at my c++ programming, my visual studio is 2012 with service pack 4. I made a...
-
yes, I skipped the step#2, it did not gave me exactly what I wanted but it was one way to do it. I did not get the corner module to drag the GUI wider or shrink it. I may go back to it. I tried to...
-
it is MFC and I like to be able to expand or shrink the pages using mouse by selecting the lower right corner ... or however else possible...
-
any easy way to resize property sheet/page dialogs automatically or semi automatically?. have tried too many stuff, but none were fruitful. I need fresh ideas.
-
March 13th, 2014, 10:45 AM
ok, you mean the fact that in debug mode with RT option /MD, with couple of warnings only, is ok and will not give me problems.
In release mode and /MD, this should be fine then, I do not get any...
-
March 13th, 2014, 01:59 AM
when I linked my mfc single document app to a 3rd static library, in debug mode it gave LNK 2005 errors. In debug when I switched the run time flag to /MD it gave me couple of NODEFAULTLIB:library...
-
March 1st, 2014, 03:43 AM
a MFC dll using ActiveX control, consider the case when the content of Start() is uncommented, and within OpenDialog(), AFX_MANAGE_STATE(AfxGetStaticModuleState( )); is commented. In this case the...
-
July 10th, 2013, 01:41 AM
mfc dialog based:
//CImageView.cpp:
void CImageView::OnMouseMove(UINT nFlags, CPoint point)
{
CPoint ptImg = GetScrollPosition() + point;
sprintf(buffer,"%d %d %d", ptImg.x, ptImg.y,...
-
within visual studio 2010, i like to dump the debug executable to another directory where all other DLLs exist and debug it from there. How to do this step by step?. I tried but i was getting start...
|
Click Here to Expand Forum to Full Width
|