dll

C# the module was expected to contain assembly manifest

可紊 提交于 2020-01-11 03:30:06
问题 Hi I am new to the C# world. I am having to use it because of a dependency on xceedzip.dll compressed data coming through from a multicast feed. After hacking together some code for receiving the feed, I am facing a hurdle in invoking this dll. From what i understand i need to use the "System.Reflection" and invoke the dll. Currently my source code and the dll reside in the same directory. The code compiles successfully. Assembly ass = Assembly.Load("XceedZip"); I get the System

C# the module was expected to contain assembly manifest

北城以北 提交于 2020-01-11 03:30:06
问题 Hi I am new to the C# world. I am having to use it because of a dependency on xceedzip.dll compressed data coming through from a multicast feed. After hacking together some code for receiving the feed, I am facing a hurdle in invoking this dll. From what i understand i need to use the "System.Reflection" and invoke the dll. Currently my source code and the dll reside in the same directory. The code compiles successfully. Assembly ass = Assembly.Load("XceedZip"); I get the System

“The specified procedure could not be found” error with .NET 4

China☆狼群 提交于 2020-01-11 03:15:07
问题 I am developing on a 64-bit Windows 7 box with Visual Studio 2012 (11.0.51106.01 Update 1). I have a Support project that compiles some C code into a (32-bit) DLL. In my header I have: #define RET_TYPE(type) _declspec(dllexport) type __stdcall RET_TYPE(int) test_dll_call(int invar); In my C file I have: RET_TYPE(int) test_dll_call(int invar) { int retVal = 4 * invar; return retVal; } I also have a (32-bit) WPF C# application that loads the DLL inside of a class as follows: [DllImport("MyDll

Upgrading dependent DLL without recompiling the whole application

£可爱£侵袭症+ 提交于 2020-01-10 19:51:45
问题 We have windows service application which is using Aspose.Words.NET version 11.10.0 Now we have recently upgraded the Aspose.Words dll version latest 13.7.0 Since we have already deployed our windows service applications in multiple clients, we tried replacing the old Aspose.Words dll with latest its latest version. But when we restart the existing windows application it doesn't work with the replaced latest Aspose.Words dll. We have resolved it by recompiling the whole windows application

Control Camera Device From C#

我是研究僧i 提交于 2020-01-10 19:47:53
问题 I am now facing one problem which to get the live image from Camera (eg. Sony, Canon) into winform and also control the camera capture button from a button in the form. have Anyone build something like this, or are there any similar project like this which is done in C#? 回答1: This hardly depends on the capabilities of the camera and its driver. Your biggest chance might be the Windows Image Acquisition (WIA) framework. Take a look at this article or the MSDN reference. 回答2: Emgu cv is a

Control Camera Device From C#

会有一股神秘感。 提交于 2020-01-10 19:46:33
问题 I am now facing one problem which to get the live image from Camera (eg. Sony, Canon) into winform and also control the camera capture button from a button in the form. have Anyone build something like this, or are there any similar project like this which is done in C#? 回答1: This hardly depends on the capabilities of the camera and its driver. Your biggest chance might be the Windows Image Acquisition (WIA) framework. Take a look at this article or the MSDN reference. 回答2: Emgu cv is a

PHP Startup Unable to load dynamic library php_mongo.dll

人走茶凉 提交于 2020-01-10 06:01:23
问题 I'm a beginner for this. I'm trying to install mongodb driver on php. Platform: Windows 8.1 64bit. PHP 5.5.9 Apache/2.4.7 Followed the instruction here:http://php.net/manual/en/mongo.installation.php#mongo.installation.windows I've tried all php_mongo.dll file with VC11 and put in php/ext folder. and added extension=php_mongo.dll in php.ini file but when I tried to start apache in xampp controller I got an error. Php Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_mongo.dll' -%1

“The Ordinal 112 could not be located in dynamic link library…”

对着背影说爱祢 提交于 2020-01-10 04:43:05
问题 The Whole Error is as follows: " The ordinal 112 could not be located in the dynamic link library D:\GNU-C-compiler\GNUstep\bin\openssl.exe " i've been searching around a lot on the web for a solution to no avail. I recently started getting into encryption using OpenSSL however during the process of installation i installed multiple different version of the software for testing but during my deletion of these other versions i just deleted the folder instead of doing the proper uninstall

Using libdl.so in MinGW

。_饼干妹妹 提交于 2020-01-10 04:30:05
问题 I want to generate a dll file in MinGW, I have several object dependencies in order to do that, one of my object dependencies is libdl.so, I add this object in unix simply as : g++ xx.o yy.o /usr/lib/libdl.so -o module.so but in MinGW, I don't have any idea how to add this object. any ideas? 回答1: There is a MinGW port of libdl that you can use just like under Unix. Quote from the website: This library implements a wrapper for dlfcn, as specified in POSIX and SUS, around the dynamic link

Can Delphi only use a .dll if required?

烈酒焚心 提交于 2020-01-10 03:59:25
问题 I have added these two methods to the 1st unit of my Delphi 5 application. function Inp(PortAddress: Integer): Integer; stdcall; external 'inpout32.dll' name 'Inp32'; procedure Output(PortAddress, Value: Integer); stdcall; external 'inpout32.dll' name 'Out32'; However I don't want to have to issue the inpout32 library with the software unless they explicitly need it. Currently the program says "Not Found" upon executing unless they're present in the root or System32. Users will only call