Posted By: krial057
CloseClipboard Parameter - 10/16/12 21:14
I wonder what I have to pass as parameter to CloseClipboard. The declaration in windows.h is:
long WINAPI CloseClipboard(long);
msdn says, that CloseClipboard sholdn't get any parameters:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms649035%28v=vs.85%29.aspx
If I pass NULL, the engine crashes. I replaced the line with
long WINAPI CloseClipboard();
in windows.h and now everything appears to work fine.
Is it a bug in 3dgs or am I doing something wrong? :S
regards Alain
Example code:
EDIT: I think its not only CloseClipboard but also some others(like EmptyClipboard)
long WINAPI CloseClipboard(long);
msdn says, that CloseClipboard sholdn't get any parameters:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms649035%28v=vs.85%29.aspx
If I pass NULL, the engine crashes. I replaced the line with
long WINAPI CloseClipboard();
in windows.h and now everything appears to work fine.
Is it a bug in 3dgs or am I doing something wrong? :S
regards Alain
Example code:
Click to reveal..
EDIT: I think its not only CloseClipboard but also some others(like EmptyClipboard)

