@Anddos, You're email request for assistance has been acknowledged. Respond appropriately.
Type: Posts; User: BobS0327
@Anddos, You're email request for assistance has been acknowledged. Respond appropriately.
DeleteDirectory
Windows Media Player SDK
First of all, you have to initialize winsock in your client and server app...
WSADATA wsaData;
WORD wVersionRequested = MAKEWORD(1,1);
int nRet;
// Init WinSock
nRet =...
Intel example
q is a WqlEventQuery Class
Try changing this:
q.Condition = @"TargetInstance ISA 'Win32_LogicalDisk' and TargetInstance.DriveType = 2"
to this:
Link with Winmm.lib
The ITaskSettings interface has a StartWhenAvailable property that can address your issue.
Download free Visual Studio 2010 Beta 2 with F#.
Download the Microsift Visual Studio 2008 Shell. Then install the latest F# Community Technology preview from Microsoft F# Developer Center.
[EDIT] The reason you're receiving this incorrect parameter message is probably because you're using a very old compiler or your compiler is misconfigured. I'm using Visual Studio 2008 and I do NOT...
This may be a much simpler approach for XP and up...
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
int main(void)
{
typedef BOOL (WINAPI *LPFNIUA)(void);
It means that you are using a incorrect input parameter. That is, TokenElevationType is the incorrect input parameter. After you determine the correct parameter, you'll have to call...
IMHO, WinBGI is a little dated. For starters, you may want to take a look at this Win32 tutorial. It'll help you learn how to create "lean and mean" Win32 apps.
A solution has been submitted to your Win32 newsgroup post concerning this issue.
This is all you need for the above code:
typedef enum _TOKEN_ELEVATION_TYPE {
TokenElevationTypeDefault = 1,
TokenElevationTypeFull,
TokenElevationTypeLimited,
}...
They're defined in ntifs.h which is found in the Windows DDK version 6001.18001.
Error 24 is a ERROR_BAD_LENGTH. It usually means that the call to GetPerformanceInfo cannot properly return all the information. Have you cleared and then initialized the structure prior to calling...
@TAZIN
If you're still struggling with this issue, I would suggest you post in the Win32 newsgroups. To quote Alex31, this has been discussed many times in the newsgroups. But anyway, a solution...
@tmpexpert,
First let me say that I'm a hardware challenged code jockey. With that said, how would I determine that an XP box is tpm capable other than opening up the box and inspecting the...
Actually, 2 obvious bugs in 59 lines of code.
#pragma comment(lib, "advapi32.lib")
#include <windows.h>
#include <stdio.h>
VOID DumpBuffer(const unsigned char* pBuffer, size_t sz)
{
for (size_t i = 0; i < sz; ++i)
...
#pragma comment(lib, "user32.lib")
#include <iostream>
#include <windows.h>
using namespace std;
int main(void)
{
int cx = GetSystemMetrics(SM_CXSCREEN);
/*int cy =...
I wasn't aware that MS provided TPM services on XP. Is it possible that you're confusing the Encrypting File Services found on both XP and Vista with TPM? Vista provides an additional layer of...
GetWindowRect and SystemParameters info only give the dimensions of the primary display. If you wish to center the window on the secondary display or possibly split the window up between the primary...