Questions tagged [visual-c++-6]
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.
visual-c++-6
446
questions
0
votes
1
answer
54
views
MFC Support in Visual Studio
I have a VC++ 6.0 application that looks rather dated and doesn't build on anything later than Windows 7. I'm worried that MFC will not be supported moving forward as I upgrade to newer versions of ...
0
votes
0
answers
100
views
Microsoft's newer (templated) CString does not handle null characters the way it did before
// this is the old MFC CString (not actually dependant on CObject) vs the new ATL version that is implemented as a template
char array[] = { 0x45, 0x46, 0x0, 0x45 };
CString a(array,sizeof array);
...
0
votes
1
answer
2k
views
Upgrade "Visual C++ 6" Solution/Project to "VS2022" Solution/Project
I work with VS2022 on Windows 11 Pro, and I have a Visual Studio C++ project from 2006 (contains DSW and DSP files): https://www.codeproject.com/Articles/1796/XListCtrl-A-custom-draw-list-control-with-...
1
vote
3
answers
542
views
"Excluded from build" not working in visual studio
I am using Visual studio 2019 professional. I created one solution in which all of my source files have main function. so whenever I want to run my specific program I exclude all other source files(...
0
votes
0
answers
36
views
Rotating a label in Visual C++ 6
I am trying to rotate a label using a function but it is not working.
I only get a label without a rotation.
The label should be rotated along the point (x, y) which is the middle position
of the ...
1
vote
0
answers
40
views
What causes wrong printf result of sizeof(&arr) in Microsoft Visual C++ 6.0?
In Microsoft Visual C++ 6.0, if I compile and run code as following:
#include "stdafx.h"
int main(int argc, char* argv[])
{
int arr[5] = {1,2,3,4,5};
printf("%d\n", sizeof ...
0
votes
1
answer
598
views
Build message: Cannot open include file: 'msoledbsql.h': No such file or directory
My project can't finish build process because I constantly have this error during Visual Studio build: Cannot open include file: 'msoledbsql.h': No such file or directory
I have 'msoledbsql.h' file ...
1
vote
0
answers
222
views
How can I get Visual C 6 help (MSDN) to work under Windows 10?
I'm using Visual Studio 6 for updating an old MFC4.2 project and I'd like to get the MSDN SDK/MFC help to work again under windows 10. Right now when I press F1 it reports "Unable to display Help:...
0
votes
0
answers
60
views
I am trying to send a window (application) from the main monitor (touch screen) to a secondary monitor using the same graphics card on the same host
I am trying to send a window (application) from the main monitor (touch screen) to a secondary monitor using the same graphics card on the same host
I spent a long time gathering data, trying to get a ...
1
vote
0
answers
262
views
MSBuild using the wrong cl.exe when building with the 2015 C++ v140 Platform Toolkit
We're currently making a build environment for some of our projects.
In particular we're using VC++ 6.0 and VS2019 to build some of these projects.
When building our C++ project in VS2019 with the ...
1
vote
1
answer
484
views
MFC OnMeasureItem & OnDrawItem in menu of MDI multidoc application
(Update, see original question below)
After doing a bit of digging, I'm basically trying to understand the following; In the context of an MDI application, if a menu (which is associated with a ...
0
votes
2
answers
396
views
What was the project file type of Visual C++ back in the 1990s?
Is there anyone out there who remembers what was the file extension used by Microsoft Visual C++ way back in early days (1995-1998 or so) to hold a C++ project? This would be around the days of ...
4
votes
1
answer
5k
views
Can Visual Studio 6.0 C++ run in Windows 11?
I just install Windows 11 and found out the VS6.0 app I still have to support will not build. VS C++ 6.0 won't even launch. It was working fine in Windows 10.
Has anyone figured out how to run VS6 in ...
0
votes
0
answers
131
views
Visual studio 2010 C++ project link failure: fatal error LINK1171: unable to load ole32.dll
I'm trying to build a VC++ project. It was working fine without errors but after adding some classes which call .Net Framework dlls by below directives:
#using "mscorlib.dll"
#using #System....
2
votes
1
answer
268
views
Partial Template Specialization in C++ 98?
Does C++ 98 support partial template specification?
The following code compiles fine under C++ 11, but doesn't compile in Visual C++ 6.0.
So I am wondering if the syntax needs to be slightly different ...