Installing Qt4 on Windows - do I need to fully install MingW or just have local copies
That is, can I get away with DLLs in the install directory or does the installer need to ensure that MingW is fully installed? ...
That is, can I get away with DLLs in the install directory or does the installer need to ensure that MingW is fully installed? ...
Hi all, Does anybody have any experience/ knowledge in installing the aspImage.dll on a 64-bit Windows 2008 platform? I have a Classic ASP site that uses this component and would badly need to get the dll running. I have tried checking support documents for these to no avail. Would really do appreciate your response. Thank you! ...
Is there is a way to embed an application executable inside a webpart? is there any kind of a webpart available in sharepoint. If not, then is it possible to create my own webpart and some how place my windows application there so that when a user login to a sharepoint site he can view the main winodws applciation screen on the webpage....
Has anyone been successful using LeakDiag to track memory allocation on 64-bit Windows? Or, do you know of another free tool to replace LeakDiag for 64-bit? ...
I need to write data into drive. I have two options: write raw sectors.(_write(handle, pBuffer, size);) write into a file (fwrite(pBuffer, size, count, pFile);) Which way is faster? I expected the raw sector writing function, _write, to be more efficient. However, my test result failed! fwrite is faster. _write costs longer time. I'v...
Windows's Snipping tool can capture the screen, but sometimes I want to capture the screen after 5 seconds, such as taking an image being displayed by the webcam. (run the script and smile at the camera, for example). So in Ruby, I could do something like sleep 3 system('c:/windows/system32/SnippingTool.exe') but not all computer ha...
Is there a nice way in the WinAPI to get a path relative to another path? For example: Have a list of paths relative to: a\b\c\d And I'd like to change them all to paths relative to a\b\c Is there a neat way to do this or should I get path parsing? ...
This is probably a really silly question bu tI can't seem to find an answer since I'm apparently failing on keywords. You know how you can run commands from the commandline in linux if you put a line on the top of your .rb file so you don't have to type ruby myfile.rb all the time and can just do ./myfile.rb ? Is it possible to have the...
Hello all, I'm currently developing a C# application which will record registry changes, save them to a file, then later be able to write the preferences saved to the file back to the registry. So far I can get all the way through the process till I try and write the values back to the file. The code runs through with no errors, but wh...
Right now im working on a light cliente/server application written in C to check some problems with many computers sending data with TCP to a server through a switch. I need to read some of the flow control variables, like for example the window size, number of retransmitted packets, etc. In linux i do it with getsockopt, method i've...
A desktop app (made in Delphi) is started by User A. Let's call it "Instance A". User A does a "switch user" and User B logs in. User B runs the same application. Let's call it "Instance B" What I want now, is a way for the Instance B to send messages to Instance A. I tried the following: Instance A writes its handle in a file, so I...
I've to move a Windows based multi-threaded application (which uses global variables as well as an RDBMS for storage) to an NLB (i.e., network load balancer) cluster. The common architectural issues that immediately come to mind are Global variables (which are both read/ written) will have to be moved to a shared storage. What are the ...
Suppose i execute a command in java using the exec() function and i store the reference in a Process . How do i write into the input stream of that process Process P = Runtime.getRuntime().exec("cmd /c start telnet"); System.out.println("done running .."); OutputStream output = P.getOutputStream(); BufferedOutputStream out = new Buff...
Process P = Runtime.getRuntime().exec("cmd /c start telnet"); System.out.println("done running .."); OutputStream output = P.getOutputStream(); BufferedOutputStream out = new BufferedOutputStream(output); String S = "open\n"; byte[] BS = S.getBytes(); out.write(BS); out.close(); The above code is not executing the...
Hello, I was seeing that all the video application(Camera monitoring, Windows Media Player, multimedia applications in general...) uses a backgound color, because if you have that color on something like a Web page and you put a video to play in Windows Media Player with it behind this color at the page you will see that your movie will...
I've installed Haskell via the pre built installer v6.8.2. When trying to compile this sample file with GHC module Main where import Text.ParserCombinators.Parsec import System.Environment main :: IO () main = do args <- getArgs putStrLn ("Hello") I get the following error: D:\src\Haskell>ghc -o read read.hs ghc -o read r...
I saw the splash screen of the Corel-Draw 12 application and lost my mind! What technique do they use? On application start-up they load a transparent image, use windows api or what? How do they achieve this transparency? ...
I have an application that checks to see if a USER exists (if not create it) every time it starts, this is done as follows: bool bUserExists = false; DirectoryEntry dirEntryLocalMachine = new DirectoryEntry("WinNT://" + Environment.MachineName + ",computer"); DirectoryEntries dirEntries = dirEntryLocalMachine.Children; foreach (D...
I am running windows7 on my laptop, and all is well, but I am jealous of the multitouch on macs. I don't really know how all of this "works", but i'm imagining that it couldn't be that hard to write a program to patch into windows that allows this. Currently, if I put two fingers on the pad and drag around, it sortv half-heartedly tries...
I'm writing a portable Socket class that supports timeouts for both sending and receiving... To implement these timeouts I'm using select().... But, I sometimes need to know how long I was blocked inside select() which of course on Linux I would implement by calling gettimeofday() before and after I call select() and then using timersub(...