Jump to content

athlux

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Austria

About athlux

athlux's Achievements

0

Reputation

  1. Hi, I use "rsyncrypto" to crypt files and directories for backup purposes. Unfortunately rsyncrypto didn't copy owner and attributes of the files. Therefore I use robocopy to save owner and attributes of files and directories: robocopy 'C:\test' 'C:\test.crypt /E /COPY:SOUA /CREATE /R:0 This work fine in XP with robocopy V5.1.1.1010 (XP010). But it didn't fully work with Vista nor with Windows7. The robocopy versions, released with Vista and Windows7 will "only" copy owner and attributes of files. The owner and attributes of directories remains unchanged. With robocopy V5.1.1.1010 (XP010) the owner and attributes of directories will be copied in Vista and Windows7 too. Is it a feature or is it a failure of mine? Thanks in advance AthLux
  2. It seems to be my Visual C++ setup. I've to find out the configuration for assemblys or something like this. On the other hand it should be a post for the MDFN. Thanks Athlux
  3. I do not fully understand. In http://msdn.microsoft.com/en-us/library/aa373163(VS.85).aspx a set of functions is listet. At the bottom some functions listet which are incompatible between XP and Vista. But the function I want to use is "SetThreadExecutionState" which is not listet in this bottom table. The function is described in detail in http://msdn.microsoft.com/en-us/library/aa373208(VS.85).aspx. Because of the bottom of this page, Requirements, I would assume that it should work in W2000, XP, Vista as well as Windows Server 2000-2008. Thanks for your help AthLux
  4. Hi, On my WindowsXP I've installed Microsoft Visual C++ Express Edition and developed 2 little programs. - DisableSuspend.exe - which calls SetThreadExecutionState ( ES_CONTINUOUS | ES_SYSTEM_REQUIRED ) - EnableSuspend.exe - which calls SetThreadExecutionState ( ES_CONTINUOUS ) Both programs run well and do what I expected on the XP machine where they are build. Thereafter I copied the .exe files onto another XP machine. Unfortunately both programs do not start there. I get a message: "The application could not be startet because their configuration is not correct" (I have to translate the german message into english, sorry for that) I am really new in windows-programming. This are my first programs. Did you have a hint what is my mistake? Thanks AthLux
  5. Thanks. On my WindowsXP I've installed Microsoft Visual C++ and developed 2 little programs: - DisableSuspend.exe - which calls SetThreadExecutionState ( ES_CONTINUOUS | ES_SYSTEM_REQUIRED ) - EnableSuspend.exe - which calls SetThreadExecutionState ( ES_CONTINUOUS ) Both programs work in WindowsXP but have no effect within Windows Vista I am really new in windows-programming. This are my first programs ;-) Did you have a hint what is my mistake? Thanks AthLux
  6. Hi all, I have to disable suspend and hibernation during the execution of my program. Otherwise my program will abort during suspend/hibernation. I've tried it with powercfg.exe but unfortunately my program is running as a service and powercfg.exe did not work as expected. I've also tried the registry fixes from sam13484 (http://www.msfn.org/board/Disable-standby-tweak-t74843.html) but they also did not work. Anyone have experience with that? It is possible to disable hibernate/suspend by a script or program and reenable the previous user settings after program is finished? Thanks in advance AthLux
×
×
  • Create New...