Type: Posts; User: Igor Vartanov
Search took 0.38 seconds.
February 8th, 2016, 03:06 AM
To re-design anything you have to clearly understand the root cause of your present issue. You say you understand you need to handle WM_CHAR message. The problem with the message, or any other...
January 29th, 2016, 04:28 PM
Mike, I don't think that just splitting a code base to several binary modules could help to organize the code better. I think that introducing an additional interface, or several ones, without a real...
January 29th, 2016, 04:46 AM
The very first step, always and unconditionally, is clear and consistent explanation of the requirements.
The very first step to clear and consistent explanation is identifying points that may...
January 27th, 2016, 04:00 AM
First thing you have to understand is that MySQL is a product, but not a language. The language is SQL, or better say MySQL's dialect of standard SQL.
There are tools supplied as a part of MySQL,...
January 22nd, 2016, 07:59 AM
Well, in case you mean Windows hooks, doesn't it fit with "different EXE modules are to access the same piece of code"? :)
January 22nd, 2016, 04:20 AM
The limitation is: crafting DLL requires quite a discipline and clear understanding of why you do what you do.
Why would you need your code be a DLL, but not a part of EXE? There may be the only...
January 22nd, 2016, 03:12 AM
Any control is just a window. Any window can be made be a child of another window under condition you do it right. For example, a dialog can be embedded into another dialog or overlapped window. So...
January 22nd, 2016, 02:39 AM
My FAR Manager plugin shows shutdown.exe imports used from ntdll.dll:
January 21st, 2016, 07:43 AM
A little input:
#pragma comment(lib, "advapi32")
January 20th, 2016, 06:19 AM
How RPC Works
I believe most of the times what you need to know about RPC authentication is that it exists and works properly. Distributed COM builds on top of RPC, and I never had an issue of...
January 20th, 2016, 06:01 AM
Well, natural thing to ask about is if the remote server version is high enough to support the InitiateShutdown API. Did you try that with different server platforms? My guess is W2008 Server is...
January 19th, 2016, 03:54 PM
First thing I would try was dropping install updates flag. Second would be specifying some specific reason code instead of the zero.
January 17th, 2016, 03:12 PM
Mike, structure is just a data type declaration. Header thing. It just cannot have anything to do with static library, as library is able to contain definitions (function bodies or global variables)...
January 13th, 2016, 02:59 AM
Then LoadImage is not your problem. As I said before. :)
January 12th, 2016, 10:48 AM
Look, your explanation explains really not a thing. It doesn't matter for issue resolution what you want in general, or where you get the path from. The question was what exactly does not work. And...
January 12th, 2016, 06:58 AM
Well, you never say what exactly does not work in your code. Did you test hbit for being not NULL after the call? In case it is not, the LoadImage() call works fine, and your problem is somewhere...
January 10th, 2016, 09:14 AM
The said dtors get called only when app window is closed. Closing console seems merely killing the process.
January 10th, 2016, 03:57 AM
I've built your TestConsole2 project with minor changes (removed unnecessary d3d.h inclusions and assigned valid string to m_pszWindowTitle) and found it working in my Win7 64-bit just fine....
December 30th, 2015, 03:06 AM
I wonder if it's so hard to spend a couple of dozen minutes to write a simplistic app to confirm or disprove your thoughts?
The sample goes. The app successfully gets closed either by console...
December 28th, 2015, 09:49 AM
Sending/posting strings across thread boundaries always looked to me like a bad idea, unless you are to deal with standard/common windows controls. There always is (well, most of the times is) some...
December 28th, 2015, 07:08 AM
It looks like you're trying to link with the dll built by some older version of VC and STL. The issue is the exported prototypes requiring the same version of STL the dll was built with.
December 22nd, 2015, 06:27 AM
You may use CString inside your library, but you must not let it in or out of the one. Use LPCTSTR in function prototypes and take care of underlaying CString lifecycle.
December 22nd, 2015, 05:55 AM
CTime a = CTime::GetCurrentTime();
printf("%s\n", a.Format("%a %d, %b %Y %H:%M:%S"));
December 22nd, 2015, 02:47 AM
Database stores timestamp format in its internal binary (not a string) representation never depending on location/culture format. Therefore, you need to obtain it in the same culture-independent...
December 21st, 2015, 02:51 PM
In case program makes use of some framework, the main function may be in implemented by the framework code. Depending on the form of distribution, the framework code may be not provided to end user.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!