First  |  Prev |  Next  |  Last
Pages: 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
handling user clicking x on console window on W2008
Hello On a Windows 2008 32 bit PC (I assume same for 64 bit) if user clicks x on top right console window to close program, how do you intercept. If I setup a handler for SIGINT, SIGTERM and SIGBREAK, the signal handler is not called. Here is my test program: #include <csignal> #include <iostream> #include ... 23 Apr 2010 17:32
How many threads can be handled by the OS scheduler?
Hi, we've an app that may create up to 1000 threads. If it does so, it usually doesn't perform any work anymore. I'm sure that there's a deadlock in there, but while discussing this problem with my colleagues, we came up with the question whether Windows can manage this many threads without becoming significantl... 25 Apr 2010 11:00
Assign label to a drive letter and notify the Shell to update its cache
Hi all, I would like to change label to a drive letter. I find a guide in msdn: 'http://msdn.microsoft.com/en-us/library/ aa969356.aspx' The following example specifies label for the E: drive. For Windows 2000: ?HKEY_CLASSES_ROOT\Applications\Explorer.exe\Drives\E\DefaultLabel\ (Default) = MyDrive... 20 Apr 2010 22:59
Rebar Control Not Displaying?
Hello, I have this "simple" example of a rebar control. I originally tried it in later versions of Microsoft Visual Studio C++, and for some reason the control is "not" displaying. I thought I would go back and try it in an earlier version of the Visual Studio, so I tried it in version 6, which is quite old... 23 Apr 2010 20:52
Enhanced handling of USB Sticks and setting "HDD" Bit
Hello NG, how can I read and hopfully set the Bit which describes an USB Stick as Removable or as a HDD media? Think, I have to use a funtion like UsbBuildGetDescriptorRequest() See: http://msdn.microsoft.com/en-us/library/ff538943.aspx But I don't know where I can find that Bit. Any Ideas? Thomas ... 20 Apr 2010 15:52
How to Find which DOS Based Application is Running with NTVDM?
Hi All, I have the following information: - MSDOS applications are launched as threads of ntvdm. - At kernel space, CreateProcess and NtVdmControl API is called when ntvdm is launched. - When ntvdm is launched, it does not show as part of its parameters the file it is loading. Also, NtVdmControl does not prov... 23 Apr 2010 20:52
lock one resource in win32 + asm
How you from win32 can lock one resource used from many treadhs? example: Lock(&resource); doing_something_only_one_thread_can_do(); FreeTheLock(&resource); e.g int resourceMem=0; void* malloc(unsigned s) {void *v; .... Lock(&resourceMem); .... FreeTheLock(&resourceMem); return v; } how o... 23 Apr 2010 20:52
Setting CButton border and edge color
http://wjswlsvy.v3webhard.com/btn_border.bmp shows the ugly button boder. (the background color of CMainFrame is RGB(128,128,128).) i can not display the border and edge of it as transparent. can it be possible to set edge and boder color of CButton??? ... 20 Apr 2010 15:52
a new font
there is someone that can show some internet link on how to change the font of one edit window? using only kernel, user, ... all basic .dlls and using a low language as C or Asm? ... 20 Apr 2010 15:52
ANN: Seed7 Release 2010-04-18
Hello, I have released a new version of Seed7: seed7_05_20100418.tgz In the Seed7 programming language new statements and operators can be declared easily. Types are first class objects and therefore templates/generics need no special syntax. Object orientation is used when it brings advantages and not in plac... 18 Apr 2010 17:30
First  |  Prev |  Next  |  Last
Pages: 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27