dll

Load multiple copies of dll in same process

I have a dll produced by a third party that has some sort of internal datastructure that limits it's size to X elements. So basically, it has a Queue with X as the limit. Now from what I've known DLL's are per process, but is it possible to load a DLL more than once? Maybe per thread? In C#? or in C++/CLI? I'm trying to load a native ...

Delphi: Access violation after calling function from external DLL (C++)

There's a function, written in C++ and compiled as DLL, which I want to use in my Delphi application. Scraper.cpp: SCRAPER_API bool ScraperGetWinList(SWin winList[100]) { iCurrWin=0; memset(winList,0,100 * sizeof(SWin)); return EnumWindows(EnumProcTopLevelWindowList, (LPARAM) winList); } Scraper.h: #ifdef SCRAPER_EXPORTS...

where can I download the assembly MPF.Project.NonShipping.dll?

I want to use HierarchyNode class which is in the Microsoft.VisualStudio.Package namespace and the assembly is MPF.Project.NonShipping.dll. There was no assembly on the .net reference or on the COM. I searched for the file, but it was not on the machine. I also tried to google the dll if we could download it, but there was no link, whats...

Where are webaccess dll in tfs2010 ? (WebAccessUserControl)

Hi, We have created a plugin for webaccess 2008. The problem is that we are trying to upgrade our version with the one use with tfs2010 but we cannot find the dll that we were using Microsoft.TeamFoundation.Webaccess. Can anybody help us on that ? I check documentation on google and on msdn but a cannot find anything useful ... ...

Automatically include DLL version number in file name in Visual Studio

If I set the assembly version number for a C# DLL in Visual Studio 2008, is it possible to have the compiled binary automatically include this version number in the file name? If I manually rename the file, projects that reference it break. Why is that? Does the file name somehow map to the assembly name inside? ...

vb.net adding a reference

i added itextsharp.dll to my project. it is on my desktop. everything compiles and works fine. if i install my application on another computer it is looking for the same file itextsharp.dll on the users desktop. how do i make it so that the DLL is built in to the project?? ...

Which is better one DLL for all or many DLLs ?

We are working on a big portal that developed in SharePoint 2007 .. We put custom code in Dlls .. some suggest to put all code for many components into one single dll instead of one dll for each component .. My opinion is to put each component into a separate dll to affect memory in a good way .. So, which is the better really .. t...

Extract debugging information from a msys/mingw gcc built dll using rebase.exe?

I'm trying to analyze a mini crash dump and need symbol files in order to get more details about the crash. Im currently just seeing: "034eff74 0086eee9 00000000 0089d58d 034eff94 app_integrator!ZNK14ACE_Data_Block4baseEv+0x6" Is it possible to extract debugging information from a msys/mingw gcc built dll into a windbg readable format ...

Protecting shared DLLs from being unregistered / deferenced during uninstall?

My .Net program in C# is referencing a proprietary DLL, which my program uses to access their API. Everything works great.. however, when I uninstall my program (add/remove programs), the original program (not mine) will no longer run because it appears that the DLL file has been dereferenced or unregistered by Windows/.Net. I've gone ...

Loading a C#dll into a C# exe

Hi Members I am new to C# can any please tell how to load a dll created in C# to a exe in c# I have .NetFrameWork 3.5 and my o.s Vista ...

Finding a needed dll after a JBoss (hot) redeploy?

My web application uses a native dll for part of its functionality (the location of which is provided in PATH). Everything works until I make a change to the WAR and JBoss hot deploys this WAR. At this point, the dll is no longer found and I need to manually restart the server. What is the best way to load the dll back into the app afte...

Where to download Microsoft Visual c++ 2003 redistributable

I have an old dll that uses the Microsoft Visual C++ 2003 (7.1) run time package. Unfortunately I don't have that DLL around anymore. Short of reinstalling VS2003, is there another way to get the run time redistributable dll? ...

How to return an instance from a DLL?

Hello buddies: I am programming a DLL. I have to return an instance of TBitmap to the host application. The DLL has another UNIT, wich is a Form, that it has a TImageList for storing images. I wrote a function that I want to return an Image from the TImageList (from the DLL to the host application. How can I do this? Thanks, Yulién. ...

How do I import this function from inet.dll into .NET?

I've never done this before, and I'm kind of stumped as to how I would translate the datatypes into C#. Here is the function I'm trying to import: BOOL InternetSetOption( __in HINTERNET hInternet, __in DWORD dwOption, __in LPVOID lpBuffer, __in DWORD dwBufferLength ); All I'm trying to do is set the proxy settings on a Web...

Profiling DLL/LIB Bloat

I've inherited a fairly large C++ project in VS2005 which compiles to a DLL of about 5MB. I'd like to cut down the size of the library so it loads faster over the network for clients who use it from a slow network share. I know how to do this by analyzing the code, includes, and project settings, but I'm wondering if there are any tools...

could not load dll or one of its dependency

a. My C# program will load a dll (which is dynamic), for now let's take a.dll (similarly my program will load more dll like b.dll, c.dll, etc....). b. My program will invoke a method "Onstart" inside a.dll (it's constant for all the dll). I am able to achieve the above 2 cases by reflection mechanism. The problem is a. If my a.dll ha...

How to updates/install mfc71u.dll, msvcp71.dll, msvcr71.dll in visual studio 2005

Hello I have an application which can require some of .dlls i.e mfc71u.dll, msvcp71.dll, msvcr71.dll while running. Is there any Microsoft updates are there which can update visual studio 2005 so that I can install and my system can get that .dlls. Thanks, Kamal. ...

DLL Injection/IPC question

I'm work on a build tool that launches thousands of processes (compiles, links etc). It also distributes executables to remote machines so that the build can be run accross 100s of slave machines. I'm implementing DLL injection to monitor the child processes of my build process so that I can see that they opened/closed the resources I ...

DllImport a c++ DLL in to a C# app, BYTE * p

Hello I have a exported function in a c++ DLL // C++ DLL (Blarggg.dll) extern "C" { USHORT ReadProperty( BYTE * messsage, USHORT length, BYTE * invokeID ) { if( invokeID != NULL ) { * invokeID = 10 ; } return 0; } } That I would like to make it available to my C# application /...

Creating Windows DLL from C++ source files

I have multiple source files in C++ using which i want to create a Dynamic link library. I see this happening in linux with gcc -shared and ln however for Windows i suppose i would have to modify source files to generate a DLL. Is there a way to generate DLL (a file similar to *.so in linux) with provided source files. Please correc...