Category Archives: Windows

Php’s SoapClient and the ContentType of the request

Hey, half of the last day, I fought with a C# WebService and the PHP SoapClient implementation. The SoapClient always send it’s requests always with contenttype “text/xml”, but a C# WebService isn’t smart enough to recognize that it is readable … Continue reading

Posted in Windows | Tagged | 5 Comments

Powershell: Der Versuch es richtig zu machen und schon wieder Mist

Ich muss mich gerade mal wieder aufregen. Da geht MS endlich mal in die richtige Richtung (eine gescheihte Shell einzubringen) dann machen sie es aber in der Ausf├╝hrung wieder mistig. Ich wollte nur einen String mit mehreren Whitespaces ausgeben …. … Continue reading

Posted in Windows | Leave a comment

Howto determine if a drive is compressed or not in Windows XP or later

For NTFS file-based compression method you will need to check the attributes of any specific file to see if it’s compressed. Usually it is enough to look at the attributes of C:\ but this is not really needed to be … Continue reading

Posted in Windows | Leave a comment

THE missing functions in windows …

Here are the two functions I often missed in the windows C/C++ libraries … #include <sys/types.h> #include <sys/stat.h> bool file_exists(const TCHAR* lspzFile) { int i; struct _stat s; if(!lspzFile) return false; i = _tstat(lspzFile, &s); if(!i && (s.st_mode & _S_IFREG) … Continue reading

Posted in Windows | Leave a comment

Creating a WinPE 3.0 ISO with Windows AIK and mkisofs

When you have succeeded in downloading and installing Windows AIK for Windows 7 and wonder how you can create a WinPE 3.0 CD now, you are in the same situation as I was some time before. Of course you can … Continue reading

Posted in Windows | 4 Comments