dllexport
Defining extern "C" function in C#
I have an ActiveX control written in C# and working when run in an ActiveX compatible program (CoDeSys). The problem I\'ve come across is that in order to allow CoDeSys to interact with the ActiveX co[详细]
2023-01-22 06:37 分类:问答Linker error with debug build with different compiler versions
We have a DLL, built with MS Visual Studio 2010, in release mode. We provide this DLL to different customers, along with a .lib file. The functions in the DLL are exported with:[详细]
2023-01-17 16:09 分类:问答How Can I call a C++ Win32 DLL from another C++ win32 Console Application
What is my main concern is , I am able to write a C++ dll using VC++ . Now the dll is present in the Debug folder.[详细]
2023-01-12 23:05 分类:问答How to amend DLLs
We are using an external Dlls as : [DllImport(\"DemoExport.dll\")] public static extern string GetDBConnection(string sDBName);[详细]
2023-01-12 18:00 分类:问答Creating a class with static pointers to explicitly loaded DLL functions
I want to have multiple instances of a DLLInterface class but as each obje开发者_C百科ct will have pointers to the same DLL functions I want these to be static.[详细]
2023-01-07 23:36 分类:问答Exporting C++ classes from DLL
I came across this article on Code Project that talks about using an abstract interface as an alternative to exporting an entire class from a C++ D开发者_StackOverflow中文版LL to avoid name mangling i[详细]
2023-01-06 07:26 分类:问答DLL export of a static function
I have the following static function: static inline HandVal StdDeck_StdRules_EVAL_N( StdDeck_CardMask cards, int n_cards )[详细]
2023-01-02 05:47 分类:问答How to wrap two unmanaged C++ functions into two managed C# functions?
I\'ve got two unmanaged C++ functions, 开发者_StackOverflowCompress and Decompress. The arguments and returns go as followed:[详细]
2022-12-29 02:27 分类:问答C++ DLL-Linking UnResolved Externals
I have a rather big Core project that I\'m working with, I\'m attempting to adapt it to use a DLL Engine I\'ve built, I\'m getting a bunch of errors like:[详细]
2022-12-27 00:23 分类:问答Exporting static data in a DLL
I have a DLL which contains a class with static members. I use __declspec(dllexport) in order to make use of this class\'s methods. But when I link it to another project and try to compile it, I get \[详细]
2022-12-24 01:29 分类:问答