View Single Post
  #82 (permalink)  
Old 01-04-2007, 09:04 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Registered User
 
Join Date: Dec 2003
Location: France
Posts: 1,297
Re: New Firefly Sofware (works also for Streamzap)

Quote:
Originally Posted by VistaVick View Post
I ended up just using virtual key codes for almost everything with your program, which worked much better than keystrokes in this situation, now everything works great with no real lag problems.
That's great !

Now I don't understand why the managed code is not able to send up and down, whereas the platform invoke is able to... go figure. Because that's the difference between "PressKey" and "Keystroke". "PressKey" is using platform invoke to simulate press and release of a key (I needed this for the Firefly Mini to not disrupt normal keyboard use and that's why it is not documented) and "Keystroke" is the managed .Net way of sending keystroke (so in theory it should be the preferred way : also it seems that during the vista beta stage, there was a security problem with the way keystroke were sent...)

Regards,
Stéphane.
__________________
P4 820D - 2 GB
ATI X1800 XL - PVR 150 x 2
XP Pro SP2 - DX 9c - Catalyst 6.9 - CyberLink PowerDVD 7 Video & Audio Decoder.
Beyond TV 4.2 - BTV XMLTV Importer - Web Based Program Guide - Firefly, Firefly Mini, Streamzap, USB-UIRT or MCE Remote Tool
Reply With Quote