Все вопросы: [dll]

922 вопросов

0
голосов
4ответов
933 просмотров

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

1
голосов
1ответов
2804 просмотров

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

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.

1
голосов
2ответов
3813 просмотров

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

3
голосов
6ответов
8805 просмотров

Windows 7 OpenLDAP Curl DLL Dependency Hell

I really hope someone can be of help to me because this problem has me totally stuck and frustrated. Yesterday I installed a fresh and shiney new Windows 7 x64 onto a development box. I got VS2008 installed, Tortoise SVN, did a checkout, compiled my currently project, all fine and dandy. But ...

4
голосов
8ответов
746 просмотров

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

0
голосов
3ответов
903 просмотров

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

4
голосов
4ответов
2695 просмотров

How to return an instance from a DLL?

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

50
голосов
5ответов
152738 просмотров

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?

2
голосов
1ответов
489 просмотров

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

2
голосов
3ответов
832 просмотров

Loading a C#dll into a C# exe

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

0
голосов
1ответов
417 просмотров

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

6
голосов
1ответов
3466 просмотров

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

0
голосов
2ответов
253 просмотров

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

1
голосов
2ответов
342 просмотров

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

4
голосов
1ответов
2798 просмотров

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

0
голосов
1ответов
284 просмотров

Where are webaccess dll in tfs2010 ? (WebAccessUserControl)

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

0
голосов
1ответов
234 просмотров

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

2
голосов
4ответов
5419 просмотров

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

9
голосов
2ответов
4035 просмотров

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

2
голосов
3ответов
190 просмотров

How do I know the .exe that loaded my dll is about to exit?

I have a dll which is actually a com service that is registered and then being loaded by another .exe process. I would like when the user exit from the .exe to execute some resource closing steps from within my dll before it is too late. I tried to intercept the DLLPROCESSDETACH or DLLTHREADDETAC...

2
голосов
3ответов
3318 просмотров

Can't use DLL (written in C++) in Delphi: The procedure entry point could not be located

I've compiled a DLL in Visual Studio (the source code is in C++, which I barely understand). Here's a piece of Scraper.h: struct SWin { char title[512]; HWND hwnd; }; SCRAPER_API bool ScraperGetWinList(SWin winList[100]); Now I'm trying to use the above function in my Delphi application...

1
голосов
2ответов
371 просмотров

Is EXE locked (vs DLL)?

If I put all my controls inside the EXE, is it accessible from outside like it would be accessible when it's placed in a DLL?

11
голосов
9ответов
28464 просмотров

vcredist_x86.dll and version 8.0.50727.4053

Visual C++ 2005 I build on my system use CRT DLLs version 8.0.50727.4053. I believe it is the latest one and was automatically updated by Windows. On user systems, this version of the DLL is not found. I have used vcredist_x86.exe in the past as a part of our installer to install runtime DLLs. I...

6
голосов
3ответов
22246 просмотров

The procedure entry point could not be located in the dynamic link library Core.dll

I am converting my project to use DLLs and am trying to break apart my Singleton class to avoid using templates. My class, LudoMemory, originally inherited from Singleton. I am trying to give it the functions to destroy and create itself now and have my main engine not rely on the Singleton. ...

1
голосов
2ответов
507 просмотров

Exporting template code = dangerous? (MSVC)

As I noted in another SO question, I came across this article. The issue came up when I compiled boost 1.40 via MSVC7.1 and several C4251 warnings popped up. Now, after reading said article, I wonder: Is it generally discouraged to export template code, e.g. class DLLEXPORT_MACRO AClass { publi...

1
голосов
3ответов
3505 просмотров

use 2 different versions of same control (dll) at the same time on same machine?

I'm using a3rd party component in my project and I recently upgraded to their latest version which fixed bug 'A' unfortunately, while it solved bug 'A', another part has gotten completely unstable, so it introduced a bug 'B'. Since 'A' and 'B' are in completely different contexts, I want to hav...

1
голосов
1ответов
224 просмотров

ASP .NET WebSite with importing DLL-s

I am trying to call a DLL function in my file.aspx.cs like this: [DllImport("the.dll")] private static extern bool theFunction(int width, int height); And: file "the.dll" is in "C:\Windows\System32\inetsvr" my web site is an application that has the privileges to read and execute it if I try...

9
голосов
1ответов
10674 просмотров

How do I set the version of a DLL built in C, compiled with CL.EXE?

If I compile the source for a C-language DLL with CL.exe, how do I set the file properties including File version Product name, Product version, Copyright and so on, so that I can view these properties in Windows Explorer? In a .NET application written in C#, I could do this with assembly att...

0
голосов
5ответов
2910 просмотров

How do I add a modified dll to the Global Assembly Cache?

I have the MySQL Connector/NET installed on my PC. I modified the source code and recompiled one of the dlls (MySQL.Data.dll). With the program already installed, how can add this dll to the Global Assembly Cache? If your answer involves using gacutil.exe, please tell me where I can find it on...

43
голосов
6ответов
58215 просмотров

LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification

I recently converted a multi-project Visual Studio solution to use .dlls instead of .libs for each of the projects. However, I now get a linker warning for each project as stated in the example. MSDN didn't serve to be all that helpful with this. Why is this and how can I solve it? Warning...