windows

How to publish applications dependent on external files

I have an application that uses an .xml file to load information about objects (Such as strings for name, location etc.. nothing too complicated). Currently when i use the application the .xml file is stored in: "/bin/debug" of my project folder. If i was to release my application as a standalone .exe how would i go about ensuring ...

svn tortoise and scplugin

hi all i've encountered some problems which i can't resolve. Any help is really appreciated. my customer uses mac and pc. tortoise on pc, scplugin on mac. when mac creates new directory, adds it to repository and commits it pc user can't update to the new version. The error is "Can't create directory /.svn. The System can't find the p...

Flash AS3 animation in Mac vs Windows

I am working on a short animated story, which has a scrubbable timeline and chapter headings. I used TimelineMax for sequencing it. For the most part, it is working fine. I am seeing some strange behavior that pop up, though: sprites disappear, functions stop responding to user input, seams of the sprites become transparent -- all small ...

how to setup common emacs environment for windows and linux computers?

I use emacs for text editing and script development. I use both windows and ubuntu emacs 23.1 distribution. Now I want both my linux and windows environment to replicate the same environment. I will save my emacs environment here https://bitbucket.org/krish/emacs/, so file synchronisation will not be problem. I don't have any differe...

C# receiving argumens from Windows Context menu

Hi, I have done this before but for the life of me cant remember how to do this... In my explorer context menu i added a new entry (go to regedit...go to HKEY_CLASSES_ROOT...bla bla bla)... Nou when i click on my option i want to pass in the file path, file name, those kind of things to my application...and then use it there? Anybody??...

What encoding are filenames in NTFS stored as?

I'm just getting started on some programming to handle filenames with non-english names on a WinXP system. I've done some recommended reading on unicode and I think I get the basic idea, but some parts are still not very clear to me. Specifically, what encoding (UTF-8, UTF-16LE/BE) are the file names (not the content, but the actual nam...

Windows Workflow Runtime leaks a ton of memory

Here's a overview of my workflow implementation: GUI thread starts worker thread worker thread analyzes some data worker thread starts several other worker threads to work on subsets of data each of these last worker threads creates a workflow runtime and executes a sequential workflow Up until now, I've been creating a new WorkflowR...

WDM returns privilege error for WMI request

My application attempts to update data in my NDIS IM driver using the usual WMI Put/PutInstance calls. The PutInstance returns error WBEM_E_FAILED. The wmiprov.log shows the following: WDM call returned error: 1314 WDM specific return code: 1314 This error translates to "A required privilege is not held by the client." My applicatio...

java on all platforms

if you wanna code a desktop application in java for windows, mac and linux, will the code be the same for all of them? and you just change the GUI so that the Windows application will be more Windows-like and so on? how does it work without digging into details? ...

Processes not responsing to proc_terminate.

Hi all, I have a c++ app, which I launch from a php script (see below). The app compiles, and runs fine when I interact with it on the cli on boths Windows and OSX (separate executables for each). When I launch the script on OSX the app and script both run fine, but when I run it under windows the app process refuses to die but sits idl...

Automating cygwin commands in windows command line (and ultimately in MsBuild)

Hi all: I have a situation where I have a few cygwin commands which I wish to be run in Windows command line e.g. chmod 777 /home/administrator/* Currently I have to manually type in cygwin.bat, then enter the above command in cygwin. I was wondering whether it is possible (and if so, how) to have these steps automated in Windows co...

vmime windows installer

Is there a Windows installer for VMIME? I'm on Ubuntu and don't want to waste too much time setting up a cross-compiler/Windows dev environment. Thanks! ...

Command/Syntax for specifying dynamic profile name in cygwin

Hi all: What is the syntax for specifying a dynamic profile name in linux command? E.g. perl genhtml /home/$(usrProfile)/* What is the syntax to replace usrProfile if it is dynamic? Thanks. EDIT: I'm running this in Windows Command line under cygwin. UPDATE: I have tried doing the following: $ECHO $HOME chmod 444/home/~username/...

Open source deployment tool

What is the best configuration management tool to deploy war application on tomcat(Windows)? Puppet? ...

How to build "Auto Detect Proxy Settings" In Windows and in Mac

What are the steps to implement that feature in 1) Windows and 2) in Mac? I went through these, still I am not very clear! I am using C/C++ in Windows and in Mac. So, Win API or Mac API will be enough. I am also confused because Mac Firefox has also has a option "Use system proxy settings", which is not present in Windows Firefox. Thes...

confirmation dialog in chrome -JQuery

I have a frameset with two frames: frameA and FrameB. frameA has an onbeforeunload method set. When the browser is loaded with the frameset and the user hits the REFRESH button the onbeforeunload method in frameA does not get called. Apparently only the onbeforemethod in the frameset page itself gets called because if I put the onbeforeu...

How can I get a list with all the threads created by my application

Hi, I want to get a list with all the threads (except the main, GUI thread) from within my application in order to do some action(s) with them. (set priority, kill, pause etc.) How to do that? ...

what operating system has .NET 2 version built in?

What operating system has .NET 2 version built in? I plan to deploy a .NET application and wonder whether I should include a dotnetfx in the package. Where can I find such information? ...

VC++ replaces defines of different objects, GCC etc. not

Hi, I have a big app using many static libs, which is platform independant and deployed under Windows and Linux. All static libs and the main() itself are compiled with two defines: -DVERSION=1.0.0 -DBUILD_DATE=00.00.0000 These defines are used by macros inside each static lib and inside the main to store the current lib version ins...

How to determine if a screensaver is running in Java?

My Application periodicly shows information on the screen. But if the screenshot is active, the application should wait until the user returns. Is there any way to determine if the screensaver is running? I don't need a clean solution, u just needs to work on windows xp. Similar question, but other technology: http://stackoverflow....