Search:
Type: Posts; User: indiocolifa
Search:
Search took 0.09 seconds.
-
January 7th, 2011, 05:59 PM
Has anyone experienced a situation where a child control "swallows" the WM_CLOSE message and the app does not exit?
I'm receiving WM_CLOSE successfully until a tooltip is displayed and closed...
-
January 6th, 2011, 11:57 PM
-
January 6th, 2011, 11:11 PM
Thank you very much Codeplug.
I removed the fatal calls from DllMain, but i'm still with the problem of how the following can be achieved:
1) External EXE posts a (e.g: DLL_UNLOAD_REQUEST)...
-
January 6th, 2011, 08:00 PM
I'm doing IPC between an EXE program and a DLL which is injected into another process via SetWindowsHookEx.
The problem is that I want to the DLL to unload when the main EXE quits, I'm doing that...
-
January 5th, 2011, 09:44 AM
I'm going with local IPC only and for a small desktop service, no harm. :)
-
January 4th, 2011, 11:57 PM
Thank you very much, I didn't know that mailslot handles supported overlapped I/O, I tried to implement it quickly and overlooked that.
:thumb:
-
January 4th, 2011, 05:33 PM
I've researched a MP3/MOD player years ago, used FMOD which is a great library. But maybe it's a bit overkill for your purposes.
http://www.fmod.org/
-
January 4th, 2011, 05:19 PM
There is any way to avoid polling on Win32 mailslots? I tried to use I/O completion with no results.
My code is structured like the MSDN example, which polls for new messages in a loop using...
-
January 2nd, 2011, 01:28 AM
Working. Awesome. Thank you very much for your help.
Maybe I forgot this snippet?
#if (_WIN32_WINNT >= 0x0501)
hBubble->ti.cbSize -= sizeof(void*);
#endif
Again, thanks.:thumb:
-
December 30th, 2010, 04:07 PM
I'm trying to display a balloon tooltip on the screen without specifying a parent window for it.
For this application purpose, my tooltip data and handle is "encapsulated" in my own handle...
-
December 2nd, 2010, 10:27 PM
I prefer to use VisualDDK. Supports IDE debugging through remote connection, and to VMWare/VBox machines via VirtualKD or emulated serial/IEEE1394 ports.
http://visualddk.sysprogs.org/
-
March 16th, 2008, 02:04 AM
I've this table to normalize where there are no primary keys and mutual functional dependencies.
The table is R = { a1,a2,a3,a4 }
Functional dependencies:
fd1 = a1->a2
fd2 = a2->a1
fd3 =...
-
January 16th, 2008, 07:54 PM
I'm searching for the following tools to work with VC++, free if possible:
- Class hierarchy designer (with patterns support ? )
- Boundschecker-like tool
- VC++ refactoring????
Thank you...
-
January 16th, 2008, 07:44 PM
Viceversa, c_str method of C++ strings can be used to convert a std::string to a C standard char* type.
-
January 16th, 2008, 07:42 PM
Strings can be constructed from chars. For example, here glGetString returns a char*, so ext is a std::string from a function that returns char*.
string ext ((const...
-
January 8th, 2008, 10:52 AM
Are you writing a driver? There's is a forum section for that topic.
Cheers!
-
January 8th, 2008, 10:39 AM
Exactly petter, I modified the post to point that. It's for integers.
For floats, may be a good math solution (not sprintf "hacks" :D ) is to iterate like ghovis proposed.
-
January 8th, 2008, 10:22 AM
For an integer :
int digits (T f)
{
return (1+floor(log10(abs(x)))));
}
For floats, I will use some form of sprintf, excepting the point or comma.
-
December 30th, 2007, 11:18 PM
Seems that disabling 'Whole Program Optimization' which delays code generation until link-time solved the problem...
-
December 30th, 2007, 11:16 PM
Well this is getting harsh. Now I'm getting corrupted variables on Release builds and NOT in Debug.
Compiler dissasembly on Debug (this is CORRECT):
extern "C" int main(int argc, char*...
-
December 30th, 2007, 02:39 AM
When I do not call the SDL function calls, I get a consistent value.
int main(int argc, char** argv)
{
CTerrain * tr = new CTerrain(384);
tr->generatePerlinNoise ( 4, 0.1 );
delete tr;...
-
December 30th, 2007, 12:35 AM
I'm getting a strange issue when calling a member function of a class I've defined. I'm trying to do Perlin Noise and writing to screen using SDL in Visual C++ 2005.
The main code is
...
-
June 17th, 2006, 02:39 AM
I'm trying to load a simple file with text lines on it and store on a proper structure. The code i'm working on is:
BOOL loadtextfile(char* filename, TEXTBUFFER* t)
{
FILE* fp;
char...
-
I'm trying to find the level of a node (which is the root of a subtree itself) in a general tree structure.
The structure definition is (JAVA):
public class ArbolGeneral {
private...
-
|
Click Here to Expand Forum to Full Width
|