dll

Use SSL with Delphi yet still having a single exe

Hi, We use Indy and we need SSL eMail support in our app., however we need to have our application in a single .Exe. We know that the default Indy handler requires to have the dlls in the path. Extracting the Dlls from one of the EXE's resources would be the last resort. Any better ideas? ...

C# DllImport MFC Extension DLL & Name Mangling

I have a MFC extension DLL which I want to use in a C# application. The functions I'm exposing are C functions, i.e. I'm exporting them like this extern "C" { __declspec(dllexport) bool Initialize(); } The functions internally uses MFC classes, so what do I have to do to use the DLL in C# using P/Invoke. Secondly, I want to use func...

Difference between COM DLL & ActiveX control

Few similarities I know.. Both cannot execute by themself. It needs some program to instantiate it. COM DLL & ActiveX controls are platform independant.. (Is it so..?) Both requires to support the interface IUnknown & exposes three methods QueryInterface, AddRef, and Release It also requires be registered before using & un-registered a...

Attempted to read or write protected memory. - After converting app from VS 2005 to VS 2008

I have an application that was written in VS 2005 (C#). Works fine, it calls a 3rd Party dll. Now that I've converted it to VS 2008 (using the wizard), I get the following error when trying to instantiate the 3rd party dll. Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Not sur...

See if any application has a DLL from the GAC loaded

I'm trying to deploy new copies of my DLL to the GAC on remote servers, but I need to identify if any processes currently running have a loaded copy of the DLL I'm replacing - I'd like to restart them, or at least tell the user. For example, Biztalk seems to load the DLLs it needs the first time they're used, and then replacing them kee...

How to use a dll?

I have a .dll file and the .lib file for it. The DLL talks to an electronic key reader, and allows you to read/write the key ID. This is the only documentation that comes with: DLL Usage: boolean = object.DevicePresent (PROPERTY: true if the device is present) boolean = object.KeyPresent (PROPERTY: true if a key is in the device) long...

How to create a dll in Visual C++?

Any good website? ...

Add c++ dll in the GAC

I have a dll that i created using C++ and for a reason my dll should be placed in the GAC. for all other dll's created with managed code, i sign them and drop them in the GAC, how can i do the same with the c++ dll? Thanks for your quick help. ...

concept question about dll

My boss asks me to create a dll file using C++. The dll file needs to do the following: create a blank area in Window create some simple shapes (for an example, a rectangle) on the blank area control the locations of the shapes in the blank area I am new to C++, so please correct me if my understand is incorrect Dll is a binary file,...

Is it possible to use Java to create dll?

Want to create animation dll for Window XP Is it ok to create Java2d animation and export as dll?? ...

How to link a dll to Simulink??

I need to use a dll file in my Simulink model. Does anyone have any suggestions? ...

UnsatisfiedLinkError When Loading a Library from Java in MATLAB

I've been integrating simple java modules into the MATLAB environment on Windows with some success. Recently I encountered a problem with a third-party library which attempts to load a dll. The java ClassLoader throws the UnsatisfiedLinkError when the load is attempted: java.lang.UnsatisfiedLinkError: no <libname> in java.library.path ...

Java loading library windows 7 64bit

I have a java webstart program, it runs on xp, osx, vista, and windows 7. I just tried to run it on windows 7 64bit and it is having a problem loading a library. On this win7x64 machine I have the 64bit jdk/jre and the library it is not loading is swt-win32.dll. Yeah it's 32bit, but I'm getting: Exception in thread "Thread-10" java.lang...

which dll contains generics extension methods?

I'm trying to dynamically compile source code using the CodeDom.Compiler stuff, which means I need to reference the basic assemblies manually. The source code that I am compiling must be able to access the basic list extension methods, for for instance, Max(), Min(), or Sum(), and probably lambda expressions as well. When I compile the...

how to make visual studio copy dll to output directory?

Hi! I have a Visual Studio C++ project that relies on an external dll file. How can I make Visual Studio copy this dll automatically into the output directory (debug/release) when i build the project? Thanks! ...

C++ Dll Injection

Hello everyone, I would really appreciate your help in this. I have been trying to get a Dll injected into a remote process and do a few changes inside it, the problem I'm encountering right now is i don't know how to get this going. So first, here is my piece of code that I have developed so far: dllmain.cpp #include <windows.h> #inc...

what's the differences between .dll , .lib, .h files ?

why in a project should include some *.lib, .h or some other files ? and what are these things used for ? ...

Qt library event loop problems

I'm writing a DLL that is used as a plugin by another application and would like to leverage Qt's abilities. I have all of the classes set up, compiling and running, but no signals are being emitted. So it seems as though there's no QEventLoop. Attempt 1: I modified my main class to subclass QThread instead of QObject, and in the run() ...

Debugging a DLL from VS2008 in VC6

I am currently debugging a project in VC6 (slowly porting it over to VS2008). The project links to a DLL that I have produced in VS2008 with a Debug build. (I know - a strange situation to find myself in.) I need to debug the project in VC6 and step into the calls to the DLL. Even though I have the PDB alongside the DLL, VC6 still repor...

Can I change dll-interface without recompilation exe-file?

I have an abstract class in my DLL. class Base { virtual char * First() = 0; virtual char * Second() = 0; virtual char * Third() = 0; }; This dinamic library and this interface are used for a long time. There is my mistake in my code. Now I want to change this interface class Base { virtual const char * First() const = 0; ...