Apparently this function in SDL_Mixer keeps dying, and I'm not sure why. Does anyone have any ideas? According to visual studio, the crash is caused by Windows triggering a breakpoint somewhere in the realloc() line.
The code in question is from the SVN version of SDL_Mixer specifically, if that makes a difference.
static void add_musi...
Im writing a Twitter Client in C#/WPF/WCF.
I(Windows) showed some of my friends(OS X) and they would also like to use it.
Would it be worthwhile to convert the application into Silverlight 3 so that they would be able to run/install it on OS X?
Will the full features of Silverlight 3 be supported on OS X (like the install feature), li...
So I've decided it's probably best if I get some Source Control solution going to keep my hard work safe, and to help eradicate bugs between versions.
I'm familiar with SVN as far as checking stuff out, but I have NFI about the committing side of things.
What is a good Source Control solution, keeping in mind that I develop in Visual S...
I want to use a thread pool to both initiate/cancel overlapped read operations -- using ReadFile() and CancelIo() respectively -- as well as handling any completion port events when read operations complete.
Any thread can initiate a read operation
Any thread can handle a read-complete event
Only the thread that initiated a read may ca...
I'm going to write a script to disable/enable network access for applications in windows. My idea was to write a script that runs a windows shell command that do this.
The scripting is the easy path, but i don't know how to do the "denying" part. Any ideas?
...
I have this code that works in FreePascal under Windows and need to translate it to Linux but I'm completely lost on the Time Zone Bias value:
function DateTimeToInternetTime(const aDateTime: TDateTime): String;
{$IFDEF WIN32}
var
LocalTimeZone: TTimeZoneInformation;
{$ENDIF ~WIN32}
begin
{$IFDEF WIN32}
// eg. Sun, 06 Nov 1994 08:49...
Hi,
the title says it all: With which methods do I create wiki content on SharePoint, using the provided web services?
I've searched the MSDN docs up and down - with no result.
Regards..
...
Hi!
I'm wondering how do you do stuff like gettling file information, searching through directories/subdirectories in c++? Is there a particular library that I should be looking at?
I'm seeing stuff like this in some examples:
#include <sys/types.h>
#include <sys/stat.h>
Not sure where they came from.. Thanks!
EDIT: I'm programming...
The directory 'C:\temp' has two files named 'GZ96A7005.tif' and 'GZ96A7005001.tif'. They have different length with the same extension. Now I run below code:
string[] resultFileNames = Directory.GetFiles(@"C:\temp", "????????????.tif");
The 'resultFileNames' return two items 'c:\temp\GZ96A7005.tif' and 'c:\temp\GZ96A7005001.tif'.
But ...
hello,
Is it possible to create an executable for Linux and windows using the same QT code in Linux with Eclipse integration or is it necessary to install QT Creator in my Linux machine?
Waiting for reply
Thanks in advance
vincat.
...
I want to launch a process in suspended state. Is there any way to do this by using only standard tools coming with Windows XP? Is there any lightweight third party tools?
Problem I'm trying to solve:
I have a application which I want to debug it by using Visual Studio 2005. I have debug build with necessary *.pdb files and I have all s...
I want repeat sent windows messages to my winforms application.
Now, I have class implementing "IMessageFilter" which saves the selected messages (WM _KEYDOWN, WM _LBUTTONDOWN, etc...) to the list.
On key "Pause/Break" I copy the list of messages, clear original list, and resend the messages.
In my test project is only one form with on...
Does anyone know where I can find simple Client-Server application for Windows Mobile?
If anybody has code or something like that, that would be very useful for me.
Thanks
Marko
...
I've worked with google maps before, but when implementing it, I've never found any documentation on how to get the exact distance between 2 given locations via Javascript or PHP.
1) It has to be the exact same distance shown on maps, not that formula that gives you the distance in a straight line from one geopoint to the other.
2) It ...
I plan to write a windows service to initiate all the business processing, and a Windows Forms app to do all its configuration.
Can the windows user under which the service runs be edited in code as part of the configuration?
...
My Win32 application performs numerous disk operations in a designated temporary folder while functioning, and seriously redesigning it is out of the question.
Some clients have antivirus software that scans the same temporary directory (it simply scans everything). We tried to talk them into disabling it - it doesn't work, so it's out ...
I've got a few layered windows in my app that use UpdateLayeredWindow() to handle their visual representation. According to the MSDN article on layered windows, "when using UpdateLayeredWindow() the application doesn't need to respond to WM_PAINT or other painting messages." They shared some of the same message handlers as non-layered ...
I'm reinstalling everything on my machine, ..., and amongst those is cygwin. I'm trying to avoid reinstallation, partly because, I don't even know what is it that I installed last time in it. So my question is, can I just move the cygwin directory from one machine to another, and expect everything to work, or are there some other importa...
Alright. So. None of these create the scheduled task correctly with %DATE% and %TIME%:
SCHTASKS /Create /TN MyTask /TR "echo %DATE% %TIME% >> C:\SchtaskLog.txt" /SC MINUTE
SCHTASKS /Create /TN MyTask /TR "echo ^%DATE^% ^%TIME^% >> C:\SchtaskLog.txt" /SC MINUTE
SCHTASKS /Create /TN MyTask /TR "echo \%DATE\% \%TIME\% >> C:\SchtaskLog.txt"...
Hello:
I am looking for a GUI toolkit that is easy to use and cross-platform. Another major requirement of the GUI is that it should support zoom and pan. For example, I should be able to zoom in on a picture and enlarge buttons.
Something like this:
http://eaglemode.sourceforge.net/video.html
But it should have Windows support also...