I have a mixed process with native and managed code, running on Windows server 2003.
When I kill my process from within process explorer it goes into a state of 100% cpu and stays like that for a while (sometimes even 10 minutes) before going away. During this time I cannot "kill" it or do anything else.
What exaclty happens to a proce...
I am writing a short Java program that downloads the lyrics from a website. The only problem is that I don't know how to access the lyrics tab in the mp3 file. Any help would be appreciated
...
Hello, I've been writing desktop apps in C# for some time now but I'm increasingly getting frustrated with the fact that not everyone has .NET 2 or Higher installed. I don't have the option of upgrading their systems to meet my needs. My apps are mostly utilities that run alongside the main program the company I work for has. They access...
I have installed svn console client from these binaries - subversion.tigris.org/getting.html#windows - 1.5.6, 1.6.4, 1.6.5. But no release seems to work. Just it can't checkout from any repo (code.gjangoproject.com; code.google.com): svn couldn't connect to server.
There is bug on debian - http://bugs.debian.org/cgi-bin/bugreport.cgi?bu...
I'm learning DirectX from a book about game programming, and it uses the following method for a game loop:
long int start = GetTickCount();
while(true)
GameRun();
void GameRun()
{
if(GetTickCount() - start >= 30)
//do stuff
}
This makes start equal whatever the time is (I'm guessing get tick count gives the number o...
When I use #include <d3d9.h> in my programs, I no longer need to include windows.h to use windows functions like WinMain, and CreateWindow.
Is this because d3d9.h &c. include windows.h? Mainly, I'm wondering if it is possible to substitute windows.h with d3d9.h, etc, and still be able to se any functions I could use with windows.h.
...
I am using lighty for windows, yes i know it's not linux, but atm can only afford local hosting, which then allows me to do a lot of learning and practicing my web skills.
I am aware that fast-cgi, does not work on windows, but I am wondering what other ways, to improve performance are there?
Also I was wondering how to hide all those ...
I have a 3rd party ActiveX control I want to render within other presentation technologies (Direct3D and WPF). To do this, I need the ActiveX to render to a system memory bitmap instead of the screen. I know there is a way to do this, but not sure where to start. I'm not afraid of doing any native method hooking, but I'm not sure wher...
Hi,
I've got a .NET 2.0 Windows desktop application (time-sheets) which i develop and wanted to add a Gadget interface to it (so that app runs hidden and is controlled via the gadget).
What is the easiest way to get my gadget to communicate to my app?
An idea that i had was to have a built-in web server inside the app, and the gadget ...
I have code in c++ about AVL TREE AND have all function..the code is in win32 consol
Can i include it to project in windows form application without rewrite it another
or in the so simple try??????
because i have so much project in consol and i want to apgrade it
thank you very much....
...
Hello
For those familiar with Linux, it is possible to create a module and register it as a block device. This allows the user to mount it as a regular disk (while all the block I/O is handled by the module, e.g. usb-massstorage).
Is there a way to do this in Windows ? (Need to create a volume mountable by windows. The raw data will co...
I programmed (C# .Net 3.5) a process to start when windows (XP) starts.
This process uses other files in the same folder as itself. Moreover,
it starts another process, again located in the same folder.
However, it seems like the process cannot find the files in the same folder (they are there).
Instead, it looks in "C:\Documents a...
I have a dll which is actually a com service that is registered and then being loaded by another .exe process. I would like when the user exit from the .exe to execute some resource closing steps from within my dll before it is too late. I tried to intercept the DLLPROCESSDETACH or DLLTHREADDETACH from the DllMain of my DLL but it seems ...
I am contemplating writing a program that will move some newly created dirs to another that puts them into date-stamped folders; either by week-month-year or month-year. I can probably write/debug/test this in java in 1.5 hours, BUT
I would like to know if anyone else has had to deal with this, and perhaps has done it with a windows bat...
I have a small application that redirects the stdout/in of an another app (usually command prompt or bash for windows). The problem is that if the connection is interrupted the my process has no idea and it never closes because of this line:
WaitForSingleObject(childProcess.hThread, INFINITE)
I was thinking of having a loop with somet...
Yesterday, I try to start eclipse 3.4 by click eclipse.exe (in eclipse folder), and run normally.
Then yesterday night, I do windows update. Today, when I try to run eclipse 3.4, it has error. The error message you can find at here SCREENSHOT
I use windows xp sp2, and java 1.5 update 14.
I don't know how to fix that, so I uninstalled ...
I have a dll produced by a third party that has some sort of internal datastructure that limits it's size to X elements.
So basically, it has a Queue with X as the limit.
Now from what I've known DLL's are per process, but is it possible to load a DLL more than once? Maybe per thread? In C#? or in C++/CLI?
I'm trying to load a native ...
Our program consumes an out-proc COM server and makes thousands of calls on its interfaces. This takes very very long time - like a minute for about 50k calls. The COM component vendor says that the calls are very fast by themselves and that the problem is in the overhead associated with out-proc calls.
Is there anything that can be tun...
I'm working in a sort of encapsulation of the windows filesystem.
When the user request to open a file, windows calls to my driver to provide the data. In normal operation the driver return the file contents which is cached, However, in some cases the real file is not cached and I need to download it from the network.
The question is i...
How can I get the IP address of a network printer given the port name,
using win32 API?
I tried looking into the PRINTER_INFO_* structs, but it seems it is not present there.
...