Search:
Type: Posts; User: Alex F
Search:
Search took 0.56 seconds.
-
August 3rd, 2015, 07:59 AM
Can you use float data member instead of double? Otherwise, just use CString type and write formatting/validation code manually.
-
July 12th, 2015, 05:46 AM
What about desktop Win32 application?
-
July 12th, 2015, 03:05 AM
Just a thought: cmd.exe itself is a GUI process, like calc.exe. The difference is that it is written without .NET, WPF and other modern Windows crap.
-
Use Marshal.GetFunctionPointerForDelegate Method. It returns IntPtr. Declare first parameter of RegisterEventHandler in C# as IntPtr and pass the value returned by GetFunctionPointerForDelegate to...
-
There are many small details in post mortem debugging. First, how dump file is created? If you use MiniDumpWriteDump, dump type should be at least MiniDumpNormal for native application. Assuming that...
-
"windbg is not acting correctly" - not too much informative. Did you set source, exe and .pdb directories in WinDbg? Is the program built with debug information? Do you have .pdb and source files on...
-
Do you know C# or any other .NET language? This is very simple task for .NET SerialPort class.
-
June 18th, 2015, 06:57 AM
array<System::Byte>^ Bytes = reportViewer1->LocalReport->Render("PDF", "");
-
June 10th, 2015, 01:34 AM
You can keep std::thread as class member. When you want to start it in any place, create another thread instance, specifying the thread function, and assign it to the class member, see thread...
-
June 10th, 2015, 01:02 AM
#pragma may be also in some h-file, which is not part of the project, but included to one of the project files. Look also at linker command line in the project properties.
-
June 10th, 2015, 12:34 AM
They can use
#pragma comment(lib, ...)
in some code file. There is also strange way just to add library to the project, like it is done with source files, this gives the same effect.
-
April 14th, 2015, 12:29 AM
Fantastic. Incredible. Unbelievable.
-
April 13th, 2015, 02:06 AM
Probably he means InterlockedCompareExchangeRelease function: https://msdn.microsoft.com/en-us/library/ff547867.aspx
-
February 9th, 2015, 10:58 AM
C++/CLI form designer places all code to h-file, and creates .cpp file with a single line #include "Form1.h" This is because it works by the same algorithm as C# and VB .NET designer. You can move...
-
January 5th, 2015, 09:14 AM
Unreadable and undebuggable. Just use plain C++ code for every property. Don't forget that get functions are usually defined as const.
-
December 31st, 2014, 09:34 AM
ofs_differential.write((char*)picture, ...);
picture is already pointer, remove unnecessary &
-
December 31st, 2014, 09:23 AM
Yes, these two declarations are the same, and in this context there is no need to use the first one (though the code is correct). auto return type with -> return-type syntax is used in templates. ...
-
December 8th, 2014, 10:03 AM
You can add internal loop and call rand until it generates desired number - odd or even.
-
December 1st, 2014, 03:25 AM
Probably you can explain this better, I don't think somebody can understand your question.
-
November 27th, 2014, 09:13 AM
OK, you can replace IncBuffer.insert with the code from my first post. Is there some problem with this?
-
November 27th, 2014, 08:26 AM
So, you need to add some buffer (char*) to vector. I don't see any reason to use vector iterator for reading plain char array. Please show some more code to get an advice how to rewrite it. For...
-
November 27th, 2014, 08:16 AM
-
November 18th, 2014, 01:41 AM
This is not mangling, it just causes GetProcAddress to fail. Maybe calling convention. Anyway, instead of these explanations, please post your code.
-
November 10th, 2014, 11:03 AM
Maybe you can detect whether lpszPathName is a network path, and then ask user to select line-end type. If file name is local, save with Windows line-ends.
-
October 30th, 2014, 04:19 AM
What is initial data[j] value?
Can you reduce this sample to single line of code, with hard-coded j value, which is supposed to give some result, but gives something else?
|
Click Here to Expand Forum to Full Width
|