dll

code exited -1073741515 (0xc0000135) 'A dependent dll was not found'

穿精又带淫゛_ 提交于 2021-02-20 00:31:35
问题 I am trying to write a simple program. Vs 2019, Windows 10 64bits Debug->x64 Followed [Configure Visual C++ Projects to Target 64-Bit Platforms][1] #include <windows.h> #include "res/resource.h" #include <iostream> #include <core_api/lsproject.h> #include <core_api/lslocalworkspace.h> #include <plugin_api/lsscenecontext.h> using namespace SCENE_API; using namespace std; #include <Commdlg.h> int main() { LSString filePath; std::cout << "Hello World!\n"; } Where [LSString][2] can be found here.

code exited -1073741515 (0xc0000135) 'A dependent dll was not found'

自闭症网瘾萝莉.ら 提交于 2021-02-20 00:27:46
问题 I am trying to write a simple program. Vs 2019, Windows 10 64bits Debug->x64 Followed [Configure Visual C++ Projects to Target 64-Bit Platforms][1] #include <windows.h> #include "res/resource.h" #include <iostream> #include <core_api/lsproject.h> #include <core_api/lslocalworkspace.h> #include <plugin_api/lsscenecontext.h> using namespace SCENE_API; using namespace std; #include <Commdlg.h> int main() { LSString filePath; std::cout << "Hello World!\n"; } Where [LSString][2] can be found here.

code exited -1073741515 (0xc0000135) 'A dependent dll was not found'

两盒软妹~` 提交于 2021-02-20 00:24:54
问题 I am trying to write a simple program. Vs 2019, Windows 10 64bits Debug->x64 Followed [Configure Visual C++ Projects to Target 64-Bit Platforms][1] #include <windows.h> #include "res/resource.h" #include <iostream> #include <core_api/lsproject.h> #include <core_api/lslocalworkspace.h> #include <plugin_api/lsscenecontext.h> using namespace SCENE_API; using namespace std; #include <Commdlg.h> int main() { LSString filePath; std::cout << "Hello World!\n"; } Where [LSString][2] can be found here.

code exited -1073741515 (0xc0000135) 'A dependent dll was not found'

▼魔方 西西 提交于 2021-02-20 00:24:13
问题 I am trying to write a simple program. Vs 2019, Windows 10 64bits Debug->x64 Followed [Configure Visual C++ Projects to Target 64-Bit Platforms][1] #include <windows.h> #include "res/resource.h" #include <iostream> #include <core_api/lsproject.h> #include <core_api/lslocalworkspace.h> #include <plugin_api/lsscenecontext.h> using namespace SCENE_API; using namespace std; #include <Commdlg.h> int main() { LSString filePath; std::cout << "Hello World!\n"; } Where [LSString][2] can be found here.

How to call a C++ DLL from VB6 without going through COM?

﹥>﹥吖頭↗ 提交于 2021-02-19 08:48:28
问题 OK, so I have a C++ project that compiles to a DLL file. I am able to reference this file in C# and see/use all of the objects and functions within the DLL file. What I need to do is to reference those objects and function through VB6. The C++ code has nothing in it that looks like it's creating a DLL. There are no '__declspec(dllexport)' modifiers, just C++ code. There are objects like this: String ^ Array^ I'm not entirely sure what they are. My knowledge of C++ is not very extensive and I

Passing pointers to DLL function in Python

人走茶凉 提交于 2021-02-19 07:48:05
问题 I am working on a project where I have to build a GUI for a development board with python with which I am new to as well. I am given the DLL which has required functions to communicate with the development board. I have LabVIEW equivalent function prototype which looks something like this: int32_t WriteFPGARegsC(int16_t *USBdev, int32_t *DUTSelect, int32_t *Array_RegsIn, int32_t *Array_RegsOut, int32_t *Array_RegEnable); And the same prototype also looks like this for Visual Basic: Public

Passing array from java to dll function with JNA

为君一笑 提交于 2021-02-19 07:21:29
问题 I want to pass Java array as parameter to c dll throw JNA , here is my code : import com.sun.jna.*; public class Javatest { public interface CLibrary extends Library { CLibrary INSTANCE = (CLibrary) Native.loadLibrary( "test", CLibrary.class); void test(Pointer p,int width); } public static void main(String[] args) { Pointer p = new Memory(5*Native.getNativeSize(Double.TYPE)); for (int i = 0; i < 5; i++) { p.setDouble(i*Native.getNativeSize(Double.TYPE),5); } CLibrary.INSTANCE.test(p,5); } }

Strong name validation failed for application

匆匆过客 提交于 2021-02-19 00:53:38
问题 I made a c# application that uses C:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0\System.Management.Automation.dll I also copied the dll to my bin folder. It works fine, but if I copy the bin folder to another machine and run the executable I get this error: ************** Exception Text ************** System.IO.FileLoadException: Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one

Dependency walker hangs

三世轮回 提交于 2021-02-18 22:56:27
问题 I have a problem with my.xll addin when it loads on my clients PC. It crashes Excel at startup (possible because of missing dependent dlls). I know it is possible to use dependency walker in profile mode to find out what dlls are loaded when the .exe runs. When I try that dependency walker hangs when profiling Excel, and I can’t find out why. In a command window I ran this: C:\Program Files (x86)\Windows Kits\8.1\Tools\x86>start /wait depends.exe /c /f:1 /pb /pp:1 /pg:1 /oc:d:\temp\Log.txt "C

How to load dll's during debug in VS2013

大憨熊 提交于 2021-02-18 22:34:06
问题 I have some code var aa = a(); b(aa); While debugging, I set a breakpoint on the b() call. Then going to the immediate window , I'd like to be able to execute code from a DLL that is in my project but is not yet loaded . Say I want a new Boo and call Foo() . The code is in the namespace Baz in dll Spongle.dll . When I type >> new Baz.Boo().Foo(aa) I get the error: The type or namespace name 'Baz' is not valid in this scope. If I change my code such that my Boo is already loaded it works fine.