Hello,
I need to implement something like my own file system. One operation would be the FindFirstFile. I need to check, if the caller passed something like ., sample*.cpp or so. My "file system" implementation provides the list of "files names" as a array of char*.
Is there any Windows function or any source code that implements this ...
Hello I am trying to package and start up azure developement fabric on a windows 2008 server, I am so close yet still far. The steps I take are
1) run cspack.exe command /copyOnly to generate the .csx folder
2) run csrun.exe commmand /LaunchBrowser to start up the developement fabric and startup the browser
the error is as follows
...
When I run rake from within a batch file (.bat) it will exit immediately after the rake script has completed and will not execute any commands after it.
e.g. for the following, it will execute rake but not change directories
rake
cd ..
Anyone know how to stop this behaviour?
...
I need to export some events from Windows Event Log to XML on Windows Server 2008 R2. To achieve it I export these events to a file using EvtExportLog and then try to use EvtArchiveExportedLog to get localized descriptions for events.
Here's the sample:
EvtExportLog( 0, 0, query, logFileName, EvtExportLogChannelPath );
EvtArchiveExporte...
Hey,
I'm trying to use PlasTeX to convert some .tex files into html pages.
Here is my testing.tex
\documentclass{article}
\usepackage{mypackage}
\begin{document}
Hello
\begin{equation}
23+40+29+29+10+60+33)/7=32
\end{equation}
\end{document}
but it seems there is an issue when it tries to convert the equation in a ...
int sysReturn = system("\"C:\\Program Files\\WinZip\\winzip32\" -a C:\\LOG\\test.zip C:\\LOG\\LOG_7-20-2010_17_8_48_834.csv");
Everything seems to work - as in it creates test.zip
However, it opens the WinZip GUI (that shows how much has been compressed, etc while my program is running.)
How can I skip that part where it doesn't ope...
How can I tell Windows XP to switch to standby mode programmatically with C/C++ native code?
...
I want it to work on windows servers.
It will be a cloud type server - it'll consist of modules\parts running on different machines all over the world using http\tcp + upnp to connect to each other
There are going to be controlling\monitoring\observing modules on each machine to provide stats on performance
This net is going to be worki...
Is there an environmental variable or equivalent for WinZip32.exe I can use to find it's location path?
EDIT - This is an in house tool for a controlled system.
Thanks.
...
I'm trying to detect either by calling an API or using WMI whether a computer is connected to a domain.
I am currently reading the env. variable USERDOMAIN to check whether I am connected to a domain or not but that only works for domains that I know.
Is there a better way to see whether I am connected to a LAN/domain?
The code is in ...
I write a small application to enter the computer to Standby Mode:
#include "stdafx.h"
#include <windows.h>
#include <PowrProf.h>
int _tmain(int argc, _TCHAR* argv[])
{
SetSuspendState(FALSE, FALSE, FALSE);
return 0;
}
I get this error:
1>Standby.obj : error LNK2001: unresolved external symbol _SetSuspendState@12
1>C:\Document...
I hope this isn't too basic a question. The title kind of asks it all. :-)
TIA!
Rich
...
I have just started to learn C++, and I would like to learn how to make Windows Forms C++ applications.
Could anyone recommend some good ebooks?
I have a small converter program that I have made. It runs from the console, but I would like to make a nice GUI for it.
The form is quickly made in Visual Studio, but then I need to insert s...
I currently running the following commands on a hudson slave deployed on a windows machine.
dir
cmd
mvn clean install
I get the following return on the build.
mvn' is not recognized as an internal or external command,
operable program or batch file.
I have set the correct path on the node which points to the hudson installation on ...
What's the lowest level Windows function(s) to play sound? (The function(s) that are called by any other functions that play sound).
For example, fopen() calls CreateFileA(), and CreateFileA() calls CreateFileW(), and CreateFileW() calls NtCreateFile(), etc. I want to know what's the lowest-level one for sound (without comunicating with...
The documentation for QStringList QCoreApplication::arguments() (Qt) states that:
Usually arguments().at(0) is the
program name, arguments().at(1) is the
first argument, and arguments().last()
is the last argument. See the note
below about Windows.
It further elaborates:
On Windows, [...] the arguments() are
construct...
I want my program to work sort of like Team Player. Multi mice, multi cursor but only one focus. But the problem is I can't hide the default cursor. I only want it to be invisible.
So far this works inside my application only.
ShowCursor(false);
and
Screen.Cursor:=crNone;
Is there a way to hide the cursor for the entire system (jus...
The Python pwd module provides access to getpwnam(3) POSIX API, which can be used to get the home directory for a particular user by username, as well determining if the username is valid at all. pwd.getpwnam will raise an exception if called with a non-existent username.
At first it seems like the same result can be achieved in a cros...
A friend sent me 4 files (two .m files, one .pch file, and one .h file) that he says compile together into an Objective-C program. From what I understand, it's an Apple language, and I use Windows. I've been trying to compile it in a new project on Dev-C++, but haven't had any luck. After some research, I downloaded a special Objectiv...
I have created an application using C# 3.0.I need that application to start and run continuously whenever Windows starts.After setting up and installing the application this process should happen.
Please give your suggestions to do this.
...