Solve ImportError: Could not find cudart64_90.dll. TensorFlow requires that this DLL be installed in

Table of Contents Solve ImportError: Could not find cudart64_90.dll. TensorFlow requires that this DLL be installed in Step 1: Check the installation of CUDA Toolkit Step 2: Check the configuration of CUDA environment variables Step 3: Check the installation of cuDNN Step 4: Reinstall TensorFlow in conclusion Solving ImportError: Could not find cudart64_90.dll. TensorFlow requires […]

ctypes of faster python calls so/dll

Directory .so and .dll files Compile go code into dynamic link library Compile C code into a dynamic link library ctypes library Basic data types Instructions Basic data types array type pointer type Structure type Nested structure Structure array Structure pointer Array of structure pointers How ctypes loads DLL 1. Use the `CDLL` class 2. […]

Solve frozen importlib._bootstrap”, line 2 in _call_with_frames_removed ImportError: DLL lo(.dll file introduction)

Table of Contents Solve “frozen importlib._bootstrap”, line 2 in _call_with_frames_removed ImportError: DLL lo(.dll file introduction) introduction wrong reason Introduction to .dll files Solution Method 1: Manually copy the .dll file to the directory where the executable file is located Method 2: Use the –add-binary parameter to repackage the executable file Method 3: Use virtual environments […]

Creation and calling of C++ dynamic link library (DLL) in VS2019

Creation and calling of C++ dynamic link library (DLL) in VS2019 This tutorial is reproduced from: Original article by CSDN blogger “Aishen1024” Creation and calling of C++ dynamic link library (DLL) in VS2019 environment Based on the above tutorials, more advanced techniques and some problems and solutions that may be encountered have been added. 1. […]

Java reads c# dynamic link library (dll) content through c++

1. Background Recently, I have to connect to the provincial centralized procurement platform and upload the hospital’s drug plan data to the provincial centralized procurement platform. The dll dynamic link library and tlb static link library received are as follows 2. The road of exploration As a Java developer, I have no idea what these […]

C#Office.Interop.Excel.dll reads and writes tables

Recently I encountered a small task: write the data in the interface dataGridView into an Excel table, and need to implement the function of reading the data in the Excel table and then updating it to the dataGridView control. Here, because the data in the project cannot be made public, I have simplified the data […]

Inject DLL using ZwCreateThreadEx

The traditional CreateRemoteThreadEx injection method is extremely easy to detect and kill, making it inconvenient for testing environments. We can use many methods to inject DLLs, such as the newer EarlyBird technology, which uses APC and undisclosed functions to perform hijacking injection. Here we give a remote process injection using the undocumented function ZwCreateThreadEx exported […]

Use dumpbin to see which functions (interfaces) are exported by the dll. Especially observe that the exported class inherits from the template (export it after instantiating the template)

Start the “Developer Command Prompt” of vs Execute dumpbin directly and it will give all supported options: Given the full path to the dll, the information can be exported to a text file: D:\DevTools\VS2015>dumpbin /exports D:\123\test.dll >123123.txt code below template < typename DerivedName, //signature, not used in the class. typename AbstractProduct, //Interface typename ProductTypeKey, //key […]