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 […]
Tag: dll
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. […]
C# calls C++ classes and implements them in managed C++ (create C++ CLR dll project)
Since C# is written as managed code, it is compiled to generate Microsoft intermediate language, while the C++ code is compiled to generate local machine code (this kind of C++ is also called native C++ or unmanaged C++, and VC6.0 is used for (a platform for developing unmanaged C++ code), there are certain difficulties in […]
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 […]
Analyze the address of DLL internal symbols based on PDB file
Recently, I encountered a given DLL file, but I wanted to quickly locate the address of an internal function (not exported). I thought that the Sym series of functions can directly analyze the address of the function based on the known PDB debugging symbol database. By referring to MSDN, we can know what we need. […]
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 […]