Answer Questions
Padmav Another C4346 problem
Hi, Guys: I am trying to convert some codes from VC5 to VS2005 and got some problems with iostream. There are several components in my codes, and I got the C4346 warning in one of them, but did not get it in other components. I checked this forum and understand why VC2005 reports C4346, mainly because the keyword "typename" is missed in somewhere in a template. For my case, the warning comes from the standard "iosfwd" fil ...Show All
sined nivuach PurifyPlus reports FMM in STL of VC++ 7.1
Hi all, I run my VC++ 7.1 generated dll under PurifyPlus' control. I get a whole slew of FMM (free memory mismatch) errors for memory chunks allocated by the Microsoft STL. Unfortunately I haven't got the stack trace available right now but I could regenerate it if it's necessary. One example code snippet looks like this (details omitted): class ComponentFactoryBox { ...Show All
Blazing Moose vcecho in 2005
For an AddIn I am working on I need to adjust the build command line by changing the "Compiling..." string that appears in the Output window to "Instrumenting...". In vc7# this was accomplished by removing the "~vcecho!Compiling..." from the command line and adding your own. The vcecho was part of the vcspawn command line syntax, and now, without vcspawn I am looking for another way to adjust the "Compiling..." string in the VS output window. As ...Show All
Elfeffe How to use API ChildWindowFromPoint/Real ChildWindowFromPoint?
Can you offer me a demo using API ChildWindowFromPoint/Real ChildWindowFromPoint to get className and windowtext form a control disabled underneath mouse THKS! mail: ss.song@liteon.com Hello Ayman Shoukry , Thanks! Hello MiniSong, Check out these links: http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface ...Show All
Karen Corby - MSFT Where is 64-bit test container?
hi, i'm ever. i'm porting my ATL ActiveX control to 64-bit Windows XP. i'm using VS2005 beta2 + 64-bit Windows XP + Dell workstation precision 670. i can build my control successfully at VS2005 beta2 for x64 platform and it can be registered by REGSVR32.EXE. BUT when i open the ActiveX Control Test Container and insert it, i can't find it in the Control List Box. moreover, if i copy my control to Windows\System32 directory and register it in t ...Show All
soniaarora WH_CALLWNDPROCRET hook into Gina
Hi, I am currently working on hooking into GINA functions. I know i can use WH_CALLWNDPROCRET hook to hook into windows procedure to display my own dialog for retrieving user credentials. And then I need to monitor for WM_INITDIALOG, WM_SETTEXT, and WM_COMMAND.But I got lost when i implement them, coz i can't single step debug them when I test them on windows logon. Can anybody tell me the basic idea of where and what my code need to do in WM_I ...Show All
Kris Reynolds Latest compiler creating XP-only compatible .exe files
[had no luck on the Visual Studio Express forum...] Has the compiler for this new release version of VC++express changed since the beta On a different forum, the following posts have been made: " I always use UPX to compress my binaries, and it seems that compressing the output of the new compiler produces something that doesn't run." "Is there any managed code in it UPX butchers that as I recall as it is not actual valid machin ...Show All
Razgriz COM suggestion
So I have my nice object hierarchy , derived from a common base object , say TObject. The code is pure c++ and should remain in that way for compatibility. I mean, no WINDOWS or MFC/ATL types. Now, I need to write a COM wrapper to access that framework from VB. I will use Attributes with ATL and link the DLL of the framework. Anyway , since I'm new to COM programming I ask you some hints. For what I've understood until now, each class will requi ...Show All
dangster_gangster Can't find MFC80ud.dll error
I once upgrade my 2002 project to 2005, and it worked without any problem. But after I change the charset from mbcs to Unicode, then when I run the debug version, Windows informs me that "cannot find MFC80ud.dll". After hours of research and compared with the default project created by 2005, I found that the problem was due to manifest file in ".rc" (It was auto-generated by 2002): ///////////////////////////////////////////////// ...Show All
JoeMiller Where is the MFC-Application Template
Hello, i miss the template to create MFC-Apllications on VC++ Express Edition. Where can help me Regards mbs-systems Is there any way then, I can add MFC Templates for developing MFC Applications It says to use community for getting MFC Templates. Is there any link where I can download them Hi, MFC development is only supported with the Standard and higher editions of Visual Studio. The Express Edit ...Show All
Mr.Doubt Please Help me Out From a Run Time Error
I am developing an application in which i am handling a file(.txt) from the SDI.I am using fstream.h header file for reading from the file. My program works small bit but give a runtime error Runtime Error given by the compiler is as below "Instruction at 0x5f4229b6 reffered memory at 0x1c000004 .The memory could not be read from MyApp.exe(MSVCRTD.DLL)" After debugging it in VC Debugger ,it gave the above message and opened an file for debugging ...Show All
waynes world beginner C++
Still in class for intro to C++ and I'm working on one of the labs. In this lab, the program prompts the user to input a number (x), from there the program sums up the numbers from 1 up to (x). For example: input sum 1 1 2 3 //(2+1) 3 &n ...Show All
tee_user5 Code that compiles in VS 6 doens't work in VS 2005
I'm a little frusterated that the VS 8.0 C++ compiler seems to make so many things that worked with the 6.0 compiler cease to work. Many thanks in advanace from a C++ and VS novice! Anyways, I'm just trying to render html wtihin my app, and I'm using the rather cool (http://www.codeproject.com/com/cwebpage.asp) to host MSHTML... but simply trying to get the dll.c file to compile, I run into two errors... f:\visual studio 2005\projects\cwebpage( ...Show All
ChuckBuc IDE keeps changing the encoding of the vcproj file
We are all running the July CPT release. All machines are running US English but runing XP PRO, WIN2K or WIN2K3 Alan Also, to understand the problem better: - are all your projects saved with the same code-page are they all utf8 or are they mixed - what action are you performing that causes the .vcproj files to get checked out modifying a solution by adding or removing a project or saving the sol ...Show All
wwwj Dump files and obtaining stack information
Hi All, Im trying to read a mini dump file using MiniDumpReadDumpStream, which successfully works, and want to know how to obtain stack information that is contained within this file. Ive found StackWalk64, which requires a handle to a process and thread to be passed in - how can this be obtained from the dump file If anyone has any examples - it would much be appreciated. Thanks Yes! So is my kno ...Show All
