Hi,
does anyone know how to check if a file or directory is either a Symbolic Link, Junction Point, Mount Point or Hard Link?
As far as i know a symbolic links are detected by checking a file for its "ReparsePoint" attribute.
Junction points are detected by checking a directory for the "ReparsePoint" attribute. So if the "ReparsePoint"...
I've successfully disabled the screensaver using the method described in this page.
The problem is that when I do this, the control panel dialog still indicates that there is an active screensaver. Nothing seems to be changed there. If the user checks it, he has no way of knowing why the screen saver doesn't work.
Is this the expected be...
I have some VirtualBox VMs running. Is there any way to programatically get the resolution they are running at? The guest VMs are running Windows XP.
...
Hello
Is there some C/C++ IDE for windows, which is integrated with LLVM compiler (and clang C/C++ analyzer), just like modern Xcode do.
I have Dev-Cpp (it uses outdated gcc) and Code::Blocks (with some gcc).
But Gcc gives me very cryptic error messages. I want to get some more user-friendly error messages from clang frontend.
Yes, cl...
Hello,
I need one of my .exe to always run as administrator without UAC prompt. My program will be installed with setup, which will have for one time admin rights, and I need to perform such step in this setup that my exe will be always executed as admin without UAC prompt.
I've found 2 solutions so far:
1.
Use custom service, which w...
My program sets "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" value "Hidden". Hovewer I'm not able to refresh the explorer to take into account this change. I've tried:
1)
SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, IntPtr.Zero, IntPtr.Zero);`
2)
SHELLSTATE state = new SHELLSTATE();
state.fSh...
Hello everyone :)
I've got a series of filepaths that look something like this:
C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted
C:\Windows\System32\svchost
C:\Program Files (x86)\Common Files\Steam\SteamService.exe /RunAsService
"C:\Program Files (x86)\Common Files\Steam\SteamService.exe" /RunAsService
and I need to ...
I'm kind of a noob when it comes to windows API.
I try to create a registry key in the 64bit view of the registry, from a 32bit application using
System::Call "${RegCreateKeyEx}(${HKEY_LOCAL_MACHINE}, 'SOFTWARE\SecureW2\Methods\Default\Profiles\26\ConfigData', 0, 'REG_BINARY', 0x00000000L, 0x0100, NULL, .r5, .r6) .r3"
(It's nsis scr...
I am programming in c++ MFC,
I want to get "C:\windows" "c:\program files" folder path.
Sometimes user may setup windows in other folder such as c:\windows0.
Is there any API to get absolute path of the windows and program files path?
Many thanks!
...
I want to log the URLs of all the popup attempts in my FireFox browser running on Windows.
Is there a way to do this? Either somehow externally, or internally with an extension?
...
Hello
I used the command "net user" to add a new admin user to windows like that:
net user myuser11 myuser11 /add net
localgroup Administrators myuser11 /add
the problem that after restart windows I only see the icon of the "myuser" and the default windows "Administrator" login icon disappeared !!
the "Administrator" files st...
Recently I've been using lot of Assembly language in *NIX operating systems. I was wondering about the windows domain.
Calling convention in linux:
mov $SYS_Call_NUM, %eax
mov $param1 , %ebx
mov $param2 , %ecx
int $0x80
Thats it. That is how we should make a system call in linux.
Reference of all system calls in linux:
Regarding...
.NET provides EventLog class that be able to write application event information to a particular log on the system. Is there simliar Win32 API that can be called with C++?
...
I'm trying to write a wrapper for Winamp input plugins and have hit a bit of a snag. I'd like my wrapper to be able to display a plugin's configuration dialog, which is (or should be) achieved by calling the plugin's Config(HWND hwndParent) function.
For most plugins, this works fine and my program is able to display the plugin's confi...
I am about to start a new Windows applications and the contenders for the platform are:
Windows Forms
WPF
Silverlight
Now my experience with WPF at least in my last application was not very encouraging (the app failed to run on the deployment machines and I had to re-do it in Winforms). So my confidence is shaken here.
My app is for...
Is there any option to call msi file from CreateProcess in c language in window OS.
...
I am trying to open a file with file extension '.lib' (open file library) and (.dll) but i dont know what program application to open it with. any advice?
Thanks
...
We're having a serious issue at work. We've discovered that after the station where the client was running is locked/unlocked the client is blocked. No repaint. So the UI thread is blocked with something. Looking at the callstack of the UI thread (thread 0) using windbg we see that a UserPreferenceChanged event gets raised. It is marshal...
I want to be able to use this IDE to step though code and debug.
So far I have found:
"e" Text Editor (http://www.e-texteditor.com/) $34.95
Arcadia (http://arcadia.rubyforge.org/)
Has anybody ever tried either of these and how are they? Or anything else you can suggest?
...
I'm reading Windows via c/c++. And I just wonder a large file can be mapped to memory.
When we execute an application, a PE file is mapped their process address(user partition).
In 32bit Windows, a Large file(larger than 2GB) can be loaded to user partition? or it will be failed?
If it is possible, Does Paging file help the loading?
...