Search:
Type: Posts; User: hoodoo
Search:
Search took 0.13 seconds.
-
January 18th, 2002, 07:49 AM
Hi Gurus,
In my application I need to drop files from different sources (strictly speaking not only files but e.g. MS Outlook attachments as well) into richedit (2.0) control. Thus I use...
-
September 12th, 2000, 06:50 AM
Try using ToolHelp API: CreateToolhelp32Snapshot(), Process32First(), Process32Next()...
Best regards,
Vitaly
-
September 12th, 2000, 06:37 AM
I'm afraid console applications don't receive keyboard messages.
Try adding console input handle (GetStdHandle(STD_INPUT_HANDLE)) to the object-handle array. When the console input handle is...
-
September 10th, 2000, 05:28 AM
http://codeguru.earthweb.com/buttonctrl/color_button.shtml
Best regards,
Vitaly
-
September 4th, 2000, 05:39 AM
#define D /##/
Best regards,
Vitaly
-
September 4th, 2000, 05:01 AM
Hi Javier,
I haven't ever used NotifyChangeEventLog() but according to MSDN documentation it registers an event (synchronization object) that is signaled when a new entry is written to the...
-
September 2nd, 2000, 11:06 AM
Okay, maybe it's not worth arguing about such unimportant things as underscores... :) I'm just curious to know how your compiler treats _try (a single leading underscore). Mine, VC++ 6.0, resolves it...
-
September 2nd, 2000, 10:07 AM
Strange... The code you posted works fine for me (provided I initialize the buffer). Try stepping into MFC code.
BTW by default CFileDialog uses buffer of the same length - MAX_PATH.
Regards,...
-
September 2nd, 2000, 09:56 AM
RegisterHotKey()
Regards,
Hoodoo
-
September 2nd, 2000, 09:25 AM
Found this in mfc\src\dlgfile.cpp (VC++ 6.0):
int CFileDialog::DoModal()
{
// ...
// zero out the file buffer for consistent parsing later
ASSERT(AfxIsValidAddress(m_ofn.lpstrFile,...
-
September 2nd, 2000, 08:09 AM
Hi Javier,
Make sure you pass the correct parameter to RegisterEventSource(). I'm afraid you simply mistyped: MSDN examples use "SamplApp" (not "SampAppl") event source name both when adding...
-
September 2nd, 2000, 05:41 AM
Sorry, the code in my previous post works (may work :) only because the main thread calls GetMessage() before the worker thread posts the message. The correct code would look like
// ...
int...
-
September 1st, 2000, 11:50 AM
__try-__except and __try-__finally (Structured Exception Handling statements in MS C/C++) are not the same as try-blocks in C++. Moreover, you cannot mix SEH statements and try-blocks in the same...
-
September 1st, 2000, 11:01 AM
Hi, Javier
Try compiling and executing the following code to check if your message dll is okay (give LoadLibrary() the full path to the dll):
#include <windows.h>
#include <iostream>
#include...
-
September 1st, 2000, 10:17 AM
Your console app doesn't need to have windows. For a thread to receive messages it just has to have message queue. The queue is created automatically at the first call to GetMessage() or...
-
September 1st, 2000, 07:30 AM
Really strange code... First, constructors cannot return anything:
// This is correct
Account::Account( double d )
{
_balance = d;
}
-
September 1st, 2000, 07:06 AM
Hi Javier,
First, make sure the dll contains message table: it is a (binary) resource of type 11 with id 1. If the resource is absent make sure you have added the .rc file generated by message...
-
August 31st, 2000, 11:13 AM
In reply to:
how do I turn of a Linker warning?
Try setting linker option /WARN[:level], for instance /WARN:0 though this does not suppress all warnings.
Forgot to say: use these tricks...
-
August 31st, 2000, 11:13 AM
In reply to:
how do I turn of a Linker warning?
Try setting linker option /WARN[:level], for instance /WARN:0 though this does not suppress all warnings.
Forgot to say: use these tricks...
-
August 31st, 2000, 10:46 AM
In reply to:
I try to never suppress warnings.
So do I :) But sometimes suppressing annoying warnings may be useful, especially when using STL. See Q154419...
-
August 31st, 2000, 10:46 AM
In reply to:
I try to never suppress warnings.
So do I :) But sometimes suppressing annoying warnings may be useful, especially when using STL. See Q154419...
-
August 31st, 2000, 09:56 AM
In reply to:
In the first line the compiler seems to execute the two -- operators in the correct sequence at the expected time.
myObj.pc=10;...
-
August 31st, 2000, 08:15 AM
What's the problem? :)
#include <windows.h>
#include <stdio.h>
void main()
{
ULARGE_INTEGER ulFreeBytesAvailableToCallerX;
ULARGE_INTEGER ulTotalNumberOfBytesX;
ULARGE_INTEGER...
-
August 31st, 2000, 06:34 AM
http://www.iseran.com/Win32/FAQ/except.html
Regards,
Hoodoo
-
August 31st, 2000, 06:20 AM
MSVC++ exception code is 0xE06D7363.
To get more codes and their meaning, start debugging with Visual Studio and select menu Debug | Exceptions...
Regards,
Hoodoo
|
Click Here to Expand Forum to Full Width
|