dll

FreeImage on C#

雨燕双飞 提交于 2019-12-25 05:14:50
问题 I've downloaded the latest compiled version of FreeImage, then build FreeImageNet wrapper. Put FreeImage.dll and FreeImageNet.dll on the same folder as my executable (the sample code). But everytime I run it, it says freeimage.dll is missing. I modified the code on FreeImageWrapper.cs and remove the exception handler public static bool IsAvailable() { /*try {*/ // Call a static fast executing function Version nativeVersion = new Version(GetVersion()); Version wrapperVersion =

FreeImage on C#

核能气质少年 提交于 2019-12-25 05:14:02
问题 I've downloaded the latest compiled version of FreeImage, then build FreeImageNet wrapper. Put FreeImage.dll and FreeImageNet.dll on the same folder as my executable (the sample code). But everytime I run it, it says freeimage.dll is missing. I modified the code on FreeImageWrapper.cs and remove the exception handler public static bool IsAvailable() { /*try {*/ // Call a static fast executing function Version nativeVersion = new Version(GetVersion()); Version wrapperVersion =

Conflicting run time libraries in Visual C++ DLL project

故事扮演 提交于 2019-12-25 05:06:23
问题 I Just tried to build a x64 C++ DLL using Visual C++ 2012. It's a simple DLL linking one other static third-party .lib file. I am getting the following warning message: warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library It seems that other library uses /MT (multithreaded static runtime) linker option while my DLL (and all the other projects importing my DLL) uses /MD (multithreaded DLL runtime). I can not harmonize this since the third-party lib

Clr Assembly must have main file specified error

给你一囗甜甜゛ 提交于 2019-12-25 05:04:13
问题 This is the first dll I have made. It's purpose is to grab territory names from a database and return as an mdx set. The dll compiled perfectly fine, but when I go to deploy the dll as an assembly in bids to my cube, I get the following error: Clr Assembly must have main file specified error The dll is supposed to be like a ssas stored procedure so I can set permission in a role for ssas. Thanks! Ethan 回答1: I finally figured out a solution! I believe that because of the msmgdsv.dll being of

Allegro library missing dll

主宰稳场 提交于 2019-12-25 04:54:14
问题 I have installed allegro 5.0.8 version on visual c++2010 express . But now when I run the code it doesn't give any syntax errors but after opening the console a window opens which reports that I don't have MSVCR110d.dll file . What it means ? How can I fix it ? 回答1: I means you should copy a MSVCR110d.dll to windows/system32 or beside your project. If you don't have that file, you can find it on Internet, there are many site which have dll files to download. The letter d after name means this

Is it ok to reference .Net assemblies liberally?

蹲街弑〆低调 提交于 2019-12-25 04:50:56
问题 I'm building a WPF application and working with the MVVM pattern. I have 4 projects in my solution, 3 class libraries, Data, Model and ViewModel and the WPF executable View. Is there anything wrong with the Model referencing WindowsBase so that I can use ObservableCollection<T> for example or can I just make use of what I intuitively feel I need without worrying about the original purposes of the class in the framework e.g. collection databinding. 回答1: No problem, unless you are a

Choose appropriate platform dependent DLL at runtime

廉价感情. 提交于 2019-12-25 04:41:27
问题 I'm currently working on project for the .NET Compact Framework which uses DotNetZip for reading ZIP-files. The project is split into two parts. One platform-independent library which should be available for both, a CF project and a desktop project. This common library contains the code for extracting ZIP-files. The problem is that there are two different DLLs of the DotNetZip library, one for .NET CF and one for the .NET Desktop Framework. It's not possible to use the CF version of the

Jna, Unload Dll from java class dynamically

左心房为你撑大大i 提交于 2019-12-25 04:33:11
问题 I have googled bit , but dint find way to unload dll using JNA ,from java Class. And as i am using dll to transfer data from usb device using this dll, i have to unload my dll from java class in order to re-use my usb device with same class without closing my whole program. here is how i load my dll using JNA public interface UsbSensor extends Library { UsbSensor INSTANCE = (UsbSensor) Native.loadLibrary( (Platform.isWindows() ? "D:\\UsbDevice.dll" : "D:\\UsbDevice.dll"), UsbSensor.class);

C# ASP.Net The type or namespace name 'iAnywhere' could not be found

一世执手 提交于 2019-12-25 04:27:44
问题 Morning all, I know that this sounds like a simple referencing problem from the title this is becoming a nightmare! I have a code class that uses the "iAnywhere.Data.AsaClient.dll". This Dll is referenced in the project and in the code class I have added this dll in the Using section. Everything seems fine at build with no errors at all but when I go to run the application it comes up with the following Compilation Error: Compiler Error Message: CS0246: The type or namespace name 'iAnywhere'

Regsvr32.exe error

大兔子大兔子 提交于 2019-12-25 04:24:27
问题 i tried to use Regsvr32 in windows 8 to register a dll file in Syswow 64 but i'm having the following error : The module "file.dll" may not compatible with the version of windows that you're running.check if the module is compatible with an x86(32-bit) or (64-bit) version of regsvr32.exe. i'll be greatful for any proposed help 来源: https://stackoverflow.com/questions/39041387/regsvr32-exe-error