Answer Questions
Nguyen Thai Hung visual studio 2005 recompiles all
Hi, I just installed Visual Studio 2005 (on an XP64). Visual Studio 2005 recompiles all files in the project everytime, regardless whether changes were made or not. I browsed through all options, but can't find anything related to this. Minimal rebuild doesn't do it. Is there something I'm missing Thanks. Thank you for the suggestion. However I started trying out things and the problem goes away when I set the "Program Databas ...Show All
steve pearson BHO Publisher in Add-ons list
I'm writing an application that will also have a browser helper object component. Does anybody know how can I include publisher (name) string that will automatically appear the IE's Add-ons list Thanks in advance _gcvt wrote: Does anybody know how can I include publisher (name) string that will automatically appear the IE's Add-ons list In your resource file add a VERSION_INFO block, and fill in ...Show All
Guillaume BLANC NAFXCWD.LIB
Now i am using microsoft visual C++ but i need the NAFXCWD.LIB that required in my project is that have any way to alternative or to solve this problem because i don' t have the license of Microsoft Visual C++ 6.0 Pro Edition What version are you using I get this every now and again. Usually I get it when I switch to/from MFC or threading models. It's a real pain and would be nice if Microsoft fixed it. Check this article o ...Show All
jlkyle Singular preprocessor definition needed
This is my first post, I hope to be clear enough (sorry for my eglish) and I hope to be lucky and find the answer to a very big problem. I have a VC++ project and I need to create, during the compilation, a define that has the same name of the file that I am currently compiling. For example, if when I am compiling a file called Main.c I need to create runtime a define #define main 1 I do this by specifying the in Preprocessor Definitions secti ...Show All
DanMeyers How can use both VC++ and C# in same solution
How can use both VC++ and C# in same solution Thks In just adding a CSharp file and a C++ file to a project! Off course you are right. You can not add a C# file into the same project. You can mix those languages only on assembly level. Sorry! There’s a sample in the DX SDK called "Scripting", it’s a managed C++ project where the C# compiler is invoked to build certain C# script files which are added to the pr ...Show All
Dave Singleman C++/CLI code porting problem
I'm trying to port a C++.NET (managed extensions) application to C++/CLI. However I'm not very strong with the syntax yet. What I'm trying to do is to create a wrapper for a C Dll file. To do this I'm using DllImport but I failed to found documentation on it's use. There are some problems due to changes of the syntax but I couldn't find out why yet. The C++.NET line looks like this: [DllImport("my.dll", CharSet = Ansi, CallingConven ...Show All
JAK117 AfxWndProc and compiling a MFC app with MFC 8.0
Hi all, I'm compiling an existing MFC (VC 6.0) in Visual Studio 2005 and after fixing so many compile and link errors finally I could run the application but I got some asserts in the AfxWndProc method of the wincore.cpp. I found a KB article on a bug in MFC about modal dialogs but didn't know if it is still there in MFC 8.0 I didn't find any other resources about the same problem but I'm getting this assert in opening many of the docum ...Show All
Pavel Lazarev warning C4441: calling convention of '__stdcall ' ignored; '__clrcall ' used instead
I have a .NET Class Library that is linking in a static library which has code callbacks defined with __stdcall. On compile I get the warning: warning C4441: calling convention of '__stdcall ' ignored; '__clrcall ' used instead How can I correct this is does it not matter As mentioned this is a third party static Lib so I have no control in making changes. I am also going to be calling a ...Show All
Rich Lander ATL80.DLL from VS2005 RTM won't start on NT4
If an attempt is made to load the RTM ATL80.DLL on NT4, an error message is shown complaining that the import GetLongPathNameW could not be found in KERNEL32.DLL and as such, the process cannot start. As the MSDN docs for GetLongPathName() show, it's very simple to work-around this problem in source-code (ie static library) by including NewAPIs.h. However when linking with ATL80.DLL this solution is not possible, since ATL80.DLL does not d ...Show All
vbjunkie Unicode output to console
Hello, What do I have to do to correctly output Unicode strings to the console in standard C++ using Visual Studio 2003 For example, to output the Cyrillic capital 'A', I'd like to: std::wcout << L'0x0410' << std::endl; Unfortunately, this does not work and I get ANSI control characters instead. Requirements: 1. Pure Unicode, no mucking around with single-byte code pages. 2. As much standard C++ as possible. Thanks, Alex ...Show All
Gyozo Please Help Me! Please...Please...!
Hi. I want design Line in a StaticControl.(or any function.like sin(x)) Please Help me. I didn't realize that this is the same guy who wanted to know how to use a static control to show a line on a window :-) cgraus wrote: Nishes reply to this question previously will allow you to do a line on your form. If you want the line to follow a function like sin(x), then you need to write your own control, no built in con ...Show All
perin VCMAME: compiles with VC2003, fails with VC2005
I'm trying to build the MAME source using Visual C++ 2005. I'm using the VCMAME project files from http://www.vcmame.net/ . I first built the project in Visual Studio 2003, then opened the project in VC++ 2005 and rebuilt. I only had to make a few modifications to the project, like adding _CRT_SECURE_NO_DEPRECATE to silence a bunch of warnings. However, one of the source files (winalloc.c) implements their own memory handling functions so ...Show All
van_walraven Call Browser is not working in VS2005
hi, i just noticed that the Call Browser is not working anymore in VS2005. of course, i can view the Call Browser window but all searches fail. i also do not see the context menu option for call graph when i right-click on a symbol. what should i check thanks for any insight... g Yes, BSC is generated by C++ - Browser Information settings, and you're right, the browser information has nothing to do with ...Show All
Skyler Build Error! Please help me
Hello. Experts! Actually I posted up this question today in the morning. I couldn't find it. Anyway, I downloaded a sample code from msdn which is called "DRAWCLI", and built it I could see something weird as follows. ------ Skipped Rebuild All: Project: DrawCli ------ ========== Rebuild All: 0 succeeded, 0 failed, 1 skipped ========== Do you guys have any idea about this Please help me! Please post your ...Show All
natashaj Problem running VC++ 6 and VS.Net 2003 on XP box
Anyone know of a problem having these 2 environments loaded on the same XP box I have them both on my 2000 machine and no problems. However, on my XP machine I have debug problems in VC++ 6. Release builds run fine, but Debug builds crash immediately. If I step into the debugger on app startup, I can see there are memory issues -- strings being corrupted, overwriting each other, etc. Thanks. ...Show All
