DLL function is exported uisng #pragma comment(linker, "/export:Func4\")
In DLL, I use this method to export the function. #pragma comment(linker, "/export:Func4=?Func4@@YAXXZ") void Func4(); Then, I got example.dll, example.lib file. In DLL file, the function name is Func4. When I use this DLL via implicit…
Windows 11 22H2 has a different way of using the JS engine?
Dear support, Our company has a solution built on a WebBrowser that will use the JS engine. After upgrading to Windows 11 22H2, we found that the solution behaves differently from before. We did some research, and then found that Windows 11 22H2 has…
What does it mean for a range to overlap with a container?
From cppreference: I don't get it. Is this referring to memory overlap? Like a base class subobject? What would be an example of undefined behavior using std::set insert_range? A simple code example would help to understand. Thanks...
How to get an HTML help window to launch on top, without forcing it always to be on top.
I have a problem with an HTML Help window in my MFC application. I have arranged the the help window is NOT a child of the application's main window so that it doesn't always have to be on top. To do this, I have created virtual method: void…
Incorrect file creation date
Hello I'm trying to create files with C++ but the creation time displayed is incorrect. Here's the code: [CODE] do { ++item; sprintf(pathDirFile,"%s/%s%03d.bmp",pathDir,file1,item); f1 = fopen(pathDirFile,"r"); …
Microsoft C++ Runtime Library
This popup comes up every time I start my computer. How do I fix it? thanks "Microsoft Visual C++ Runtime Library Assertion failed! Program: ...\node-vulcanjs\build\Release\VulcanMessageLib.node File:…
BSCMAKE Warning BK4504
The warning BK4504 is for excessive symbol references in a file ( > 64000). I have 2 queries regarding that. What is meant by symbol reference? On what basis the limit is set to 64000? Kindly help me understand it.
how to get the (s,s1) in the arrow?using direct2d?
I draw a line and I know the two points one of them is (x,y) and then I want to draw arraw. and I can not get the axis of the (s,s1) because the arraw may have different directions.
Win32Api Network Adapter set Power Managament
Hello! I want to change Network adapter's power managament settings. I want to check 3 checkboxes. I searched this on google but i couldn't successfull. I changed…
how to get the point in ellipse?
I have ellipse and one point. I know the cener (x,y) and the point (x1,y1) how to get the point of S?
How to fix "Microsoft visual c++ 2015-2022 redistributable x64 - 14.40.33810 setup failed. 0x80070570 - The file or directory is corrupted or unreadable."
I am observing error "Microsoft visual c++ 2015-2022 redistributable x64 - 14.40.33810 setup failed. 0x80070570 - The file or directory is corrupted or unreadable." 1068:3390][2024-08-28T10:17:28]i371: Updating session, registration key:…
How to Add Tooltips to Buttons and other UI Components (like - Checkbox, Radio button etc) in Win32 (C++) Desktop Application?
Hi there, I have a Win32 (C++) program on which I want to Add some Tooltips to some of it's UI components like - Button, Checkbox, Radio button. I tried a lot but nothing works. Here is my Demo program : #include <windows.h> struct { int…
access excption or stack broken when I show the IFileOpenDialog in second time?
I want to use IFileOpenDialog int DialogBox CoCreateInstance(CLSID_FileOpenDialog,NULL,CLSCTX_INPROC_SERVER,__uuidof(IFileOpenDialog),(void**)&file); DWORD dwFlags; file->GetOptions(&dwFlags); file->SetOptions(dwFlags|FOS_PICKFOLDERS); in…
can not use wnd as parameter in class method?
class MyClassA{ void OpenMy(UINT id){ } void OpenMy1(){ DialogBoxW(hInstace,MAKEINTERESOURCE(IDD_ABOUTUS),hwnd,OpenMy);//here I can not set parameter of OpenMy } } C3867 not standard . please use & to create pointer to member.
How to implement the COM interface of C # in C++
I have a .NET Framework binary that implements two COM interface classes, where one serves as a callback function. Now, I want to use the implemented C# COM interface in a C++ project. I know how to create an object of type IMyDotNetInterface2, but I'm…
Modifying a C++ solution, by adding projects and assigning reference in command line
Hello, I am using VS2022 on Windows10. I have several C++ projects (libraries) that i am working on simultaneously. I want to Use my last downstream library/application as my main development solution Per command line add other C++ projects to the…
Visual C++ files. How to update or perhaps delete
After running Ccleaner it reports a number of out of date Visual C++ files/apps. It says that these are a security threat and should be updated (at a cost). I don't appear to have Visual studio installed on my windows 11 pc, perhaps it's lurking…
VisialStidio's eerie C1083 error
Create a default C++project and compile it with an error. I have tried deleting, reinstalling, repairing, etc., but none of them have been effective. The error path also exists, and some are correct. 严重性 代码 说明 项目 文件 行 禁止显示状态 详细信息 错误 C1083 无法打开源文件:…
how to not paint window any more?
I create a window and I do not want it re- render itselft. I will draw something in WM_CREATE and then it do not render again. how to do it? no matter I maximize or minimalize it will not render itsselft.