Article directory ProtoBuf basic introduction Import ProtoBuf locally Compile and get Google.Protobuf.dll Compile to get the Protoc.exe executable file CMake compiles ProtoBuf into Visual Studio basic configuration Resolve errors after Finish Error 1 and solution: googletest Error 2 and solution: abseil-cpp Visual Studio generates basic exe operations Use Protoc.exe to compile Proto files into C# […]
Tag: dll
MATLAB generates dll library and calls and parameter settings in Qt
Navigation Matlab generates dll and calls it in Qt Matlab generates dll Qt calls the generated dll dll library input and output parameters My experience when using it Reference link Matlab generates dll and calls it in Qt Manually converting Matlab algorithms into C++ is time-consuming and laborious, and the C/C++ code generated by matlab […]
SKF toolkit UKEY encryption and decryption JAVA interface calls UKEY DLL/SO driver
Recently, the company needs to develop national encryption and decryption based on the UKEY method. After searching around the Internet, I can only find the only UEKY interface of Longmai Technology, and there are only a few. After a period of exploration, I finally finished writing the test and passed it. (Ukey provided by Haitai […]
[Quick Quick] Visual Studio C/C++ creates Dll (dynamic link library) and calls it
The following examples are all completed in the VS2022 environment. 1. Create a dynamic link library (C++) 1. Create a new dynamic link library project template: 2. After creating a new project MyC++_Dll, the default directory structure is as follows: 3. Add and create a new header file MyC++ _Dll.h and source code file MyC++ […]
DLL hijacking & CS online host
DLL hijacking What is a DLL file Baidu Encyclopedia: The full name of DLL is Dynamic Link Library, which is called “dynamic link file” in Chinese. In the Windows operating system, DLL is very important for program execution, because when the program is executed, it must be linked to the DLL file in order to […]
vs2019 + opencv generates its own dll dynamic library for others to use
vs2019 + opencv generates its own dll dynamic library for others to use 1. Generate dll and lib files 2. The new project calls the generated dll and lib Recently, I needed to compile the engineering code I wrote into a dynamic library for others to use, so I read a lot of blogs, but […]
How to generate DLL for ordinary Qt projects (including source code + comments)
Article directory 1. Example diagram 2. Contents that need to be modified in ordinary projects 3. Source code (a TestDLL project was created, and the changes were mainly in the pro file and maindow.h file) TestDLL.pro mainwindow.h mainwindow.cpp mainwindow.ui Summarize related articles 1. Sample image Compiling using different compilation modes will generate the “TestDll” folder […]
[Software Reverse] How to remotely inject dll under windows and perform virtual table hook
Tools required Microsoft Visual Studio development tools. IDA pro dynamic debugging tool. Process Hacker 2 process monitoring tool. Exe program that is remotely injected. (Take crackme.exe as an example) Remotely inject dll for virtual table hook 1. Decompile IDA pro to find the logical address of the function Use IDA pro to open crackme.exe and […]
qt uses C++/CLI to call the encapsulation method of C#dll (high-order application)
Let’s briefly talk about the requirements: cpp serves as the main program, c# is called as a third-party program, and methods in the main program need to be called in the c# code The dll written in C# does not have the dllMain entry function. It is an intermediate language and requires the .Net runtime […]
How to publish pure C++ projects as dll in Qt (super detailed steps)
Directory General creation method Export ordinary function methods & call methods Export methods of classes and their member functions & call methods As we all know, we can export classes and functions in C++ projects to form .dll files for use by other programs. The following will explain how to use them in the Qt […]