getting HWND from HINSTANCE I call a ShellExecute like this and then I'd like to resize the window. How can I get the HWND from the HINSTANCE? thanks HINSTANCE result = ShellExecute(NULL, "open", MPEG4_DECODER, URL, NULL, SW_SHOWNORMAL); ... 20 Mar 2006 16:51
finding an access violation in msvcr71.dll (0xc0000005 at 0x0000fedc) Is there any way to find out what the access violation exception (0xc0000005) that I'm seeing in msvcr71.dll? It seems to be at address fedc (fault address 0x000fedc). For what it's worth, the flags are 0, record is 0, and the address seems to be 000000007c34fedc. Unfortunately I haven't been able to produc... 2 Mar 2006 07:44
Why can the program, osk.exe, be run before logon? I wanted to run a program before logon, so I try to program a service to run a outside program. When I run the program, osk.exe, it can be process before logon and I also can find UI before logon. But I can't see any UI before logon when I run any another program like "calc.exe" or any program created by wi... 23 Feb 2006 11:11
Bug in VC8? Hi, I don't seem to be able to successfully compile with line 20 uncommented. This compiles with Comeau online and GCC 4.0.2 (apparently). A slight variation of this works in VC 7.1 (with a cast). Code follows: #include <sstream> #include <iostream> class mystream : public std::stringstream { publ... 20 Feb 2006 09:26
VC++ 7.1 Stack Overflow I am using Microsoft Visual C++ 7.1 on Windows XP. I get a stack overflow at test dword ptr [ecx],eax ; ...probe it in chkstk.asm but there is no recursion. I get this apparent stack overflow with the following call stack _____________________________________________________________________________... 13 Feb 2006 15:26
Problem using AWE Hello all, I'm trying to implement AWE in my application. So far I have done this : 1. Enabled the Lock Pages in Memory privilege for my account 2. Used the AWE example code function to enable and disable this privilege for my app. 3. Set up a memory allocation wrapper function that makes calls to: a. De... 16 Feb 2006 17:02
ConvertStringToBSTR linking error Hi there, I have a VC Win32 application compiling under VS.NET 2003 no problems, but when attempting to compile under VS.NET 2005 I am recieving linker problems. The only main difference between the 2 systems is that I am using the latest platform SDK on the 2005 system in order to utilize the latest Di... 10 Feb 2006 12:38
Visual Studio 2005 and ISO C++ Names (Repost) Hello The following message was posted at comp.std.c++ initially. Since its slightly OT for that group I am reposting it here. When I tried to simply forward the post here it didn't seem to work. So I am creating a new post. Apologies in advance if it causes a redundant entry. ==Message follows====== Some... 1 Feb 2006 02:58
Socket Sink Notification I'm developing a client/server set of applications using CSockets. I run the client on one computer and the server on another, both connected to and communicating via CSockets over the Internet. Generally it runs quite well, but I recently had a situation where the server failed and over on the client computer ... 29 Jan 2006 20:10
LVM_SETVIEW hello, To use LVM_SETVIEW, user must provide a manifest specifying Comclt32.dll version 6.0. Info can be found at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xptheming.asp for a app that "Does Not Use Third Party Extensions" (i guess my case) 1. Link to ComCtl32.lib and call I... 12 Jan 2006 04:02 |