What is the kbhit equivalent for Windows CE? - windows-ce

What is the kbhit equivalent for Windows CE? In particular, I'm wondering about windows CE 6.0. I guess more generally, is there a way to do non-blocking reads from stdin?

You would need to process the WM_KEYDOWN messages in Windows CE. Have a look here for some details on how to do this.

If all you're doing is looking for a key, you could poll using GetKeyState or GetAsyncKeySytate.

Related

Does Nodejs have any framework/lib that support creating winform?

I was wondering is there an lib to help us create winform in GUI programming for Windows operating system.
Take a look at edge
Run .NET and Node.js code in-process on Windows, MacOS, and Linux
Additionally, have a look at this SO post
Can I use javascript to make the equivalent of Windows Form Applications?

How can I use dockpanel in Linux/Mono with all its features?

I would like to use dockpanel suite in Linux or Mono platform. I heard that there is some methods to modify the source code of dockpanel so that it can be used in Linux platform with all its features like drag and drop and all.Can anyone guide me to achieve that?
Due to its close bindings to Win32 API/PInvoke, currently it is impossible to use full features on Mono. You probably misinterpreted others' words.
Edited: DockPanel Suite 2.6 and above contains Mono support that I developed, http://dockpanelsuite.com
Yes and No.. You can write a silverlight 4.0 program and run it in a browser window on linux you can use silverlight controls.
If you are feeling really brave you can use MoonLight (silverlight by mono) to write full desktop apps on linux. One helpful set of tools (shameless plug) for doing this is MoonBase
But.. Generally, No, if you mean the WPF DockPanel control, you can't use that on top of Mono.
I know you've used WPF tag, but what you heard indicates rather winforms. In such case you may be interested in this. If you really had WPF in mind, look at the IanNorton's answer.

Registry Filter Driver for XP

I want to make a registry filter driver specifically for Windows XP.
I know there is an example in the official WinDDK but it only works
on Windows 7.
Is it even possible to develop a registry filter driver for windows xp ?
Any kind of code/pointers will be highly appreciated.
You can also hook the registry API functions using Microsoft Detours (or similar package). This is no easy task to get correct (still finding the bugs) but if you are up for writing drivers then this is no different in complexity. Just less blue screens. Look at hooking the Nt or Zw functions in ntdll.
No this is not possible. For Windows XP you need to hack the kernel API table. This is not recommended, but for windows XP it is the only option. This is how the Sysinternals RegMon program used to work.
Yes, it is possible altought I would not recommend it.
First, you have to hook SSDT. Please notice that hooking SSDT is not supported in XP 64 bits (Patch Guard), you have to understand what are you doing (BSOD hook), is not portable and your software can be marked as malware.
Second, you need to do reverse engineering of Key Control Blocks. When two different apps open the same key, they get two different handles but they KCB is unique for both threads. KCB is an opaque structure so WinDbg is your friend here.

REALbasic speak equivalent for Linux

I have a number of small REAL Studio apps that use the Speak keyword on Windows and Mac to output single words or short phrases.
Can anyone recommend a way of emulating this on Linux versions of the app, either with a shell command or a Soft declare?
These apps are for family use only so I can install free software on Ubuntu if necessary.
Festival is a TTS application available on many Linux distros.
Real Studio 2012 Release 2 added support for the Speak command on Linux.
http://docs.realsoftware.com/index.php/Speak

What is the best multi-platform SVN GUI client?

Looking for something on Mac Os and Linux mostly, and GUI, not just the command line tool.
Anybody has experience using Syncro SVN Client http://www.syncrosvnclient.com/ ?
For multi-platform (and even if you need a good client for one platform) I'd recommend SmartSVN.
They have a free Foundation Edition available. Since it's a java tool, it works on almost all OS.
Why use a multi-platform tool? The good thing about svn is that you can use one tool on Mac OS, and a completely unrelated tool on Linux, but they'll all still talk to the same repo. On Mac, I'd recommend Versions.
In a Venn-diagram sense, you are cutting it close by a Boolean AND between a) sane cross-platform GUI clients and b) SVN clients. I'd forgo some of the requirements -- I personally like the cmdline versions as well as as the Emacs interfaces on all platforms I use, and I occasionally use the kdesvn GUI on Linux.
Edit: Oh wait, there is one: Qt Creator is a wonderful IDE, is cross-platform and has SVN integration.
Would RapidSvn located here - cross platform written in wxWindows/C++ do?
Yes, SmartSVN is pretty good i would say.
Netbeans is cross platform and has a plugin that enables subversion. An excellent IDE if you ask me...

Resources