dll

WPF : Referencing Assembly with Forms Controls does not work ?

Hi guys I've got a Problem. I need to use some classes from another Library DLL, that has been written a year ago, in my WPF Project. Therefore I reference this Library in my Project. But when I want to rebuild my solution I always get some warnings that my assembly cannot be resolved because it uses some dependencys that do not match m...

how to deploy dll content file output with a setup project

Hi all I have a resources file as dll of which CopyToOutput Directory is set to "Copy Always" & Build Action is "Content".. When making setup for an application that uses Resources.dll setup do not deploy Resources dll output files.... How to deploy Resources file output with this setup ?? Thanks ...

Storing application settings in Silverlight

I want to be able to change a setting in my silverlight assembly at runtime, i want a bit like a web.config in a asp.net web site? what is the best way of doing this? thank you ...

Choose which oci.dll use with qsqloci plugin

I'd like to be able to choose which oci.dll the Qt plugin is using, the Qt documentation states: When you run your application you will also need to add the oci.dll path to your PATH environment variable: set PATH=%PATH%;c:\oracle\bin Is there another way than changing the PATH? ...

Choose appropriate platform dependent DLL at runtime

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...

How can we check that a binary EXE (PE) is COM Exe or Win32 Exe?

I need to check programatically whether a given EXE binary is a COM EXE or Win32 EXE. Is there any way to do this? Is the Import Table an answer to this? If somehow I can determine this from the registry, where in the registry should I look to find out if a binary is regsitered for COM? (This is specific to EXEs, as DLLs are not a proble...

Delphi DLL - TClientSocket events.

I have a DLL with a TClientSocket component, it is used to talk to a Telephone System Machine. The DLL only have PChar parameters in the exports methods, and is not using packages. When I load the DLL with Delphi app, all the events works fine, no problem so far. My customer is calling this DLL from a console Win32 Cobol program, and t...

Can I use an api for 64-bit drivers in a win32 C++ project?

So I'm trying to get this nuclear instrumentation hardware to work. I have installed 64 bit drivers (I'm using Windows 7 64 bit) and I have downloaded the dll's that go with it. When I add the dlls and try to use the functions in a win32 console application project in visual studios, it gives me a linker error: Error 1 error LNK2...

Advice - How to view assembly code or debug into DLL or what's being loaded?

I am not sure how to pose this question, but basically I want more information on the following error and want to know what these assemblies contain. I am using VS 2008 and Silverlight 3 and basically I have 2 SL projects, with one referencing the other for a resource. I know the file is there, but don't know why I am getting the error...

Apache not loading PHP oracle dll

on win 64, I installed apache, php etc. Everything works fine, except the oracle part. I can connect to oracle from sql developer which means my tnsnames.ora file is correct. When apache starts, there are no errors in the logs. But when I try to connect to oracle from my database, oracle module php_oci8.dll is not loaded. What am I ...

System.Runtime.InteropServices.COMException (0x80040154)

Hi, I am getting this error when I am trying to depoly my application on a target machine. I googled and found that some of the dll's need to be registered (that are used in my application) So, I copied the dll's to System32 and did regsvr32 I then got this error Interop.ShockwaveFlashObject.dll was loaded bt DllRegisterServer entry...

Tips on creating a C++ DLL to be used from .NET

Hey guys, I'm creating a DLL in C++ and I want it to be usable from .NET apps (both C# and VB.NET). I've been scouring the internet for tips and what I've found so far suggests: Declaring my C++ functions as extern C and using __stdcall Using basic C types for parameters and return types instead of STL containers (e.g. char* instead of...

can android load dll's from sdcard in native mode

I want to port a program I wrote to android. The program is in c++ on windows and linux. The program uses dll's for a plugin architecture. New plugins can be added to the program by downloading a dll which the program loads from a specific folder. My question is... Is it possible to download dlls built for android to a directory on the ...

File handle leak on dynamically loaded DLL caused by activation context

I have a dynamically loaded & unloaded DLL which requires COMCTL32.dll >= v6.0 and MSVCR >= v9.0. To ensure that the correct versions are loaded, I enable manifest file generation in Visual Studio project setting, and add this entry to another manifest file: <dependency> <dependentAssembly> <assemblyIdentity type...

ProxyDLL using Detours

Hi, I want to embed a button in MSN Messenger. I have identified some resources but all the codes are in C++. I want to make a proxyDLL using msacm32.dll and attach my dll using Detours. Can someone help me. Thanks ...

Merging dlls from dlls working under licensing

Hello Folks, I will appreciate your help in this. I have spent many time in looking for a procedure or tool that can let me create a single DLL from other private dlls (I named private because these dlls are working under licensing). I already bought the lic but I dont like to see the vendors name in my apps (I'd prefer to see the dlls ...

Build .NET DLLs from Python code?

How do I make a DLL (.NET) written in python code (IronPython)? ...

System.EntryPointNotFoundException when importing functions from a dll

I have a Dll that was created with VC++. I'm very sure the Dll works, because when I import it into a test program written in VC++, it works and gives the correct data. But when I try to use it in a VB.Net test program, it throws a System.EntryPointNotFoundException All of the Dll functions uses stdcall. Here's the source code of the ...

Good way of debugging "application configuration is incorrect" problems on end-user systems?

I build an executable which is dynamically linked to several DLLs. Most of these are installed by default on Windows, but maybe with slightly different versions. Others I distribute with the app, but they in turn may depend on other DLLs. If I run the executable locally and get the Windows error message saying that "Failed to load [what...

Multiple application entry points

Hi, Recently I was trying to add unit tests to an existing binary by creating a extra (DLLMain) entry point to an application that already has a main entry point (it is a console exe). The application seemed to compile correctly although I was unable to use it as a DLL from my python unit test framework, all attempts to use the exe as a...