The MSDN documentation for SetFileInformationByHandle refers to "FileExtd.lib on Windows Server 2003 and Windows XP". I managed to track down the library and .h file, which is available to download as the "Win32 FileID APIs 1.1" from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=1DECC547-AB00-4963-A360-E4130EC079B8&disp...
There must be some application for this kind, for I've never needed it until now, and that I do need it I can't find it.
I know of Unlocker, but it cannot give me a list.
Edit: A subquestion on ProcessExplorer's list. Which is what I really wanted to know in the first place. Why does Explorer (Windows Explorer) lock some files (refus...
I've made a program in MVSC++ which outputs memory contents (in ASCII). The ASCII I see in windows console seem to match what I see in various ASCII tables (smiley, diamond, club, right arrow etc). This program needs to compile under Linux (which is does), but the ASCII output looks completely different. A few symbols are the same but th...
In my WiX project I need to install different content for the same file name, based on the OS.
If the OS is Windows 7 then the file needs to have content X.
If the OS is Windows Vista the file needs to have content Y.
I have thought through a few approaches:
Define two components, one with the content for windows 7 and another ...
Hi,
I've a .Net windows service which is on App server 1.
From this service, I need to programmatically start and stop another .Net windows service sitting on App server 2.
How do I achieve this ?
Thanks for reading.
...
I am planning to use libraries in my C++ program. Development is happening on LINUX but application is designed to compile on both LINUX and Windows. I understand direct equivalent for shared libraries(.so) in windows is DLL, right?
In LINUX using g++, I can create shared library using -fPIC and -shared flags. AFAIK, there is no other ...
I have developed a small QT project with Qt Eclipse integration on linux and i would like to make a windows executable file (.exe) for the same project using QT, So, my app could run on both systems.
will my QT with Eclipse as plugin help me to generate .exe in Linux.
pls tel me what is the procedure to get .exe from Linux and what ha...
I want to replace the standard system open file dialog with the one I wrote, that means no matter within which programs you are opening a file, my dialog will be shown instead of the standard one, is this possible?
It seems that that there is no such API provided to accomplish this, is it possible to use some hooking technique, but th...
Hi, I want to make a kernel debugging session, and im using vmware Workstation to do that.
How can i make a virtual 1394 connection between my VM and the host so I can debug the VM ?
OR
How can i make a usb connection between the VM and the host ?
Thanks!
...
I'm trying to make a modem call in one end, and in the other end the program answers the call. It doesn't seem to detect the carrier. Am I doing anything wrong? Am I missing something?
int main(int argc, char** argv)
{
ParseArgs(argc,argv);
SerialPort* port = SerialPort::New();
if(!port)
Error(ErrorNoMemory,"Can't create port");
i...
Here is some tricky problem.
I am trying to watch a shared folder which is on Linux machine.
I am running the program on windows XP which is developed in Visual Studio 2005, VC++
and using FileSystemWatcher class.
But it's not raising events for that shared folder at all.
Please suggest a solution.
...
Hi,
I am trying to investigate the behaviour of the Windows Kernel with respect to Memory Mapped Files / Virtual Memory. Specifically I am interested in determining how frequently the contents of a memory mapped file are flushed (by Windows) to disk and what criterion Windows uses for deciding it is time to do so.
I have done a bit of ...
class Thread
{
public:
Thread ( DWORD (WINAPI * pFun) (void* arg), void* pArg)
{
_handle = CreateThread (
0, // Security attributes
0, // Stack size
pFun,
pArg,
CREATE_SUSPENDED,
&_tid);
}
~Thread () { CloseHandle (_handle); }
void Resume () { ResumeThread (_hand...
Is there a simple way using powershell to show all Local Windows Groups that are active on a machine and the users that are part of those groups? A second part of this question would be if it can be extended to look at more than one machine at a time.
...
Platform: WinXP SP2, Intel Fortran 11, Excel 2007
I'm having trouble connecting a dll file with excel.
The dll file is relatively simple:
subroutine FortranCall (r1, num)
!DEC$ ATTRIBUTES DLLEXPORT, STDCALL, REFERENCE, ALIAS:"FortranCall" :: FortranCall
integer, intent(in) :: r1
character(10), intent(out) :: num
!DEC$ ATTRIBUTES REFER...
Hello,
I need to extract code (but not data!) from classic win32 exe/dll files. It's clear I can't do this only with extraction of code segment content (because code segment contains also the data -- jump tables for example) and that I need some help from compiler.
*.map files are nice but they only contain addresses of functions, i.e....
I have a c# application which is launched under the System account on a machine and presents some dialogs to a user. When a regular user logs off the application is terminated as well. I would have thought that since its running under the system account it would continue to run despite the user not being logged in.
Any info on why this...
This is somewhat related to my other question.
I've been using a dll to acompany an excel spreadsheet. Everything is currently working with the dll and excel is using it just fine. But is it possible to specify that a dll resides in the same directory as the excel file when declaring functions?
Declare Sub FortranCall Lib "Fcall.dll" (...
How do I set the windows default printer in C#.NET?
...
Hello, I am trying to find a programmatic way to tell if a binary is x86, x64, or ia64.
Platform: Windows.
Language: c/c++.
Background: Before trying to load a third-party dll, I need to find out its bitness.
Appreciate any pointers.
...