dll

Java: Load the same dynamic library in two threads (both threads in the same JVM)

Hello, I am using a library (written in C) that is not reentrant(i.e no function in the library is reentrant). Suppose I have loaded the library via System.load to get the handle say 'v'. I cannot use v in two threads because of the reentrancy issues (tried but nonsense results). I could use locks, but that defeats any parallelism i coul...

Unmanaged Exports: Cannot compile assembly

I want to create a .NET assembly that can be accessed from unmanaged code (Delphi 5). I have found Unmanaged Exports and followed the steps there but I am unable to successfuly compile even the basic example: using RGiesecke.DllExport; namespace DelphiNET { public class Class1 { [DllExport("add")] public stati...

putting some WPF windows in DLL

I have a WPF project, and there is one dialog that I will re-use in different applications. I want to put it in its own DLL, but when I use the New Project wizard in Visual Studio 2008 it only lets me create WinForm C# DLLs. Am I missing something? ...

Create dependency in DLL to other module with a non-".DLL" extension

A bit of an odd question here, but AutoCAD uses extension DLL's with the .ARX extension, which are really exactly like regular DLL's, besides their extension. Now we have built three .ARX files, where the two latter ones have dependencies to the first. Upon loading these two, AutoCAD complains that it can't find a required file, and whe...

pecl extesions for windows

I found few related posts here but didn't get my answer. So posting again. How would i install a pecl extension on windows? Say I want the pecl oAuth extesion on windows xp. I know 2 methods, but none of them is working for me. The site http://pecl4win.php.net/ is down for months. So I cant download the dll. Is there any place we can d...

thread start address

How can i identify exact location in a method with the following information: "abcd.dll!CMyclass::CMymethod+0x45" Actually this is the start address of a thread, i got this string as a start address for a thread with the help of a process monitoring tool. Thanks. ...

IPC between python app and injected DLL

Hello stack overflow: Sometimes reader, first time poster. Background: Windows box running XP SP3, soon to be upgraded to Windows Seven (MSDNAA <3) I have an injected DLL which gets cycles by hooking a function that is called thousands of times a second. I would like to communicate/control this DLL via a python app. Basically, the ...

.NET and DLL's in several projects

My current issue is I have a DLL which has a class I use as an abstraction for my Database Mappers. I use this DLL in all my projects (including other class libraries/dlls) that access the database. My issue is that every time I update my Data Mapper dll I have to updating it in all the other dll's I am using in my main project as well (...

Storing .dll files in SQL Server 2005

Where can I find information on storing ".dll" files in SQL Server 2005? Is it the same as storing Binary data? ...

Difference between load-time dynamic linking and run-time dynamic linking

When loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking? ...

using Crystal Reports 8.5 + VB 6.0 for a project, what .Dlls do we need to include while preparing a setup file for the project?

hi did you know that using Crystal Reports 8.5 + VB 6.0 for a project, what .Dlls we need to include while preparing a setup file for the project? The project executes on my own computer properly but it does not execute on user's computer. The user says: " I get this error when I wanna to execute a report:: 'physical database not ...

Need convert VC code to Delphi

Hi all, I need call a DLL file in my delphi code, here is the code snippet of the DLL Head file: #define BookInfoDLL __declspec(dllexport) struct _BookTime { unsigned char day; unsigned char month; unsigned short year; }; struct _stBookData { unsigned char encrypt; _BookTime bkTime; unsigned int PageCount; };...

Reference DLLs in ASP.NET without \Bin or GAC

I have an ASP.NET project under source control (Subversion). For various reasons, I don't want to add the \Bin directory or its contents to source control, so I have it svn:ignored. DLLs are loaded into here during a Visual Studio build, and I can start with a clean directory and/or delete all the contents of this directory and still hav...

Using legacy resource dll's in C#

I'm using a legacy, unmanaged, resource only c++ dll in a new c# app. I've managed to load resources from the dll using hardcoded resource numbers. Is there any way to do this using the resource id's in C#? The old C++ code is still being maintained, which means the resource ids/values may change. This may make the resource number...

Is there a better way to load a dll in C++?

Right now I do something like this and it seems messy if I end having a lot of functions I want to reference in my DLL. Is there a better and cleaner way of accessing the functions without having to create a typedef for each function definition so that it will compile and load the function properly. I mean the function definitions are al...

How to debug a COM dll in Delphi ?

Hi, I try to debug a COM dll (TAutoObject) in Delphi and my break point are not green. I put my option like this : host : c:\Program Files\Internet Explorer\iexplore.exe param : c:\software\test.html My test is well lanched but no breakpoint in Delphi what is the way to to this ? ...

[windows] Why so many msvcp80.dll?

My computer have so many msvcp80.dll in different directory. and there are different versions: 8.00.50727.762 8.00.50727.1433 ... applications uses the version under their directory as Private Assemblies with advantages. And also I found a copy of msvcp80.dll under c:\windows\system32. Can I find out which application installed thi...

accessing specific icons from a Multi-Icon (.ico) file

Dear community. I would like to know if the following is possible. I have an .ico file, containing several sizes and color depths. However, it also contains some custom made sizes, that are going to be used inside my application. The application accesses the icon trough a resource DLL. (The intention is that the DLL is provided by a t...

Is it possible to troubleshoot C# COM Interface Implementations?

I have a C# implementation of a C++ COM Interface. I have ported the IDL (Interface) as accurately as I can. When the C++ app instantiates my object it successfully calls one of the methods. It then tries to call another of the methods but nothing happens. The second call's execution path never makes it to the C# side. I don't have ac...

Registration Free COM - Manifest issues

I'm trying to use the registration free com method to "register" a DLL created with C#. The Visual Studio project type used was a class library. [ComVisible(true)] public class Report { public Report() { } public string display() { return "This is my report."; } } is what the current DLL has to offer (trying t...