All Questions
Tagged with windows visual-studio
3,105
questions
0
votes
1
answer
33
views
Where does the Product Version of a file's properties come from?
(This is difficult to search for, as when you look for "Windows Product Version", you get a lot of results pertaining to the OS and not of a file)
I am building stuff in VS2022, and want to ...
0
votes
1
answer
52
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
23
views
when downloading vscode it doesnt allow me to click agree to the terms and condition in vscode and i dont know why, in the pop up installer
when downloading vscode it doesnt let me accept the terms and conditions, like clicking agree to the terms and conditions doesnt do anything, like it doesnt let me click it. i have had vscode 3 days ...
0
votes
0
answers
50
views
Received "uncaught type error cannot read properties of undefined (reading pdfjsLib.GlobalWorkerOptions)" with PDFJS
I downloaded from github PDFJS 4.3.146 and installed according to github instructions USING NPM and NPX. I also installed node.js. I then loaded the generated pdf.js into a VisualStudio 2022 project ...
0
votes
0
answers
25
views
CoInitializeEx Success but OleSetClipboard faild in a DLL in a UI thread
I do this at the beginning of a UI thread function. This means that after this line a Window is created with CreateWindow and the wndproc has his own message loop:
HRESULT hrComResult = ::...
0
votes
1
answer
48
views
Debugging MSPaint to find the cause of a crash
mspaint started crashing when I try to save a file 2 seconds after the save file dialog opens, any file, blank canvass directly after opening. Nothing else does this. It is unresponsive but not greyed ...
0
votes
3
answers
92
views
How to only install Boost 64bit from a single Chocolatey package?
Currently, I am installing Boost using Chocolatey,
choco install -y boost-msvc-14.2 --version 1.74.0
This installs both the 32 and 64-bit version of the library.
I believe I don't need the 32-bit ...
1
vote
0
answers
41
views
Why does setting Visual Studio 2022's alpha value with SetLayeredWindowAttributes return false?
public static int SetAlpha(IntPtr hwnd, byte alpha)
{
int exStyle = (int)GetWindowLong(hwnd, GWL_EXSTYLE);
int previousExStyle = SetWindowLong(hwnd, GWL_EXSTYLE, exStyle | WS_EX_LAYERED);
...
0
votes
0
answers
16
views
Error Message while testing memory leak scenarios in C under Windows?
Here is my test code:
// cl /Zi /Fe.\build\main.exe /Fo.\build\main.o .\src\main.c
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#include <stdio.h>
#include <stdlib.h>
int* ...
0
votes
1
answer
43
views
Set environment in Visual Studio for pyqgis in Windows
I want to set the environemnt that works in visual studio 2022 (for Python) with Windows 10 for pyqgis 3.9.
I found the solution creating a "set_qgis_env.bat" with this content.
set PATH=C:\...
1
vote
2
answers
105
views
VB.net published application detected as VIRUS by Windows Defender and removed
I published a VB.net application recently, which works well on my machine, but when I want to install it on any other machine, The Windows Defender app detects my app as a virus and deletes its files. ...
0
votes
0
answers
19
views
Visual Studio 2019 cursor jumps half page when creating struct
Using Visual Studio 2019 on Windows 7.
Haven't used VS2019 for a few months and today it prompted me to install an update. Surprise surprise, something broke.
When I create a struct and hit new line ...
0
votes
0
answers
36
views
Microsoft.Visual Studio.Diagnostics.Assert.Version 14.0.0.0 be Installed in the Global Assembly Cache (GAC) first
Im installiing app, and this happen. Please help
How to resolve this issue?
Microsoft.Visual Studio.Diagnostics.Assert.Version 14.0.0.0 be
Installed in the Global Assembly Cache enter image ...
0
votes
0
answers
30
views
Compile Octave 9.1 API on windows via Visual Studio 2022
So i would like to use Octave 9.1 API in my C++ code in Visual Studio 2022.
To perform it i need the correct .lib and .dll files.
I try to search a precompiled version of it or a step by step tutorial ...
0
votes
1
answer
40
views
Parsing named command-line arguments on C (Windows)
I'm currently developing a tool on Windows with Visual Studio with C, however I've noticed that I cannot import libraries such as unistd.h into my source file for command-line argument parsing.
...