Category "visual-c++"

How is CONDITION_VARIABLE implemented?

A longer version of the title question would be: On my machine, sizeof(std::condition_variable) is 72 bytes. What are these 72 bytes used for? Note: The size

Value greater than 10^5 in 2d array was not declared in scope

When I tried:int global[10000][10000]; it works but whenint global[100000][100000]; when I try to access it it gives me error: global was not declared in the s

Legacy VC++, Com based Desktop application to Modern web with microservices

I am in the process of moving my existing desktop application to web. The GUI is developed using MFC/VC++ and the buisness logic is written in COM enabled VC++

What is the difference between the LIB and LIBPATH environment variables for MS Visual C/C++?

I've been working on some build scripts, and this is bugging me. I want to be sure that we're independent of environment settings, but in order to be sure of th

error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in CppFile1.obj

I was converting my projects from VS2010 to VS2012.But I am getting an _MSC_VER linker error in certain projects. After a long surfing through google I found ou

GetFileAttributes with environment variables

I am trying to have a file exist or not in a path using vc++. if (INVALID_FILE_ATTRIBUTES != GetFileAttributes(L"%windir%\Myfile.exe")) printf("\n %ws"

How to link against msvcrt.dll instead of msvcr100.dll in VC++ 10.0?

Is it possible to link against VC6's MSVCRT.DLL in VC++10.0? By default it seems to be linking with MSVCR100.DLL, but I don't want to redistribute yet another

How to generate an import library (LIB-file) from a DLL?

Is it possible to autogenerate a MSVC import library (LIB-file) from a DLL? How?

Visual C++ 2022, Microsoft Store and MSIX manifest question

Hi! Would someone answer my question, please? I have a Visual C++ application linked against C++ DLL Runtime. It is converted to Microsoft Store app by MSIX Pac

LINK : fatal error LNK1104: cannot open file '.obj'

I have a big problem with building a simple program. I am using many tutorials, instructions and I can't solve it. I edit the variable's path as follows: C

Compile Win32 application without particular dependencies or size bloat

I am trying to build a small Win32 application using Visual C++ 2008, but I want it to run on any modern Windows machine without having to ship additional libra

Where do calendar messages in PST files store appointment times and dates?

I am using the PST File Format SDK to try and extract some appointment item data from an Outlook PST export: int main() { pst myfile(L"export.pst"); fo

I'm having trouble putting who wins in my game

So everything in my code works so far, but I don't know why the checkWinner function doesn't work. In my Bool checkWinner function, I used bool. When I call th