winapi
How to cancel deferred MoveFileEx operation?
I use the below command to 开发者_开发百科delete some files after reboot the machine: MoveFileEx(PChar(File_Address), Nil, MOVEFILE_DELAY_UNTIL_REBOOT);[详细]
2023-04-13 10:08 分类:问答Call static lib function embedded in DLL
Let\'s say the following architecture: A s开发者_JAVA百科tatic library is used/linked within a DLL[详细]
2023-04-13 09:29 分类:问答Starting a method in another thread C++
I\'m having trouble finding out how to run a method in a seperate thread in C++ (using Visual C++ 2008), I\'ve tried a number of ways to do this but none of them so far have been successful.[详细]
2023-04-13 08:51 分类:问答How to properly install virtual printer using WinAPI on Win x64?
I am trying to install virtual printer from C++ console program using WinAPI calls. It works fine on Windows XP, but on Windows 7 x64 there are some processes which lock files in system folders, requi[详细]
2023-04-13 06:49 分类:问答Why is WheelDelta = 120?
I\'m working with mouse events, specifically OnMouseWheel. Many code samples refer to distance the view changes (or zoom f.i. in 3D application) as Distance = Sign(WheelDelta)*Constant or Distance = W[详细]
2023-04-13 05:55 分类:问答SHGetFolderPath': identifier not found
I am doing sample using DirectX 9 On Vs 2008/windows7. I am getting error. 1>------ Build started: Project: VideoCapture, Configuration: Debug Unicode Win32 ------[详细]
2023-04-13 05:31 分类:问答CreateDC() fails with lasterror 2
I have implemented a class that gets local printers and, depending on the application option,uses one of the local printer available.[详细]
2023-04-13 05:13 分类:问答Send wstring and ptime over MS RPC
Iam using Microsoft RPC and i need to transfer my custom structure that have fields of type std::wstring and boost::ptime. In idl there is no such data types. What is best solution to send that struct[详细]
2023-04-13 03:36 分类:问答wglCreateContextAttribsARB fails on NVIDIA Hardware
ContextWin32::ContextWin32(WindowHandle parent, NLOpenGLSettings settings) : IPlatformContext(parent, settings)[详细]
2023-04-13 01:03 分类:问答Exporting registry keys to a .REG file in C#
I\'m currently using Microsoft.Win32.Registry functions to create, delete, set/get values, etc. Is开发者_运维百科 there any way to \'export\' a certain key that contains the application\'s settings to[详细]
2023-04-12 23:49 分类:问答