dll

python tensorflow import dll load failed

邮差的信 提交于 2021-02-06 11:56:39
问题 I installed latest python 3.6.4 x64 version and then installed tensorflow for cpu-only with pip3 C:\>pip3 install tensorflow however when I tried to import tensorflow in python it showed me the error below I am sure that I have installed Microsoft Visual C++ 2015 Redistributable(x64) so it wll not be the problem of dll msvcp140.dll lost it say that "DLL load failed with error code -1073741795" so what is exactly the problem here i cannot find any other information about this error code my os

Force .NET interop to use local COM DLL

岁酱吖の 提交于 2021-02-05 20:35:36
问题 Is it possible to force an interop assembly to reference a local copy of its associated COM DLL? Here's the scenario: I have a .NET app that references an interop assembly (Interop.OTAClient.dll), which is the interop for a COM DLL (OTAClient.dll, which is the automation API for HP Quality Center). I'm not very knowledgable on COM, but as I understand it the interop assembly looks up the COM classes via GUID references in the registry, rather than pointing to a specific file. The issue I have

Force .NET interop to use local COM DLL

£可爱£侵袭症+ 提交于 2021-02-05 20:35:21
问题 Is it possible to force an interop assembly to reference a local copy of its associated COM DLL? Here's the scenario: I have a .NET app that references an interop assembly (Interop.OTAClient.dll), which is the interop for a COM DLL (OTAClient.dll, which is the automation API for HP Quality Center). I'm not very knowledgable on COM, but as I understand it the interop assembly looks up the COM classes via GUID references in the registry, rather than pointing to a specific file. The issue I have

Generate a DLL which uses protocol-buffers

这一生的挚爱 提交于 2021-02-05 11:16:10
问题 I am working on a C++ (VS2017) project that uses a protobuf type I created. However, this project requires a .dll of said protobuf type. The __declspec( dllexport ) in each class declaration are not there by default, and I read online that they can be added by generating the protobuf object with this command line: --cpp_out=dllexport_decl=MY_EXPORT_MACRO:output/directory No one has explained what MY_EXPORT_MACRO is or how to define it. When I first generated my protobuf objects I used the

Generate a DLL which uses protocol-buffers

佐手、 提交于 2021-02-05 11:16:07
问题 I am working on a C++ (VS2017) project that uses a protobuf type I created. However, this project requires a .dll of said protobuf type. The __declspec( dllexport ) in each class declaration are not there by default, and I read online that they can be added by generating the protobuf object with this command line: --cpp_out=dllexport_decl=MY_EXPORT_MACRO:output/directory No one has explained what MY_EXPORT_MACRO is or how to define it. When I first generated my protobuf objects I used the

dll used by CLR at runtime

隐身守侯 提交于 2021-02-05 08:19:10
问题 I've got a C# application which refers to a .NET DLL. If this DLL is present both in my application's bin directory and GAC, then which one will be picked up by the CLR at runtime? If GAC has the latest version, would that version be used instead of the one present in bin ? And how do I force the CLR to always use the one in my bin instead of GAC? According to MSDN: The CLR checks the global assembly cache, codebases specified in configuration files, and then checks the application's

Debugging VB6 dll from VB6 exe

狂风中的少年 提交于 2021-02-05 06:32:25
问题 I have a VB6 program that calls a VB6 DLL which in turn calls another VB6 DLL. When I execute the calling program there is an application error which I am unable to pinpoint so I researched how if it was possible to "see" the error in the dll. I read Stackoverflow entry question about debugging VB6 dll and followed the directions of Booji Boy to create a vbg. I also followed his directions and removed the two DLLs from he Reference list. The calling program takes a .txt file as input. When I

collect2.exe: error: ld returned 5 exit status

十年热恋 提交于 2021-02-04 22:17:31
问题 I've recently updated all msys2 packages and now I can't build my project. The error occurs at the moment of linking one of .dlls - target_library.dll . The error message isn't clear to me. What does status 5 mean? collect2.exe: error: ld returned 5 exit status Full message: g++ -Wl,-s,--relax,--gc-sections -shared -Wl,-subsystem,windows -mthreads -Wl,--out-implib,C:/msys64/workspace/Project_Root_Directory/project/src/../build/release/plugins/libtarget_library.dll.a -o ../../../../build

collect2.exe: error: ld returned 5 exit status

佐手、 提交于 2021-02-04 22:13:20
问题 I've recently updated all msys2 packages and now I can't build my project. The error occurs at the moment of linking one of .dlls - target_library.dll . The error message isn't clear to me. What does status 5 mean? collect2.exe: error: ld returned 5 exit status Full message: g++ -Wl,-s,--relax,--gc-sections -shared -Wl,-subsystem,windows -mthreads -Wl,--out-implib,C:/msys64/workspace/Project_Root_Directory/project/src/../build/release/plugins/libtarget_library.dll.a -o ../../../../build

Call Delphi CLASS exported in DLL from C++ code

可紊 提交于 2021-02-04 21:40:16
问题 i have a problem to use delphi class from C++ code. delphi dll demo that export a function that return an object. my delphi Dll code is as follow: library DelphiTest; // uses part.... type IMyObject = interface procedure DoThis( n: Integer ); function DoThat : PWideChar; end; TMyObject = class(TInterfacedObject,IMyObject) procedure DoThis( n: Integer ); function DoThat: PChar; end; // TMyObject implementation go here ... procedure TMyObject.DoThis( n: Integer ); begin showmessage('you are