I'm developing a diagnostic tool on a PC with several Network Interfaces based on multicast/udp. The user can select a NIC, the application creates sockets, binds them to this NIC and adds them to the specific multicast group.
The sending of multicast messages works fine. However receiving of messages only succeeds if I bind the sockets...
When editing a large fla (400mb - don't ask!) Flash will sometimes run out of memory and tell me to allocate more memory (in Finder I think). Obviously these are instructions for Mac that have erroneously made it to the Windows version - but is there anything I can do to allocate more memory in Windows Vista?
...
Hi Gurus,
I am new to OpenCV and I have only Tiny C compiler configured on my Windows XP machine. Can I use this tiny C compiler to compile opencv programs for image manipulations. I have alredy installed python2.6 and opencv2.0 on my windows xp pc. If we can compile how can we do that? I tried on net but found nothing of use.. Please he...
How can I popup a windows explorer on a specific folder with a specific file highlighted ?
I'm interested in solutions for XP, Vista and Windows 7.
...
I'm receiving drag'n'dropped files in my WxWidgets application via the common wxFileDropTarget manner.
In windows, a file can be dropped anywhere on my window, however in OS X only if I drop the file over a blank area of the window does it work.
I'm doing the SetDropTarget to my main window and would like to avoid having to do this to ev...
I have an application where the entire database is implemented in memory using a stl-map for each table in the database.
Each item in the stl-map is a complex object with references to other items in the other stl-maps.
The application works with a large amount of data, so it uses more than 500 MByte RAM. Clients are able to contact th...
Hi guys,
I have deployed successfully a C# windows service on a windows 7 machine.
Now, when I try to create a file using this code :
FileStream os = new FileStream(String.Format(folderName, fileName), FileMode.Create);
I get Access to filepath is denied.
In the service Installer I set the following parameters to :
this.serviceProc...
In my application i'm declaring a string variable near the top of my code to define the name of my window class which I use in my calls to RegisterClassEx, CreateWindowEx etc.. Now, I know that an LPCTSTR is a typedef and will eventually follow down to a TCHAR (well a CHAR or WCHAR depending on whether UNICODE is defined), but I was wond...
I would like to write a small module that can check if anything is connected to my computer's HDMI input, and if so write a frame of video to bitmap once in a while.
Can anyone point me to resources regarding grabbing audio/video from HDMI on windows?
...
This question is a follow up and continuation of this question about a Privilege problem I'm dealing with currently.
Problem Summary:
I'm running a program under a Domain Administrator account that does not have Debug programs (SeDebugPrivilege) privilege, but I need it on the local machine.
Klugey Solution:
The program can install i...
When i dump a table with uppercase letters using mysqldump it comes out as lower case in my > dump.sql file. I found a report here in 2006, almost 4 years old http://bugs.mysql.com/bug.php?id=19967
A solution here suggest making linux insensitive. I rather not if possible. Whats the easiest way to copy a win32 db into linux?
...
I would like to have a layered window that is always-on-top, which I can accomplish, but there are certain screen elements that still get drawn over it, such as menus (including the start menu).
Is there any way to make a window or child window of my application have a high enough top-ness property that it will draw over another applic...
What is the fastest way for a .Net program to index all images on a users' computer?
Using Open Source .Net Libs and native .Net classes.
In a way good for XP sp3 ,..., Windows 7
Fastest - Same pc configuration, different time (seconds)
.Net program - better C#
To index - get a list of absolute links (like c://bla-bla/file ) and sa...
Python
When I learned Python I installed it on windows with a nice gui installer and all .py files would automatically run in python, from the command line or explorer.
I found this very intuitive and easy, because I could instantly make plain text files and run them.
Lisp
I'm starting to learn lisp and have decided (from reviews) th...
I'm porting a library from char to TCHAR. the count parameter of this fragment, according to MSDN, is the number of multibyte characters, not the number of bytes. so, did I get this right? My project properties in VC9 say 'use unicode character set' and I think that's correct, but I'm not how that impacts my count parameter.
_tcsncmp(ac...
I have a removable device setup so it autoruns when plugged into a Windows machine and pops up a message giving the owner's information, so it can be returned if lost. Is there a way to do this in Linux as well? It doesn't need to be complex, it can be an option in a right-click menu, or a splashscreen, or anything.
...
My application does a CreateIC (and later, an OpenPrinter) for the user's default printer. When this is a remote printer, and that printer is powered down or otherwise not present on the network, it takes over 20 seconds for the CreateIC to return.
I'm looking for some call I can make that will give me a quick answer if the server is...
I have a binary file of unknown format that I need to be able to read. I have access to a program which can 'unpack' the file, but the user interface is terrible for exporting data. I've extracted a few points in an attempt to search for them in the file and discover a pattern, but it's not an efficient method. What I'm trying to do is ...
Hi,
This is probably a stupid question, but how do I run a class file on windows 7? I usually create my own .java files and then use a basic IDE (with JDK6) to compile it to a class and run it automatically. My professor gave a .class file that we are supposed to play with extensively but I have no idea how to to run it here. Note that ...
I've tracked down an error in my logs, and am trying to reproduce it. My theory is that a file sometimes gets locked in a specific folder, and when the application (ASP.NET) tries to delete that folder it hangs.
I don't have the application running on my own machine so I'm debugging this on a remote server. But for the life of me, I ca...