Microsoft Visual C++ (often abbreviated as MSVC or VC++) is a commercial, integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages.

learn more… | top users | synonyms (1)

2
votes
1answer
246 views

Error: Compiler limit Heap limit reached on simple hello world program

I am getting this error of, "Heap limit reached use /Zm to specify a higher limit", even when building an empty or hello world program in VC6. Can any one take me out of this trouble?
1
vote
1answer
1k views

problem with IHTMLDocument2::write()

I am trying to create an mshtml document object from an html buffer. But when the following code is executed it is invoking internet explorer window. How do I prevent it invoking IE. #include ...
2
votes
0answers
259 views

Visual studio 6 to studio 2010 with an activex control

I am trying to convert a visual studio 6 project to Visual studio 2010. There is an activex control on the dialog box. it works fine in Studio 6. However it fails in BOOL ...
1
vote
0answers
1k views

Visual C++ 6.0 on Windows 8

Visual C++ 6.0 is not supported on Windows 8, but we have a couple of legacy apps that still needs to be compiled with Visual C++ 6.0. :-( It is possible to install Visual C++ 6.0 on Windows 8 by ...
1
vote
0answers
53 views

Is there any way to create a stack traceback and log the call stack to a trace log file that will work with visual C++ 6.0?

I have a legacy codebase that has binary-library dependencies on Visual C++ 6.0 and I cannot obtain source code for those binary libraries. So I am stuck debugging crashes on a Visual C++ 6.0 ...
1
vote
0answers
347 views

Unhandled exception stemming from IMPLEMENT_DYNCREATE - VC6 project, Upgrading to VS2010

I'm trying to upgrade an existing VC6 MFC application to VS2010, after a couple small fixes to an old .C file I was able to make it compile. Unfortunately, when it's ran, in either debug or release ...
1
vote
0answers
239 views

Problem using WinDDK 7 with VC6

When I try to build a VC6 project with WinDDK 7600.16385.0, I get the following error C:\SDK\Microsoft\WinDDK\7600.16385.0\inc\api\winefs.h(387) : error C2485: 'deprecated' : unrecognized extended ...
1
vote
0answers
43 views

Message compiled into exe not found

I'm using VC++ 6.0. I have an executable that contains a resource file and message.h file defined and I am trying to write to the event log. It is similar to the simpledown project that can be found ...
0
votes
0answers
15 views

CDatabase.OpenEX Connection String issue

I want to open Access database without displaying any dialog box ( incase of an error ) The code that I use is CDatabase DB; CString conString; CString dbPath = _T("c:\TestDB.mdb"); ...
0
votes
0answers
32 views

VC++ 6 “unresolved externals” on Python embedding project

I'm getting this bizarre linker errors on Visual C++ 6 (I didn't choose the tool). I don't even know where to start looking on this one (I have little C++ experience). These are the errors: ...
0
votes
0answers
63 views

Visual C++ 6.0 on Windows 8 won't apply code changes

I've installed VC6 on Win8 ok, applied sp6, didn't have too much trouble. Everything compiles, don't even have to run it in any compability mode or as administrator. The only thing which (I have so ...
0
votes
0answers
51 views

Compiler reports a false template definition

I'm trying to convert a Visual C++ 6.0 project to Visual C++ 2010. There are some errors reported by the new compiler. One of them results from the following code: template <> void AFXAPI ...
0
votes
0answers
11 views

What is causing MFC application to stop

I have inherited a Visual C++ 6.0 application and am trying to add some tokenizing code to it. I have already discovered that CString.Tokenize does not work for VC++ 6.0, so I am going back to basic ...
0
votes
0answers
81 views

Exporting data from c++ to calc

I would like to export some data to calc (LibreOffice) like i did for Excel. I am programming in ancient Visual C++ 6 This is how i was doing it for Excel: _ApplicationPtr pXL(L"Excel.Application"); ...
0
votes
0answers
76 views

stop unpacking an exe file created by installshield

I write programs by using VC 6.0, and pack these programs to be a executable file(dbt.exe) by using installshield 12. how to stop other person to unpack the executable file to the oraginal ...
0
votes
0answers
68 views

