windows

Android, iPhone, Symbian and Windows Mobile development learning material

Hi people, I would like to ask all of you if you know any good books, articles etc ... on development for these mobile platforms. I'm looking for learning material where the whole technology, OSes and development is discussed in great detail so i could gain a deeper understanding of the system as a whole. So any quick start tutorial and...

How to launch PowerShell script from the OS command line?

I have a PowerShell script for building my project files, and I'd like to have capability to run it from my file manager's command line (and, possibly, make a shortcut to this script so I can start build from my desktop) Any way to do this? ...

NAnt:Path system environment variable

Why do we need to create nant.bat file in a directory that is included in the PATH system environment variable. What actually is this Path system environment variable? What if i dont do it? ...

python file copying

Is there any difference in speed of copying files from one location to another betwen python or delphi or c++ ? I guess that all 3 laguages uses same or similar win api calls and that there is not much performance difference. ...

Hadoop in windows : file not found exception

Hi.. I'm using hadoop in windows and i've configured everything good (installing cygwin, passwordless ssh etc..) I've compiled the wordcount program in WC.jar and tried to run. Its running perfectly in standalone mode.. but in fully distributed mode it gives FileNotFoundException Please look into the logs and tel me what is wrong wit...

How to check if a service is running via batch file and start it, if it is not running?

Hi folks, I want to write a batch file that performs the following operation: Check if a Service is running ** If is it running, quit the batch ** If it is not running, start the service The code samples I googled so far turned out not to be working, so I decided not to post them. Starting a service is done by: net start "SERVI...

How to enumerate windows LPT ports and their I/O Range?

I am working on project for controlling some devices through lpt port. I am using inpout32.dll to get raw access to ports and now trying to enumerate all available LPT ports and get their I/O Range. I now I can check device manager, but is there any more automated way? Now I am trying to use WMI some sample code that should work but it...

C# app doesn't work properly in windows 7

I'm working with a C# sample application (taken from here : http://www.piccoder.co.uk/content/view/42/26/1/4/) The sample app and the source code are available in the .zip file. When I run the app in Windows XP, it is working correctly. But the same app, when I run in Windows 7, it is not working correctly. You can try run the WindowsApp...

Windows Task Scheduler & PHP

I know Windows Task Scheduler is iffy at best, what I don't know is why. I tried to create a couple of tasks that would run a PHP script at various intervals, but nothing happens. No errors no nothing. If I right click on the task in the Task Scheduler and choose run - it works perfectly, but it will not run at the specified times by it...

Can we compile objective c on windows?

Can we compile objective c on windows? ...

How to get rid of "unsafe" warnings (strcpy, sprintf, strdup)

I'm trying to get rid of some compiler warnings that say strcpy, sprintf, etc are unsafe. I get why they're unsafe, but I can't think of a good way to fix the code, in a C++ style. Here's a excerpt of the code: extList->names[i]=(char *)malloc(length*sizeof(char)); strcpy(extList->names[i],extName); // unsafe // str...

Help with Windows Geometry in Python

Why are the commands to change the window position before and after sleep(3.00) being ignored? if self.selectedM.get() == 'Bump': W1 = GetSystemMetrics(1) + 200 print W1 w1.wm_geometry("+100+" + str(W1)) w2.wm_geometry("+100+" + str(W1)) w3.wm_geometry("+100+" + str(W1)) w4.wm_geometry("+1...

How can I enumerate filesystems from Python?

I'm using os.statvfs to find out the free space available on a volume -- in addition to querying free space for a particular path, I'd like to be able to iterate over all volumes. I'm working on Linux at the moment, but ideally would like something which returns ["/", "/boot", "home"] on Linux and ["C:\", "D:\"] on Windows. ...

CDT GDB Debug under Windows

Hi all, I was trying to use CDT with MinGW under Windows 7. It could run the program without any mistakes; however, when I started debugging, it prompted the following messages. I've no idea where the problem was. Any comments are welcome. Thanks in advance. Failed to execute MI command:-gdb-set auto-solib-add on Error message from...

How to specify a path with white space in it with cmake?

include_directories("D:/FMOD SoundSystem/FMOD Programmers API Win32/api") What's the decent way to deal with path like the above in cmake? ...

What's the best way to run remote command line from one Windows host to another?

I used psexec, but it has problem with antiviruses. The other possibility is using WMI, but it's not installed on every Windows machine. ...

Does Windows cache the contents of .url (Internet Shortcut) files?

I'm implementing a custom URL handler in .NET. To test this, I have created a few different .url files and put them on my Desktop. This generally works fine, but behaves oddly if I change the file's contents, specifically the URL= line. Doing so has no effect — the old URL continues to be opened. Renaming the file, however, works. The fi...

Free Antivirus Engine?

Hello, I want to do some malware detection on Windows. anybody knows any Free or OpenSource Antivirus Engine with on access protection support? I found ClamAV and ClamWin and decided to make a GUI Front End with C# and somehow add OnAccess protection support with System Wide Hooks. but I think it's too difficult to do so... So, would y...

Temp-Files in Symfony-Cache folder

Hi, I'm using Windows on some production machines (IIS with FastCGI-PHP). Since the update of one SF-Project to 1.3.x I notice some strange problems. The Server is "collecting" Temp-Files in the config-cache folder of the applications. They are named like con1718.tmp and always containing the autoload-config-cache. The tmp-files are not...

File Local Define

Hey all; This question more falls into the category of best practices, and clean/safe code for distribution. I'm working on a math library in c++, for my portfolio, and to use during my last two semesters of College. I want this library to be very easy to use, and to minimize the possibilities of conflicts with pre existing code. For...