windows

How can I install and use ack library on Windows?

I have never used Perl, but I am really impressed by the ack, which I would like to use for source code searching, etc. Can anyone guide me of how to make use of this excellent library on Windows? ...

Using Perl, how do I check if a process with given name is running or not?

Using Perl, how do I check if a particular Windows process is running or not? Basically, I want to start a process using 'exec', but I should do this only if it is not already running. So how to know if a process with particular name is running or not? Is there any Perl module which provides this feature? ...

Light-weight SQL server for Linux/Windows?

Hello SQLite is fine as a single-access database, but it gets risky when used by more than one user at a time. MySQL, Firebird, PostgreSQL etc. are more difficult to deploy and are simply overkill for my use. Ideally, I'd like a compact, single-EXE server meant to run on low-spec hardware (eg. 128MB RAM, 256MB flash RAM) that would be ...

is there a global function in windows to lists the files in a dir ?

Hi, which function windows is calling to list the files in a directory ? thanks ...

Selling Software for Windows?

Are there any "App Stores" or Software Marketplaces that allow developers to submit their Windows Software for sale to the general public? Kind of like the Apple app store, but for windows apps? Also, are there any similar stores, but focused on selling Software Development tools/libraries/visual studio addins? ...

How to run *.exe /key from the .bat in loop

I have directory structure: DIR |-UNINSTALL.BAT |-component_name |-source |-setup.exe |-uninst.bat |-another_component_name |-source |-setup.exe |-uninst.bat |-yet_another_component_name |-source |-setup.exe |-uninst.bat and so on... In every directory like "component_name" I have setup.exe file which installs curre...

RSA Key Store Permissions

Since yesterday I haven't been able to generate strong name keys using sn.exe or through Visual Studio which also uses sn.exe. When attempting to generate a key file the following cimmand is executed sn - k "key file.snk" sn.exe then responds with Failed to generate a strong name key pair -- Access is denied. After repeating this pr...

How do I call Windows DLL functions from Ruby?

I want to access functions within a DLL using Ruby. I want to use the low-level access of C while still retaining the simplicity of writing Ruby code. How do I accomplish this? ...

Rules for "Date Modified" of folders in Windows Explorer

How does Windows Explorer determine the "Date Modified" field for folders? [Aside: I know this is asking from an explorer-specific perspective, but the behaviour could be useful to coding search/sort type activities] Is there a definitive description of this anywhere - searches of Microsoft, MSDN, Google & Stack Overflow have been unsuc...

Find and rename files with no extention?

So, I've got a bunch of files with no extension. I want to write a windows batch script that will: Find files with no extension (in a specified folder) Add .bla to the end of the file name I'm such a windows batch script noob I don't even know where to start. Suggestions? ...

Batch rename file extensions, including subdirectories

I'm renaming empty file extensions with this command: rename *. *.bla However, I have a folder with hundreds of such subfolders, and this command requires me to manually navigate to each subfolder and run it. Is there a command that I can run from just one upper level folder that will include all the files in the subfolders? ...

Cross compile in Linux or Windows?

To create a .exe in Linux using Qt SDK, should I cross compile my application in Linux or cross compile my application in Windows? I am totally confused. :( Please help. ...

how to reload saved "Embed Source" clipboard data?

Hi all, some other windows application I'm trying to interface with, saves a dump of the clipboard to file. To be more precise, it looks for the "Embed Source" format in the clipboard, and if found saves it to file. "Embed Source" is some OLE based format, which is created, for example, when you copy an image from paintbrush. Is there ...

Dialog has a modern look on time design , but old look on run time (using Visual C++ and resource editor)

Hi all, I'm creating a dialog with the resource editor of Visual C++. When I run the test button of the editor, components of the dialog are displayed with a modern look, while when running the application that creates and shows the dialog, it's displayed with an old look...I'm just using WINAPI calls to display the dialog, not MFC. Her...

Good Gui editors for win C programming

Hey! I am trying to get back to C programming in windows. I normally use codeblocks for the code and for the gui I used Resource Editor from radasm, but it seems it's no longer available. Anyone know of a simple program that will let me create dialogs, edit existing resource files and such easily? Thanks ...

Activating an injected DLL in Windows

I'm currently using SetWindowsHookEx to inject my DLL into another process, however it does not get loaded right away. I noticed that if I manually click the window, it will get loaded then, so I'm guessing it is waiting for some type of message to get the activation rolling? I'm currently getting it activated with a SetForegroundWindo...

How To Find Checked Out Files

Hi all, I'm using Visual Source Safe 6.0d (work requirement) and I've been trying to hack together a little shell script to allow me to easily remove a source tree or warn me if I've got files checked out so I can make sure I don't accidentally delete work. Is there any way to tell if files are checked out other than checking the read-...

Is it possible to change default cloaking in COM security?

I have a number of COM services in my system and I need to change default cloaking beahvior. In particular, I want to use dynamic cloaking. Since the product is a "closed" one, meaning that no other program/service will be installed on the machine, changing system defaults is one of the options. I am not willing to go into that directio...

When HeapCreate function is used or in what cases do you need a number of heaps?

Windows API has a set of function for heap creation and handling: HeapCreate, HeapAlloc, HeapDestroy and etc. I wonder what is the use for another heap in a program? From fragmentation point of view, you will get external fragmentation where memory is not reused among heaps. So even if low-fragmentation heaps are used, stil there is a f...

VBScript Expected End 800A03F6

I am getting this error while trying to run a VBScript (note this is not in a web environment - just running a VBScript on Windows): Line: [Last line] Error: Expected 'End' Code: 800A03F4 Source: Microsoft VBScript compilation error I think it is an If statement that is not closed correctly with an "End If," but I've gone through ever...