Search:

Type: Posts; User: domokato

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    11,849

    Hi, I found this thread: how splwow64 works -...

    Hi, I found this thread:

    how splwow64 works - Windows Device Drivers

    which says that a printer driver plugin running in the context of splwow64 (which mine is) should not call CreateDC()...
  2. Replies
    7
    Views
    11,849

    Yes, thank you. It used to be 4, actually, but I...

    Yes, thank you. It used to be 4, actually, but I changed it to sizeof(CPrintWindow *) and now the window displays.

    However, the contents of the window doesn't show up. It is painted using...
  3. Replies
    7
    Views
    11,849

    Okay, I just traced through WndProcedure() and...

    Okay, I just traced through WndProcedure() and found that this line,


    CPrintWindow* pWnd = (CPrintWindow*)GetWindowLongPtr(hWnd, 0);

    and this line,


    pWnd =...
  4. Replies
    7
    Views
    11,849

    Here's the wndproc: static...

    Here's the wndproc:



    static __declspec(dllexport)
    LRESULT CALLBACK WndProcedure(HWND hWnd, UINT wMessage,
    WPARAM wParam, LPARAM lParam)
    {
    //retrieve the pointer to...
  5. Replies
    7
    Views
    11,849

    CreateWindowEx() failing with 64-bit

    Hi guys,

    I'm new to this forum and fairly new to Windows programming as well. Anyway, I inherited some code from a previous engineer that works fine in 32-bit, but fails in 64-bit. In 64-bit,...
Results 1 to 5 of 5