Tech Support > Microsoft Windows > Development Resources
Anyway to COMPRESS RESOURCES???
Posted on May 20th, 2007 | 9 Comments

"AliR (VC++ MVP)" <alir@online.nospam> wrote in message news:t0Q3i.3728$4Y.2984@newssvr19.news.prodigy.net... CImage uses GDI+. -- David

memory mapped file causing huge PF usage
Posted on May 19th, 2007 | 4 Comments

In message <1179454978.979979.272720@h2g2000hsg.googlegroups.com>, mdk <leun98@gmail.com> writes Probably. It may be leaking handles or memory that you have forgotten to free. The "Memory Validator"...

Can i pass a functionpointer to a thread that it can execute ?
Posted on May 18th, 2007 | 2 Comments

On May 17, 11:55 am, "Niel Darren" <n...@pszzxasm.co.uk> wrote: Isn't this called polymorphism/virtual functions in OOP world ? ali

Redirecting stderr on a Win32 Console App
Posted on May 17th, 2007 | 0 Comments

I have a DLL written in C that writes to stderr. I have a win32 console application that makes calls to the DLL. In the console app I redirect stderr to a file using freopen. The problem I'm...

uncontrolled automatic thread termination in DLLs
Posted on May 17th, 2007 | 0 Comments

Hello, I have created a DLL which uses some threads internally. Now when the process calling the DLL shuts down, windows seems to kill those threads without giving me a chance to do any cleanup....

Memory Device Context and Jaggy Text
Posted on May 16th, 2007 | 0 Comments

Hello All, I'm creating a memory device context by calling CreateComaptibleDC, selecting a bitmap to it (created with CreateDIBSection), and then drawing text using DrawText. This looks greate if...

opening .lic files
Posted on May 16th, 2007 | 2 Comments

On May 12, 12:13 am, "" <IdontWantS...@hotmail.com> wrote: I just wanted to know if that is possible or not. The purpose was learning. Wajid

client area offset?
Posted on May 16th, 2007 | 3 Comments

On May 16, 10:59 am, Kellie Fitton <KELLIEFIT...@YAHOO.COM> wrote: thanks, I knew about the first 2 but not the third. Aha, TabCtrl_AdjustRect looks like it does what I...

Can I store EXE as resource inside another EXE?
Posted on May 16th, 2007 | 2 Comments

On May 16, 12:51 am, "boris" <b...@nospam.com> wrote: Hi, You can use the following APIs to combine several resource files into a single executable object program: // Include the files...

Catching NaN exception?
Posted on May 16th, 2007 | 4 Comments

On May 14, 9:19 am, Jakub Debski <debski.ja...@wp.pl> wrote: Anyway, thanks everyone for the responses. I just couldn't seem to figure out how to make it do something other than crash. Ideally,...

Scanning USB devices and reading USB descriptors
Posted on May 15th, 2007 | 11 Comments

Take a look at the following article... it's in VB.Net (but the concepts are the same). There is also a C# demonstration source code project that is version of the USBView...

BZip2 c++ error
Posted on May 15th, 2007 | 3 Comments

<<<<<<<<<< This shows that you don't know the difference between an object and a pointer to an object. <<<<<<<<<< I know that difference. bz_stream is a structure of bzlib. I can't find over the net...

How to find out length of a physical drive
Posted on May 15th, 2007 | 2 Comments

galapogos wrote: Under XP and higher there are the DeviceIoControl calls IOCTL_DISK_GET_DRIVE_GEOMETRY_EX and IOCTL_DISK_GET_LENGTH_INFO. Ohterwise IOCTL_DISK_GET_DRIVE_GEOMETRY which needs some...

convert http query result from byte stream to unicode
Posted on May 15th, 2007 | 1 Comments

On May 14, 10:03 pm, kombat <oha...@gmail.com> wrote: solved CA2T(str, CP_UTF8 ); just learned that ASCII can be seen as subset of UTF8, meaning the byte-stream i got back was actually UTF-8...

setting focus of open file dialog from an X window app
Posted on May 15th, 2007 | 4 Comments

I anyone is interested I found a workaround. I made a window, using SetWindowPos() to HWND_TOPMOST (HWND_TOP wouldn't work, only topmost) but without using ShowWindow (so the window wasn't visible)....

find position of specfic icon on the system tray knowing the .exe name
Posted on May 14th, 2007 | 2 Comments

On May 1, 3:54 am, jerome <jer...@parsys.com> wrote: Could you point me the link? Thanks.

Deleting drive letter programicaly
Posted on May 14th, 2007 | 3 Comments

On May 14, 1:06 am, Uwe Sieber <m...@uwe-sieber.de> wrote: I tried DeleteVolumeMountPoint and it works. Thanks a lot

multi-byte character set vs unicode
Posted on May 14th, 2007 | 2 Comments

aliostad wrote: 1. TCHAR is not a concrete type, its meaning depends on the _UNICODE and UNICODE macros which is what you switched with setting the characterset. Now, with _UNICODE, it becomes...

How do I Create a new process (a console app) so that it opens in a new window?
Posted on May 14th, 2007 | 3 Comments

The Create_new_console flag was EXACTLY what I needed. Works perfectly. Thanks On May 13, 6:00 am, "Barry" <bar...@nullhighstream.net> wrote:

controlling a application throgh external key
Posted on May 13th, 2007 | 5 Comments

On May 11, 12:07 am, r_z_aret@pen_fact.com wrote: ok robert thanks for your info am using visual C++