• 0

problem in vista


Question

Hi,

i have a problem, i'm write a code of service in VB 6.0 that make a Screen Capture of the desktop actions, and store actions as .avi file,

and its work on XP for a long time,

but these days i want to use it on vista and it doesn't work good, it makes an .avi file but with black screen.

what's wrong ????

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

ok i know the problem but now i need solution :)

now the problem is mention dawn

If anyone is interested, I finally found the 'correct' way to handle this issue. Level 0 isolation came about because of several injectable code exploits that allowed hackers to gain full system control. It is now impossible for system services to interact with desktop users. In solving this problem, I had to call native library methods, in particular 'CreateProcessAsUser' from 'advapi32.dll'. I have a C# service that runs in the background at level 0 as SYSTEM and spawns a helper application in userspace using the CreateProcessAsUser function. The service checks to make sure that the application is running, and when it is not, it respawns the process in userspace. The helper process then uses IPC to send the screenshots back to the system service so that the screenshot can be saved in a secure location that can't be edited by a limited user. It works pretty well, the only issues I have are with Fast User Switching obviously running into issues with the service knowing who is logged in, so I just disable that service.

but i used VB 6.0 so i need that dll in VB ??????

Link to comment
Share on other sites

  • 0
Hmm.. I don't know anything about camtasia. Are you using the latest version that supports Vista? If you've been using the .ocx since the XP days, it may have come from a much older version.

Edit: NVM, typing too slow, didn't see your followup :p Sorry, can't really help :(

yes man i used the latest version ,

but now my problem is to find fun " CreateProcessAsUser "but in VB 6.0

:)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.