- Pipe from one process to another
- Posted on August 7th, 2006 | 4 Comments
I solved it! If anyone else has problems with this, see the code below. Note that Process and Pipe are classes encapsulating the ugly win32 code. Marcus CString command; Process dumpProcess;
- Catching a system error.
- Posted on August 7th, 2006 | 2 Comments
John wrote: Here is now comp.os.ms-windows.programmer.win32 so this last part of your sentence should be the opposite. -- Grzegorz...
- Exception 03H in module KERNEL32.DLL
- Posted on August 7th, 2006 | 0 Comments
Hi Friends, My exe gives an error msg like Exception 03H in module KERNEL32.DLL very often. I am working in VC++ 6.0 ver, mfc and gdi plus. PG1609VZ caused an exception 03H in module...
- GetOpt_long
- Posted on August 5th, 2006 | 1 Comments
I am still (occasionally) using VC6, where it works. I even remember playing with gengetopt, which makes using getopt_long a snap... 31337one@gmail.com wrote:
- Plz help me to correct my code to send E-mail as NT service .
- Posted on August 5th, 2006 | 0 Comments
I tried to send e-mail as NT service but i could not send it. the Mapilogon function fails to logon in NT service. But It works well as an Standalone application. here is my code for only sending...
- Dialup(VPN by phone) connection
- Posted on August 4th, 2006 | 1 Comments
In article <eaqir2$ss5$1@nemesis.news.tpi.pl>, arek7509@priv.onet.pl says... RasDial or RasDialDlg. -- Later, Jerry. The universe is a figment of its own imagination.
- eject cd?
- Posted on August 4th, 2006 | 2 Comments
In article <DJSdnc9PUOdr-0_ZRVnytw@pipex.net>, allanmb@TAKEAWAYdsl.pipex.com says... Here's one way: void openCD() { if(mciSendString("open cdaudio",NULL,0,NULL)==0) { mciSendString("set cdaudio...
- How to use MFC Cstring class in Win32 DLL?
- Posted on August 3rd, 2006 | 1 Comments
* Panks: MFC headers include <windows.h> for you. MFC defines DllMain for you if you create an MFC DLL.
- security API
- Posted on August 3rd, 2006 | 1 Comments
CT wrote: It appears that you are requesting the security descriptor for the underlying file system directory, which in fact may allow both reading and writing. You also need to take into account...
- SetWindowLong with GWL_USERDATA
- Posted on August 3rd, 2006 | 2 Comments
Thx for your hints. Due to my specific case, I have to do so, I mean, centralize the "freeing" operation. Still, your reply inspired me some additional idea. thx. Jakob Bieling wrote:
- Using linker map to pinpoint code
- Posted on August 2nd, 2006 | 2 Comments
Alex Fedotov wrote: Thanks; that was very helpful. I was unable to find any MS documentation of the format of the linker map, and I didn't even notice that there was another column.
- Why does CreateFile cause a whole bunch of reads (Read AndX Request)?
- Posted on August 2nd, 2006 | 0 Comments
Hi, I am trying to narrow down a performance bottle neck in my application and I fine that CreateFile (I am using this API to open an existing file) causes a whole bunch of reads as seen by a network...
- Setting font of child controls
- Posted on August 2nd, 2006 | 2 Comments
AB wrote: BOOL CALLBACK SetFontFunc(HWND aHwnd, LPARAM lParam) { SendMessage(aHwnd, WM_SETFONT, lParam, 0); return TRUE; } And add this line to WM_CREATE:
- changing image in command bar
- Posted on August 2nd, 2006 | 0 Comments
Am developing an application in eVC++ 4.0 and trying to put one image in the Command bar along with the other menu options. And after that as the application progresses i want to change that image at...
- How to map a file to a vitual partition or folder?
- Posted on August 2nd, 2006 | 0 Comments
I saw some software can do this, bu I don't know how to implementate this function. Thanks.
- Win ME: codepage of WM_CHAR
- Posted on August 1st, 2006 | 0 Comments
Hi, how can I detect the currently set input locale (and its charset/codepage)? For instance I have a German Win ME (charset ISO-8859-1 or Windows codepage 1252) which is set to Hungarian input...
- Is there a win call to get the CPU Usage (percent)?
- Posted on August 1st, 2006 | 4 Comments
DeanB wrote: You might be able to achieve what you want with GetProcessTimes: http://windowssdk.msdn.microsoft.com/en-us/library/ms683223.aspx -- Absolutely not the best homepage on the...
- Getting Desktop changes
- Posted on August 1st, 2006 | 1 Comments
jan.gehring@gmail.com wrote: In pre-Vista systems, this is done with a mirror display driver (the link may get...
- install wizard?
- Posted on August 1st, 2006 | 3 Comments
awesome! thank you both! ken Grzegorz Wróbel wrote:
- Leak When Using CString?
- Posted on August 1st, 2006 | 0 Comments
I have read numerous points of documentation on CString and I think I have confused myself. I have three custom classes: CMapRenderingEngine, MapSource, and UUID_and_string. First, a CString named...

