Issue I’m currently using masm in a C++ wrapper to develop a .dll so it can be used by other applications, notably a c# one in Visual Studio 2022 However developing this way has some big drawbacks. Visual Studio has
Continue readingTag: windows
[SOLVED] C# Using TaskScheluder creates task but does not executes it
Issue I’ve created simple script by using this: https://github.com/dahall/TaskScheduler package that is supposed to check the time and if it’s after 14:30 create schdule to put the computer to hibernation 15 minutes after the task is created. The task creating
Continue reading[SOLVED] Running a c++ executable using qt5
Issue I have created a Qt5 application with Visual Studio (2019). When I compile and launch the application, everything goes well but if I try to launch it by hand, in other words by double clicking on the .exe file
Continue reading[SOLVED] Differences between running an executable with Visual Studio debugger vs without debugger
Issue I’m trying to debug an issue in which an executable produces repeatable output (which I want) when executed directly from Visual Studio, but does not produce repeatable output when executed from the command prompt. It’s a single-threaded application, so
Continue reading[SOLVED] Unable to link imm32.dll in Visual Studio
Issue I’m trying to use a ImmGetContext() from <imm.h> in a Visual Studio 2022 project, which gives the following errors: 1>Project.obj : error LNK2019: unresolved external symbol ImmGetContext referenced in function "void __cdecl activeWindowChangeHandler(struct HWINEVENTHOOK__ *,unsigned long,struct HWND__ *,long,long,unsigned long,unsigned
Continue reading[SOLVED] simple c++ code not working in visual studio
Issue #include<iostream> #include<windows.h> using namespace std; int main() { HWND hwnd = FindWindowA(NULL, "Terraria Part 3: The Return of the Guide"); if (hwnd == NULL) ( cout << "cannot find window." << endl; Sleep(3000); exit(-1); ) return 0; } I
Continue reading[SOLVED] How to automate (from command-line) the installation of a Visual Studio Build Tools build environment, for C++, .NET, C#, etc
Issue Note: I have already read How can I install the VS2017 version of msbuild on a build server without installing the IDE? but this does not answer with a totally GUI-less script-only install. Along the years, here is what
Continue reading[SOLVED] Can I bundle the Visual Studio 2015 C++ Redistributable DLL's with my application?
Issue I’ve built a C++ application using Microsoft Visual Studio 2015 Community Edition. I’m using Advanced Installer to make sure that the Visual C++ Redistributable for Visual Studio 2015 is a prerequisite. However, the redistributable’s installer isn’t perfect. Some of
Continue reading[SOLVED] Error Building the project while no code errors
Issue The errors it was working fine , it gives me the option to run the previous build which runs no problem. All i did was to add a form (win app) Solution According to the first and second lines
Continue reading[SOLVED] Simple window but doesn't work
Issue I have created this simple window: #include <stdio.h> #include <string.h> #include <windows.h> #define MAX_LOADSTRING 100 #define IDS_APP_TITLE 103 #define IDR_MAINFRAME 128 #define IDD_PROVIAMO_DIALOG 102 #define IDD_ABOUTBOX 103 #define IDM_ABOUT 104 #define IDM_EXIT 105 #define IDI_PROVIAMO 107 #define IDI_SMALL 108
Continue reading