dll

Navision automation C# COM DLL

僤鯓⒐⒋嵵緔 提交于 2020-05-27 17:12:38
问题 What we did: We have created a C# class library project to talk to external webservices. When we check "register for COM interop" this DLL is automatically registered and ready for use on the PC where the registration occurred. The Navision client on that PC can then use an "automation" variable to find this DLL and use it. What's the problem? We need to rollout this DLL to the production environment. We're working with an RDP solution where the navision client runs on 2 RDP servers which our

Navision automation C# COM DLL

霸气de小男生 提交于 2020-05-27 17:07:57
问题 What we did: We have created a C# class library project to talk to external webservices. When we check "register for COM interop" this DLL is automatically registered and ready for use on the PC where the registration occurred. The Navision client on that PC can then use an "automation" variable to find this DLL and use it. What's the problem? We need to rollout this DLL to the production environment. We're working with an RDP solution where the navision client runs on 2 RDP servers which our

How to include all dll's in exe?

时光总嘲笑我的痴心妄想 提交于 2020-05-25 17:25:00
问题 I have a Visual Studio 12 project; source code written in C++; it's an OpenCV project. I want to give my compiled program to someone else, but, on other PC, I getting an error message about missing some dlls. My program using many OpenCV (maybe, not only) dll's. How can I resolve that problem? Maybe in VS 12 available an option to include all dll's in .exe? It's a pretty similar question without proper answer: include dlls in visual studio c++ 2008 回答1: DLLs themself can not be "statically

How to include all dll's in exe?

£可爱£侵袭症+ 提交于 2020-05-25 17:22:04
问题 I have a Visual Studio 12 project; source code written in C++; it's an OpenCV project. I want to give my compiled program to someone else, but, on other PC, I getting an error message about missing some dlls. My program using many OpenCV (maybe, not only) dll's. How can I resolve that problem? Maybe in VS 12 available an option to include all dll's in .exe? It's a pretty similar question without proper answer: include dlls in visual studio c++ 2008 回答1: DLLs themself can not be "statically

How to share an object across app domains in c# if the class is not serializable

混江龙づ霸主 提交于 2020-05-17 08:49:22
问题 For context, this is a follow-up to this question: How can I reload a class in .net To save the trouble of re-reading that post, my "high-level" problem is I want to do this: while(true) { sleep(naptime); reload_code(); // use magic? do_something_useful(); } Where do_something_useful is compiled separately from the code in the while loop, and reload_code would pick up the latest (compiled) version. I was given a link to another answer on this site, which basically said do_something_useful

PyWin32 and Python 3.8.0

冷暖自知 提交于 2020-05-17 07:12:46
问题 Python 3.8.0 has been recently released (on 20191014 , and can be downloaded from [Python]: Python 3.8.0). PyWin32 has builds for it on [PyPI]: pywin32 225 (released on 20190915 ). Unfortunately, after pip install ing, it doesn't work. Sample: [cfati@CFATI-5510-0:e:\Work\Dev\StackOverflow\q058631512]> sopr.bat *** Set shorter prompt to better fit when pasted in StackOverflow (or other) pages *** [prompt]> "e:\Work\Dev\VEnvs\py_064_03.07.03_test0\Scripts\python.exe" Python 3.7.3 (v3.7.3

Cannot use .dll from OpenCV with CMake

懵懂的女人 提交于 2020-05-17 04:24:50
问题 I have the following CMakeLists.txt cmake_minimum_required(VERSION 3.12) project( project_360_visual ) find_package( OpenCV REQUIRED ) set(SOURCE_FILES ${CMAKE_SOURCE_DIR}/src/project_360_visual.cpp ${CMAKE_SOURCE_DIR}/src/projection.cpp) set(INCLUDE_FILES ${CMAKE_SOURCE_DIR}/include/project_360_visual.h ${CMAKE_SOURCE_DIR}/include/projection.h) LINK_DIRECTORIES(c:/opencv/build/bin/Release) add_library(opencv_tracking430 SHARED IMPORTED GLOBAL) set_target_properties(opencv_tracking430

'Failed to load the JNI shared library “C:\Program Files\Java\jre7\bin\client\jvm.dll” '

a 夏天 提交于 2020-05-15 06:42:25
问题 I have looked for a solution, but all the ones I found didn't work. I have triple checked that I have both 64 bit JRE/JDK and Eclipse I have added the '-vm' argument to the eclipse.ini file. Here's the file content: -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835 -product org.eclipse.epp.package.standard.product --launcher.defaultAction openFile --launcher.XXMaxPermSize

How to hide member variables in a dll-exported class

孤者浪人 提交于 2020-05-13 18:14:54
问题 I'd like to export a class with 1024 bytes in a dll file. class __declspec(dllexport) ExportedClass { private: char Data[1024]; // Holding 1024 bytes. public: void Foo(); }; So, when I give this header file of the class to my clients, I'd like to hide its member variable, char Data[1024] in this case. class __declspec(dllimport) ExportedClass { private: // char Data[1024]; // You don't have to know. public: void Foo(); }; However without the difinition of the Data, there is no allocation of

How to hide member variables in a dll-exported class

倖福魔咒の 提交于 2020-05-13 18:14:12
问题 I'd like to export a class with 1024 bytes in a dll file. class __declspec(dllexport) ExportedClass { private: char Data[1024]; // Holding 1024 bytes. public: void Foo(); }; So, when I give this header file of the class to my clients, I'd like to hide its member variable, char Data[1024] in this case. class __declspec(dllimport) ExportedClass { private: // char Data[1024]; // You don't have to know. public: void Foo(); }; However without the difinition of the Data, there is no allocation of