Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: indiocolifa

Page 1 of 26 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,226

    WM_CLOSE not received

    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...
  2. Replies
    3
    Views
    1,399

    Re: SetEvent not signalling in hooked DLL

    Solved. :)
  3. Replies
    3
    Views
    1,399

    Re: SetEvent not signalling in hooked DLL

    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)...
  4. Replies
    3
    Views
    1,399

    SetEvent not signalling in hooked DLL

    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...
  5. Re: Mailslot polling (asynchronous possible?)

    I'm going with local IPC only and for a small desktop service, no harm. :)
  6. Re: Mailslot polling (asynchronous possible?)

    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:
  7. Thread: MP3 Player

    by indiocolifa
    Replies
    5
    Views
    857

    Re: MP3 Player

    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/
  8. Mailslot polling (asynchronous possible?)

    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...
  9. Replies
    3
    Views
    1,282

    Re: Tooltips without parent (on desktop)

    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:
  10. Replies
    3
    Views
    1,282

    Tooltips without parent (on desktop)

    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...
  11. Replies
    6
    Views
    30,286

    Re: Combine WDK with Visual Studio

    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/
  12. Replies
    1
    Views
    790

    Help With Normalization

    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 =...
  13. Replies
    1
    Views
    648

    Need some free tools!

    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...
  14. Re: Is there a way to cast a char to a string?

    Viceversa, c_str method of C++ strings can be used to convert a std::string to a C standard char* type.
  15. Re: Is there a way to cast a char to a string?

    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...
  16. Re: How to get correct result on "Read Native Max Address Ext"(0x27) command? (XP-SP2)

    Are you writing a driver? There's is a forum section for that topic.

    Cheers!
  17. Replies
    7
    Views
    818

    Re: Calculating number of digits?

    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.
  18. Replies
    7
    Views
    818

    Re: Calculating number of digits?

    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.
  19. Re: Member function parameter corruption ???

    Seems that disabling 'Whole Program Optimization' which delays code generation until link-time solved the problem...
  20. Re: Member function parameter corruption ???

    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*...
  21. Re: Member function parameter corruption ???

    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;...
  22. Member function parameter corruption ???

    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


    ...
  23. Loading text lines cause memory corruption

    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...
  24. Finding level of a node on general trees

    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...
  25. Replies
    6
    Views
    8,708

    Re: Header does not see definition

    Solved thanks.
Results 1 to 25 of 633
Page 1 of 26 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center