Hello, I have a problem with git.
Basically, here is what I have. I access a svn repository through git. Until now, on python files, everything worked fine.
But lately I also added some pyd, dll and lib files on the repository. THe first update went well. But then, these files have been modified and since then I can't update. These fil...
I would like to extend ContextMenu from System.Windows.Forms namespace to have some event indicating that the menu has been closed e.g. user has selected some item or just clicked somewhere and the system has closed the menu. I know ContextMenuStrip has such events but I don't want to use it.
I though ContextMenu have WndProc method lik...
Let's say I have a windows service job, and it is running halfway when I try to shut it down ( net stop service).
What would happen? Will the job continue to execute until it's finish, only then shut down, or it will abort the job halfway even though it is still in the midst of writing to database?
...
Hi ,
I try to wrap the cmd.exe console and would like to be able to use the underlying command interpreter to be run by my app. This will allow me for ex to execute dynamically created script and other thing ( the question is not about how to do execute dynamically created script , but about getting an interpreter loop around the diffe...
If an NullSoft Install System installer is launched with the /S switch, how can I detect it from the script? Thanks!
...
Looking for an example of how to read the last semaphore count from ReleaseSemaphore
Having problems creating a basic local variable to store LPLONG lpPreviousCount
into and print out. Looks like I need a pointer to the variable but not having much luck.
If you can point me in the right direction, that would be greatly appreciated.
...
Is there any tool which can inject into an .exe or .dll information like File Version, Product name, Copyright, etc?
I did find a tool called StampVer but it can only modify resources that are already in the file itself. I could use it but would need to modify a bunch of Visual Studio projects to include some dummy information, and I w...
Hello,
I am running on a Windows Server 2003. This is my problem:
I wrote a Perl script to automate the copy of some files from my Server machine to some network drives. I am using xcopy to copy the files. My problem is the permissions.
If I run the script from the command line, it works, all the copies are successful.
If I try to ru...
I would like to do something like the below for a multi-threaded program:
// wait for variable to become true but don't hog resources
// then re-sync queues
Is something like this a good solution?
while (!ready) {
Thread.Sleep(250); // pause for 1/4 second;
};
...
Right now I do something like this and it seems messy if I end having a lot of functions I want to reference in my DLL. Is there a better and cleaner way of accessing the functions without having to create a typedef for each function definition so that it will compile and load the function properly. I mean the function definitions are al...
According to the documentation for API function GetNamedSecurityInfo, it can get information from the following objects:
Local or remote files or directories on an NTFS file system
Local or remote printers
Local or remote Windows services
Network shares
Registry keys
Semaphores, events, mutexes, and waitable timers
File-mapping objects...
On windows, each thread has a message queue, and each message queue will process messages for the windows owned by that thread.
This means that it is quite simple to write an application where you can create a thread, with a message loop, and one (or more) windows. Ignoring any kind of application issues, one now has application windows ...
What is the simplest (to install and use) git client for Windows nowadays?
...
After I get a handle returned by CreateProcess, I call TerminateProcess, passing 42 for the process exit code. Then, I use WaitForSingleObject for the process to terminate, and finally I call GetExitCodeProcess.
None of the function calls report errors. The child process is an infinite loop and does not terminate on its own.
The proble...
My application creates a bunch of temporary .class files and I had been storing these files in my local application directory but I recently started storing these in appData. Everything functions fine and I even have a part of my application that creates an applet and needs to copy these .class files to make the applet and the applet wo...
I'm using GetProfileInt to get key values from the registry. When the location exists, the code works, but when it does not, it returns 0 (and initializes the registry key to 0).
Why doesn't this work?
Code:
SetRegistryKey(_T("MyKey"));
int def = 0x1FFF;
def = GetProfileInt(_T("Subkey"), _T("KeyWithVal"), def);
...
I want to write a Java App that can communicate with an Infra-red device. I have a USB infra-red reader that I want to use. Are there any Java Libraries that I can use to make this happen... Ideally I want the program to work on windows and macOS X. Anyone have any sample code or anything they can do to point me in the right direction, I...
Hi all
I am developng a C# windows application for Windows CE 5.0 Device using VS 2005, .Net Framework 2.0. But i could not find AutoComplete Property of the text box.
any clue how to support this feature for Windows CE 5.0
...
How do you port a Cocoa/Mac application to Windows? I mean how would you go about it? Assume the app was written with Objective-C and Cocoa, there's nothing fancy going on, no "engine" that could be factored out, etc.
Rewrite from scratch? I don't think there will be huge overlaps between the Mac and Windows codebases, right?
...
We have a application that we were planing to use Microsoft speech API for. Now we tested it on Windows XP using Microsoft Sam voice and frankly it sound terrible ... It's almost impossible to hear what the voice is trying to say.
Are there other, better voice. Are there any updates or newer versions out there that are better. Are there...