Answer Questions
Rajiv Poddar build error
after downloading VC beta 2 and spending hours trying to get the header files to be recognized and figuring out how to build a hello world file, i decided to move on to chapter 1 of tricks of the windows game programming gurus and run the sample game called freakout, i recieve this error 1>------ Build started: Project: freak1, Configuration: Debug Win32 ------ 1>Compiling... 1>blackbox.cpp 1>c:\program files\microsoft visual studio ...Show All
ndPriya Anand c1083 fatal error cannot find include file
Hi all; i am using VC++ .NET 2003, can any body help me why i am getting such type of error when i am including header file through relative path. i don't have fair knowledge of VC++ .NET, i am sure i am missing something in project setting. actually i included each path in 'aditional include path' option in project setting but still getting error. it will better i will explain my problem with example: Following error i am getting ...Show All
dotnetgirl Side-by-side DLLs: a must read for any unmanaged Visual C++ 2005 user
I have just found a new tutorial article written by Richard Grimes that explains the whole side-by-side DLL situation with the runtime library etc. The content of this article is incredibly valuable. I hope that the MSDN help is updated to reflect a lot of the information in this article. Here it is: http://www.grimes.demon.co.uk/workshops/fusWSThirteen.htm Thanks go out to Richard for investigating this area with a fine tooth comb and e ...Show All
Lee Meyers DLL initialization failure
I've translated a VC7 project that builds a COM dll, to VC8. It builds, but I can't register it: Regsvr32 reports "LoadLibrary("<path>") failed - A dynamic link library (DLL) initialization routine failed." The dependency viewer suggests that all the required libraries are present. The failure occurs before execution reaches by code (DllMain). How can I debug and find out what's going on Phil Atkin ...Show All
jimmybon Why is there a popupwindow for assert(false)
Hello, This code #include <cassert> int main() { assert(false); return 0; } compiled like that "/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/VC/BIN/amd64/CL.EXE -MD -D_CONSOLE -nologo assertion.cpp produces the output: Assertion failed: false, file assertion.cpp, line 5 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more in ...Show All
ScottEye Coding guidelines
I heard from somewhere that Microsoft has some kind of coding guidelines for VC++. Does anyone have a pointer to this information or is it available online Thanks a lot, Karthik Thanks cgraus. I guess thats the best thing to do. KarthikR Microsofts recommendations change with time. For example, they no longer recommend hungarian notation. I would say, whatever team you are on should discuss coding standards together, ...Show All
Frogblast.utfoo Negtive zero valid?
Hello, I hope I am in correct forum. I am testing Visual Studio 8 RC1, and found a negative zero. Here is a C example: { double val = 0.0; val = -val; printf("%g\n", val); } Output is: -0 The result is "0" with .net 2003 version. Is this a expected behavior If this is expected, could somebody point me to the documents describing new double behaviors. Thanks! ...Show All
WesleyNM CDC Textout leaves artefacts
I have an application that is using the MFC TextOut function to draw some text. The font is Arial. When I blink the text by redrawing it as the background color or even just change the text I am left with small bits of the original text (basically a ghost outline of the text). I have found that is is related to the anti-aliasing of the true type font and if I turn anti-aliasing off the problem goes away. But is there a pro ...Show All
coolbiker replacement for /mapinofo:lines in Visual Studio 2005
We have a suite of Windows applications w ritten in C++ using Visual Studio 6. The executables contain a structured exception filter which, in case of an unhandled exception, logs the state of the current thread. The logged info includes the fault address, a trace of the call stack, register contents, a stack dump, etc. The Visual Studio 6.0 projects are set up to generate full map files which include line number i ...Show All
tabwebdesign 2005 Resource Editor trashes non-English languages when you edit any dialog
I have an application that has resources in 11 languages, including Chinese (CHS), Hungarian and Polish. These three are especially challenging because they use a non-English code page - Chinese uses 936 and Hungarian and Polish use 1250 (English and western-European languages use 1252). I am not using Unicode but rather just single byte characters sets for all languages except Chinese which requires MBCS (two byte characters). MFC an ...Show All
Marcelo Guerra - MSFT equivilent of _msize() for a pointer not dynamically allocated
In my function it is passed an argument wchar_t * src I want to allocate as much space as src points to. if i use.. wchar_t * buffer; buffer = (wchar_t *) malloc ( _msize( src ) ); it will error if src was not dynamicaly allocated with malloc. I want to be able to get the size even if it was created like.. wchar_t sbuff [1024]; wchar_t * src = sbuff; how would my function get that 1024 value when it creates its buffer ,thanks ...Show All
Bevin R Brett How to list all related functions
Hi, guys, Do you have any ideas to list al related functions when I run some software I got the source code and was told that there are no documents about it. I was asked to do reverse engineering to figure out the logic diagram, to write down full documents for the source code: the design idea, the logic, the executive order and so on. I used magicdraw to get the class diagram. But there is still a long distance to the final goal. ...Show All
Tobias Hoff Visual C++ Toolkit for VS2005?
What is the Visual C++ Toolkit 2003 The Visual C++ Toolkit is a free edition of Microsoft’s professional Visual C++ optimizing compiler and standard libraries--the same optimizing compiler and standard libraries that ship in Visual Studio .NET 2003 Professional! Hi, I used to have Visual C++ Toolkit installed along with my VC++ 2003. This tuesday, after attending Microsoft VS2005 launch event, I came back with V ...Show All
ceto Is there any way to view contents of clipboard ring?
I understand that in VS 2005 the contents of the clipboard ring can be accessed via the keyboard, but I would like to be able to view all of the contents so that I can select what I want to paste. This is a feature of 2003 that I use constantly. Is there any way to do this in 2005 Thanks. That doesn't do anything for me. It shows the toolbox but i have nothing in my toolbox. It just s ...Show All
Sudheer Palyam MSVCR80.DLL Unable to locate component
Hi, I am trying to use Visual C++ 2005 to build the project which was create by Visual C++ 2003. When I run the code, an error message pops up. "MSVCR80.DLL - Unable to locate component" who knows how can I fix this problem Thanks a lot! Yang Hi George & guys, I think I found the reason. I rebuilt the 3rd part libs with VS 2005, and then add them to my ...Show All
