So I just decided to use PB to create a console DLL.
It runs fine but...
Every time I move the CONSOLE window, it leaves behind an image of itself and that too on the calling application and one nothing else

Any remedies?
And How do I use WinAPI in PB.
I know that the commands have to have an underscore in them but lets say ..
Code: Select all
CreateWindow(
LPCTSTR lpClassName, // pointer to registered class name
LPCTSTR lpWindowName, // pointer to window name
DWORD dwStyle, // window style
int x, // horizontal position of window
int y, // vertical position of window
int nWidth, // window width
int nHeight, // window height
HWND hWndParent, // handle to parent or owner window
HMENU hMenu, // handle to menu or child-window identifier
HANDLE hInstance, // handle to application instance
LPVOID lpParam // pointer to window-creation data
);
How do I implement it in PB.
An example would help me out.
Thanks