Category : visual-studio-2015

I’m compiling HTTPD 2.4.48 along with Lua, Zlib, cURL, jansson and OpenSSL. Here is the list of files and software I use: httpd-2.4.48 apr-1.7.0 apr-util-1.6.1 cURL 7.77.0 expat-2.4.1 jansson 2.13.1 Lua 5.4.3 mod_fcgid 2.3.9 openssl-1.1.1k pcre-8.44 ZLIB 1.2.11 ActivePerl v5.28.1.2801 (x64) CMake v3.20.3 (x64) NASM v2.15.05 (x64) Gawk v3.1.6-1 (x86) The whole compile statement I ..

Read more

The following simple application demonstrates the compile error: My class declaration: MyClass.h #pragma once class MyClass { friend int MyCalc(); public: }; class definition: MyClass.cpp #include "stdafx.h" #include "MyClass.h" int MyCalc() { return 1 + 2; } The main function: ConsoleApplication1.cpp #include "stdafx.h" #include "MyClass.h" #include <iostream> int main() { std::cout << MyCalc();//"Identifier MyCalc is ..

Read more

MFC C++ project under MS VS2015. My plan is to dynamically create lots of (say >200) CStatic boxes using the extended styles: WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE to make them look nice. It means I can’t use CStatic::Create, instead using: DWORD style = WS_VISIBLE | WS_CHILD | SS_CENTER | SS_NOTIFY; p->box = CreateWindowEx(WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE, "STATIC", nStr, ..

Read more

I’m trying to build example application from here. In Visual Studio I created a Win32 C++ console application. when I try to compile I get a lot of errors about undeclared identifiers. The code as mentioned in the link is: #include <windows.h> #include <tchar.h> #include <stdio.h> #include <strsafe.h> #include "stdafx.h" void DisplayError(LPTSTR lpszFunction) // Routine ..

Read more

I have been facing this issue since long, I am trying to build a project in VS 2019 which has previously built fine in vs 2013. I am facing this error which has no definition anywhere on Microsoft forums. I have tried doing all the retargeting with the 2019 toolset as well as changing the ..

Read more

I’m working with a Windows 10 VM from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/ with the goal of porting a nodejs app to the platform. npm install had problems with the nodejs install via nvm, so I thought I’d give the nodejs that is listed in VS Community 2019 edition. I went to menu item Tools | Get Tools and ..

Read more