Visual C++ FAQ


Today we updated the Visual C++ Frequently Asked Questions page. If you have any questions that you want added to the list, go ahead and ask them here and I’ll try to get them added to the list.

Comments (23)

  1. LeighSword says:

    Great job!thanks.

    i have one queastion can i compile manage code to local machine code in the next version of powerful VC++?

  2. TVu says:

    Application closed unexpectedly when there are mscal.ocx and msacal70.ocx registered.

    My application was built from Visual C++ version 6.0, it uses some ActiveX files, one

    of them is Mscal.ocx (Calendar Control) version 8.0.0.5007. This application was working well in Win95/NT/2000 when the mscal.ocx version 8.0.0.5007 is registered.

    Problem found when the application runs on Win 2000 Office XP which has msacal70.ocx in directory C:Program Files…, when attempting to open a calendar dialog, Microsoft error message was popped up, pressing OK button on the error message would close the application.

    After unregister msacal70.ocx and registered mscal.ocx, the calendar works properly. However, this will work only for the applications built in Visual C++ 6.00 but will not work for any Visual FoxPro applications.

    Is there any way that won’t affect any apllications built by Visual C++ or Visual FoxPro while mscal.ocx can be used in C++ applications and msacal70.ocx in FoxPro in the same time without register or un-register any of the ActiveX files ?

  3. Blanche says:

    I am using OUTLOOK for my mail program (not Outlook Express). When I open Outlook, I get an error message that reads: "Microsoft Visual C++ Debug Library. Debug Error! Abnormal program termination. Press retry to debug application." Well, when I click on RETRY, it shuts down the program. When I reopen it, it works perfectly. What can I do to eliminate this error message? Thanks

  4. Bill says:

    Hi

    Is it possible to change the default file extensions that the VC++ compiler recognizes as C++ code? Specifically is it possible to define C (capital C) as C++ source code file and not as C source file

    Thank you in advance

    Bill

  5. Razve says:

    We have a large multiplatform C++ library that handles a complex industrial hardware on Linux and Windows. We’ve ported it on Zaurus with no problem. We have two obstacles on Embedded Visual C++: no support for STL streams and no support for dynamic_cast and typeid. The patch DLL is fake. Reimplementing RTTI is not our option.

    We hear that Visual C++ 2005 is going to support Pocket PC 2003 development. The question is whether it is going to have a _full_ support of RTTI and STL?

  6. zhjie says:

    Nowadays,I am programming with ADSI,I just want to have a test of it.So I design a program which can create a new user in the AD.But when it run IADs::SetInfo(),it is wrong!

    Can you analysis this problem?Thanks!

    By the way,I am a Chinese,so my English is very poor,forgive me!

  7. Aliyar says:

    I want to LPT parallel port programming with VC++6 on win XP platform. Please help me. Thank you.

  8. harris says:

    I’m using Visual Studio.net and writing a simple MFC Dialog based application in C++. It is intended to run on Win 98 but after starting the exe i get the message that the "oleacc.dll" is unable to start and can’t be found.

    What i have to do that this error does not occur?

  9. Sante says:

    I would like to know the difference between visual studio.net and visual studio 6.0.

  10. Jack Chu says:

    How to change C++ program(old product) from Visual C++ version 1.52 to version 6.0? Or what is differences that need to change code?

    Is there some software to automatically change old codes to new verion code?

    Thank you.

  11. Nuuh49 says:

    I was trying to download visual c++ compiler and i could not successfuly do that .

    What is the step by step of downloading ?

    for example first, second, thired, and last step??

    thank you

    nuuh49@yahoo.com

  12. Kevin says:

    If I complie Visual C++ code to a EXE,

    can this EXE work on WINDOWS-2000, WINDOWS XP,

    WINDOWS 98, WINDOWS 95, and WINDOWS NT and go

    to another machine and run the EXE With

    out VISUAL C++ NOT LOADED on the Machine?

  13. how can i set up my vc editor(currently in english) to czech settings. Now the editor not supporting this?

    can you give me suggestion?

    Abhilash

    abhilash@arssoftware.com

  14. Mohammad says:

    i use of Class CHtmlView for build a File Browser. how can i show all Drive.?for example

    i use Nevaigate2("d:",…) for display Drive "D".how can i Use of Copy and Paste exist in Context menu? please help to me. Thanx . bye

    please Send my answer : king@Andimeshk.com

  15. Brian says:

    My new MSDN Library subscription isn’t recognized by VC 6.0 Professional. Where can I download a patch to fix this?

  16. amir says:

    anybody knows where to get the .exe file after compiling c++ visual studion? thank you

  17. realsichiz says:

    Hi, I would really want to know how to program the parrallel port using Visual C++. Preferebly I would love to know how to control individual pins but i would still appreciate even information on how to access the port as a whole. Thanx for your help in advance.

    realsichiz: realsichiz@yahoo.com

  18. Stig says:

    I have the same problem with Outlook as listed here but can’t see an answer anywhere.

    "I am using OUTLOOK for my mail program (not Outlook Express). When I open Outlook, I get an error message that reads: "Microsoft Visual C++ Debug Library. Debug Error! Abnormal program termination. Press retry to debug application." Well, when I click on RETRY, it shuts down the program. When I reopen it, it works perfectly. What can I do to eliminate this error message?"

  19. Cosmin says:

    I also have the same problem twise mentioned inhere; please help.

    "I am using OUTLOOK for my mail program (not Outlook Express). When I open Outlook, I get an error message that reads: "Microsoft Visual C++ Debug Library. Debug Error! Abnormal program termination. Press retry to debug application." Well, when I click on RETRY, it shuts down the program. When I reopen it, it works perfectly."

  20. ZERO says:

    Hi, I would like to know how I can open .exe files in Visual C++ Express Edition Beta.

    Thanks.

    zero_of_mae@hotmail.com