COM Exception BAD VARIABLE TYPE

I am performing an update query through COM Connection pointer. Let szQuery is the update query rs is recordset pointer var is variant so statement is this. rs = m_pConnection->Execute(szQuery, ...
0
votes
0answers
59 views

CDC capture fails on citrix server

I am working on VC6 platform and have written a code for capturing CDC in to png. While running this code snippet from desktop and on the network drive this code is working fine and generating the ...
0
votes
0answers
94 views

Catching MS Word Events DocumentBeforeSave Visual C++ 6

I am trying to get at the _Document object and the Cancel instruction for MS Word in the functions DocumentBeforeSave and DocumentBeforeClose. I have the listener all hooked up and these events are ...
0
votes
0answers
192 views

VC6 project missing msvcp71d.dll?

I've been searching for a while now, and i came to understand that msvcp71d.dll is for dynamic linking - debug - CRT library for .Net 2003? Now the project is to be used in VS.net 2003 OR VC6, that's ...
0
votes
0answers
58 views

hg ignore for VC6 projects

What is the best hgignore list for VC6 projects? it's kind of old and I can't google it. I found there was a list for VS2010 and VS2008, but the project files are totally different.
0
votes
0answers
28 views

the resources' name in VC6

I find a interesting problem in the VC6.When I create some resources,like menus,icons,dialogs and so on,there must be a uppercase in the name(or ID) of these resources.For example,Menu, mEnu, meNu, ...
0
votes
0answers
152 views

Compiling Qt4 projects with Visual C++ 6

I would like to know how to compile Qt4 (preferably qt 4.8.1) projects with Visual C++ 6. I found in Qt4.4 Compiler Notes, that Qt4.4 was tested vc6 sp5. Is it possible to compile Qt4.8.1 projects ...
0
votes
0answers
88 views

Compiling mysqlclient.dll and visual sutdio 6

I know VC++6 is a -very- old compiler, but is it possible to use it with mysqlclient.dll (with MySQL 5.0 ) ? Of course when I'm trying, I get error messahes like : ...
0
votes
0answers
257 views

error C3121: cannot change GUID for class 'GeoPoint'

Error messages on build/re-build e:\aaamac\aaamac\aaamacmprod\debug\jjjjgeo.tlh(1220): error C3121: cannot change GUID for class 'GeoPoint' e:\aaamac\aaamac\aaamacmprod\debug\jjjjmap.tlh(488) : see ...
0
votes
0answers
321 views

How to add VS2010 Ribbon bar in a project which was ported from VC6?

I ported an old VC6 project to VS2010, now I want to make a better UI for it. I create a new project with Ribbon and compare it with the ported one. It's quite different. I try to modify some class to ...
0
votes
0answers
277 views

How to add a menu item into Visual Studio 6.0 IDE with an Addin developed in VC++?

How to add a menu item into Visual Studio 6.0 IDE from an Addin developed in Visual C++ 6.0? When we create a simple Addin using the Visual Studio Add-In wizard, it adds a tool bar button but not a ...
0
votes
0answers
692 views

Invalid Descriptor Index from MSSQL query

I need to execute a simple query on an MS-SQL database from C++ (VC6, if it matters). I know that the database is open. I know that my CRecordset has the correct number and type of members. I can ...
0
votes
0answers
1k views

Install and build OpenCV 2.x with Visual Studio 6

Is it possible? Let's say, for example, that I download OpenCV-2.3.0-win-src.zip from http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3/ and unzip to C:\OpenCV-2.30 then follow the ...
0
votes
0answers
343 views

Upgrading VC6 to VC10 - IDisplatchImpl Error

I'm attempting to migrate a project from VC6 to VC10. The library is a COM DLL. I have a number of classes that base class from IDispatchImpl. I'm receiving the following error: error C2504: ...
0
votes
0answers
375 views

RegisterClassObjects() Doesn't Find Classes To Register

I'm in the process of converting an application from Visual Studio C++ 6.0 to Visual Studio 2008 and am running into problems with ATL. I've been having a whole host of issues, but this is the first ...

1 2
15 30 50 per page