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()...
Type: Posts; User: domokato
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()...
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...
Okay, I just traced through WndProcedure() and found that this line,
CPrintWindow* pWnd = (CPrintWindow*)GetWindowLongPtr(hWnd, 0);
and this line,
pWnd =...
Here's the wndproc:
static __declspec(dllexport)
LRESULT CALLBACK WndProcedure(HWND hWnd, UINT wMessage,
WPARAM wParam, LPARAM lParam)
{
//retrieve the pointer to...
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,...