Oh, really?
I agree that your statement will run against Microsoft databases (MS SQL Server, Access, ...). It may run against Oracle but I'm not sure. But I would be totally surprised if it would...
That's not possible:
First - try to formulate the SQL commands. It will be something like
begin transaction
select max(...) from ...
insert into values (..., ...)
end transaction
How to put the...
After creating the process call WaitForSingleObject and pass the handle of the new process as first parameter.
WaitForSingleObject will block your current thread / will not return until the process...
Use the GetPrinter function and retrieve an PRINTER_INFO_2 structure.
The pDevMode member of this structure will point to a DEVMODE structure that will give you access to various printer data.
I can imagine that depending on your mask FindFile and FindNextFile will find the "." and ".." directories, too.
As long as you have no special handling for these you will get an endless loop.
Another solution is to call SetThreadLocale at application startup (for example in InitInstance).
This function sets the locale of your application / main thread to the language of your choice and...
I like to use a freeware XML parser and generator named CMarkup (look at www.firstobject.com). It is a C++ implementation - very fast, easy to use and comes with some samples.
I'm quite sure that it is impossible to have a variable number of arguments in COM the same way as in C/C++. va_list / the ellipsis is a C/C++ specific construct and COM is a binary standard which...
I actually don't know if and how the compiled format of a string table differs from the format of a message table. But I'm sure that these are at least different ressource types.
If you specify FORMAT_MESSAGE_FROM_HMODULE in the dwFlags parameter then the FormatMessage function will scan the module specified in the second parameter lpSource for a message table ressource (a...
There is also a "error look up" tool which ships with Visual Studio (...\Microsoft Visual Studio\Common\Tools\errlook.exe) and appears usually in the Tools-menu.