KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm writing a simple WMI-based monitor application that sends monitoring data over a TCP Network socket to an Android app. I have no issue writing the Android App with Titanium Mobile (JavaScript) so that it creates a socket and accepts the data. However I'm looking for the best (easiest and fastest) way to get the WMI data and send it over the TCP socket but with a VERY basic Windows GUI. The only reason for the GUI at all is so the user knows the software is running, and possibly they will enter IP here to connect to the android over wifi. Here's my situation so far: PHP and JavaScript are my strongest languages (being a web dev). I can write WMI/COM scripts with PHP and compile with Bamcompile to a Windows command line EXE. It only supports PHP4 and I'm not sure which GUI toolkit (if any) will work with it as it is so old, but I still prefer it for my basic Windows stuff. I've been playing around with Perl (Strawberry Perl) and realising its potential. But seeing as my main programming PC is on a proxy I'm having trouble getting Tk installed, so again I'm without the GUI stuff. I've tried "ppm install Tk" and "cpan Tk" and have put in all my proxy details, it's even downloading lots of data/modules but I'm getting errors that I have no idea how to solve as I'm not yet a Perl person. I have tried WinBinder for PHP and double clicking the Windows .phpw files seems to work, but I'd have to package the whole thing up somehow and also the command prompt window in the background looks messy. I could use AutoIT 3 - it does GUI, sockets, all that sort of stuff, and compiles to EXE, but I would really prefer PHP or Perl for the learning experience and I'm just more used to their syntax. Python looks great but a bit different to PHP or Perl so I'm not going to spend the time to learn it just at the moment. Will probably switch to it down the line though as it seems t
Tags (comma-separated)
Save Edits
Cancel