visual-c++-6

Making an MFC application international

自古美人都是妖i 提交于 2019-11-30 18:56:42
问题 I've got several large MFC applications here, and converting them into any other format is out of the question. We're expanding into other markets, and would like to make the apps work in other languages and cultures. So far, I've found occasional references as to what to do with Visual C++ version 6, with one mention that later versions of MFC have additional relevant features. Searching MSDN gives me instructions on how to convert the apps to Unicode, which we already did. I found nothing

Removing SourceSafe Integration from Visual Studio 6

天涯浪子 提交于 2019-11-30 17:42:02
问题 Recently, the SourceSafe integration into visual studio has started to perform badly because we have moved, and the SourceSafe "server" is located across a VPN which goes across a slow connection. This has made loading large projects in visual c++ 6 take 5+ minutes because it has to talk to the "server" for each project. Also, there are some bugs that are dangerous in the integration (the auto-checkout of certain shared projects will do a get latest on the wrong version of a branched file).

How to debug with Visual C++ 6 on Windows 7 x64?

佐手、 提交于 2019-11-30 15:57:50
问题 Surely the answer will be "you can't" or "use XP mode", but I'd like to know if it it possible. The issue I have is that whenever I debug some application and hit a breakpoint, when I stop the debugger the debuggee remains stuck. It can't be killed, I can't attach another debugger (it says it is already being debugged). It won't go away until I close Visual C++. This is hapenning on a Windows 7 64 bits install. VC has SP 6 installed. 回答1: My previous fix was horrible. Finally, I developped a

What are some convincing arguments to upgrade from Visual Studio 6?

好久不见. 提交于 2019-11-30 07:10:42
问题 I have a client who is still using Visual Studio 6 for building production systems. They write multi-threaded systems that use STL and run on mutli-processor machines. Occasionally when they change the spec of or increase the load on one of their server machines they get 'weird' difficult to reproduce errors... I know that there are several issues with Visual Studio 6 development and I'd like to convince them to move to Visual Stuio 2005 or 2008 (they have Visual Studio 2005 and use it for

VS2012 C++ warning C4005: '__useHeader': macro redefinition

ぐ巨炮叔叔 提交于 2019-11-30 07:03:59
问题 While migrating an old C++ project from Visual Studio 6 up to Visual Studio 2012, we came across an odd set of warnings from inside the standard Microsoft platform headers: warning C4005: '__useHeader' : macro redefinition warning C4005: '__on_failure' : macro redefinition An online search only found a few other people running into this error. In some cases, it was people trying to use VS2012 to compile legacy DirectX code - which I am not doing. In other cases, it was people trying to use

What are the differences between Visual C++ 6.0 and Visual C++ 2008?

大兔子大兔子 提交于 2019-11-29 01:35:54
问题 What are the advantages/disadvantages between MS VS C++ 6.0 and MSVS C++ 2008? The main reason for asking such a question is that there are still many decent programmers that prefer using the older version instead of the newest version. Is there any reason the might prefer the older over the new? 回答1: Well, for one thing it may be because the executables built with MSVS 6 require only msvcrt.dll (C runtime) which is shipped with Windows now. The MSVS 2008 executables need msvcrt9 shipped with

Is it really worth porting from VC6 ->vc2005,2008?

时光怂恿深爱的人放手 提交于 2019-11-28 02:15:21
问题 What are all the problem that you foresee in doing that. 回答1: VC 6 is no longer supported by Microsoft , in any way. If something goes wrong and for whatever reason we were not able to compile, we would be completely on our own unable to get any assistance from Microsoft. It seems unlikely that something could go wrong in this way, but if the code in question is a main source of revenue then you have take things in balance. It is impossible to compile 64-bit code in VC6 . 32-bit programs run

Using static variable along with templates

好久不见. 提交于 2019-11-27 20:25:00
问题 I have a template class defined in a header file like this. Here I have defined a static variable as well: #ifndef TEST1_H_ #define TEST1_H_ void f1(); static int count; template <class T> class MyClass { public: void f() { ++count; } }; #endif And I have defined main() function in a different cpp file like this: int main(int argc, char* argv[]) { MyClass<int> a; a.f(); f1(); cout<<"Main:" << count << "\n"; return 0; } I have implemented function f1() in a different cpp file like this: void

Using C++ DLLs with different compiler versions

风格不统一 提交于 2019-11-27 18:30:48
问题 This question is related to "How to make consistent dll binaries across VS versions ?" We have applications and DLLs built with VC6 and a new application built with VC9. The VC9-app has to use DLLs compiled with VC6, most of which are written in C and one in C++. The C++ lib is problematic due to name decoration/mangling issues. Compiling everything with VC9 is currently not an option as there appear to be some side effects. Resolving these would be quite time consuming. I can modify the C++

Is it possible to use the VC++ 6 compiler in Visual Studio 2012?

ⅰ亾dé卋堺 提交于 2019-11-27 01:24:30
问题 I am using Visual Studio 2012 to develop my projects, and I also have installed Visual Studio 2010 - which gives me the option to use the VC++10 compiler in Visual Studio 2012 (project properties), but I also have installed Visual C++ 6 and somehow the option to use the VC++6 compiler is not present in Visual Studio 2012, how do I add this option (manually)? 回答1: The answer is definitely maybe. It seems quite possible, but I could not get a copy of VC 6 so I was unable to verify it. What I