On Windows desktop I use SocketTest as GUI tool to test TCP connections.
Is there alternative for Windows CE (native are preferred) to test connections with Windows Desktop?
The Winsock API (winsock 2.x at least) on Windows CE is quite similar to the one you've on "full" Windows. If those samples are not using too many advanced UI features porting them to CE won't be too complex. If the GUI part is not easy to convert you can still keep the low-level socked-related routines.
Related
I just started using pyGears and I find it easier working on Windows. I was wondering is it possible to run it on Windows or it's only Linux based?
It can maybe be run on Windows but I wouldn't count on it for now. PyGears is natively supporting Linux (Ubuntu) so if you have a choice I would advise switching to Ubuntu.
There is a future plan for supporting PyGears for Windows in a full manner, but at the moment that's not the priority.
I have terminal access to an AIX machine using ssh/telnet (No root access). I need to develop programs using C and compile it using the xlc compiler. Currently I can open remote files in eclipse(Juno) using RSE and edit files, but code-completion and error checking won't work. Can anyone please, help me to setup eclipse, so that code-completion would work and also, I would be able to compile the code from my Windows machine. Any help would be deeply appreciated.
You could try this, http://wiki.eclipse.org/PTP/rdt-setup or.. check out...
How to build a c++ project on a remote computer in Eclipse?
Somewhat similar. If you look at the 3rd answer.
Also you could try X11 Forwarding -
http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter3.html#using-x-forwarding
Instead of trying to setup Eclipse and CDT to do remote development, you may want to consider purchasing IBM Rational Developer for Power Systems Software (RDP), which is an Eclipse-based remote development environment that allows for C and C++ (and COBOL) application development on AIX from a Windows or Linux system. More information can be found here.
I have some Windows Mobile Smart Device applications coded in Visual Studio C# that use FTP for the send/receive mechanism. It's not ideal, but it works.
I've been investigating whether these can be ported over to Windows Phone 7 and the major problem is the lack of FTP in Windows Phone. With 7.5/7.1/Mango I'm interested whether Sockets can be used but I can't find a decent wrapper out there. I've started work on my own but I was wondering if I'm just replicating work already available.
Our SecureBlackbox component suite includes FTP/FTPS and SFTP client components for Mango.
I'm using the Native Wifi API and specifically the function WlanGetNetworkBssList.
I am aware that that function is not available in Windows XP SP2 and SP3. I tried installing the hotfix that was supposedly to allow access to that function but it did not work.
So are there any Wireless Zero Configuration .NET wrappers out there?
Or more basically, how do I get a list of the basic service set (BSS) entries of the wireless network or networks on a given wireless LAN interface without the use of that function?
Did you have a look at how MetaGeek's InSSIDer does it. It's C#, and open source (Apache License and available on github).
This app is gorgeous and very useful. There are at least 3 versions.
InSSIDer
InSSIDer 2
InSSIDer forLinux
I've got a vintage XP SP3 here and it works pretty well. However, I do not think it relies on the WlanGetNetworkBssList API (it's close to the physical interface and besides, I'm using the Intel Wifi management stack (so my ZeroConf service is stopped) and InSSIDer still works).
There is open source WLAN API library which allows to obtain wireless BSSIDs on Windows XP SP1 and higher by using NDISUIO 5.1 or Wireless Zero Configuration service.
Original code is written in C++ but can be converted into C# for your needs.
I'm looking for a way to programatically change features ("Programs and Features" -> "Turn Windows Features on or off") in Windows Vista (and newer Redmond OS, e.g. Server 2008).
Ideal solution would be in the form of a Powershell script (Get-Features, Set-Features), however any pointers to MSDN/other documentation would be very welcome! (my initial quick Google/StackOverflow search came up empty).
Having an automatic way to turn features on or off would allow me to automate computer setup for different scenarios. For example, to develop ASP.NET applications using IIS a bunch of IIS features need to be installed that are not installed by default. My current process of "make sure at least the features shown in this screenshot are checked" leaves a lot to be desired.
I just found an extension that works for Windows 7. "PowerShell module to Add/Remove Windows 7 features" - https://psclientmanager.codeplex.com/
in windows server 2008, there is the ServerManagerCmd command. This can install IIS with or without the subfeatures you want. You can also install/uninstall most of the major Windows features.
You can setup your server the way you want then run ServerManagerCmd -query template.xml. This exports the configuration to an Xml file.
You need to transform the file to prepare it for use on other servers
Copy the transformed file to the server you want to configure and run ServerManagerCmd -inputPath transformTemplate.xml
The way to do this in Vista and Windows 2008 is with the PKGMGR command line tool. Search MSDN for this tool to find a list of features/packages.
It looks live Powershell V2 on Server 2008 R2 (Beta) has a module that does exactly this. Let's hope Windows 7 will have this functionality as well...
For more details, see Managing Server Features with PowerShell Cmdlets on Windows 2008 Server R2 Beta
There's unfortunately not a set of cmdlets, yet, nor is there anything in WMI or any other easily-accessible area. Interestingly, Server Core's script-based role management features will only work on Server Core :). Windows 7 may bring some relief in this regard - but it also might not. In the meantime, you're pretty much left with the native Win32 APIs mentioned in the other answer.
As an aside, I should point out that MS deliberately doesn't want applications installing major OS features due to the security considerations. Adding IIS isn't something done lightly, and it brings with it security considerations and responsibilities. Witness MS' own application setups, which check for pre-reqs like that, but do not offer to install them for you. While I understand wanting to make your app setup as painless as possible, there's also damage to be done in putting major functionality into the OS under someone's nose :). I personally would prefer that apps err on the side of caution, tell me what they need, and let me make the decisions about how and what to install things - especially major functionality that will open ports and be able to execute arbitrary code, like IIS.