dll

Link an external library at runtime in .NET

Hi, Is it possible for my application to monitor a folder that if we copy a DLL (library) in it, the application will pick it up and link it? I did a similar thing in C++ back in the days but is it possible to dynamically link a library in .NET? Thanks ...

Using vb.net dll in unmanaged c++ project

I created a vb.net dll called "WSdll.dll". I compiled it, created a type library (tlb), and registered it globally(gacutil).. It includes a file called wsutils.vb, which includes a namespace called "wsutils". In the namespace, there's an interface (with attribute) called "IWSconnection", and a class called "WSconnection". The interface ...

load a DLL reference from a different folder?

I have a .NET console app that references a DLL. It runs fine if the DLL is in the same folder as the EXE but I would like to put the DLL in a different folder. How can I do that? ...

Problem with attaching a process in VS 2008

Hi guys, I am not sure what the issue is as I am new to this issue, but I'll describe the problem best I can. I have reportwriter dll written in VB6. I use this reportwriter in a web app (my main app). At the moment, I am building the reportwriter project into a dll into the a folder in my main app's solution. I have been told VB6 aut...

Stymied by ASP.NET Compilation Error CS0009

I'm getting error below when I debug my ASP.NET MVC app. Any thoughts on how I could solve this? Any idea how the problem would have occurred in the first place? I promise you I didn't go randomly deleting dll's from deep within protected directories on my system. Server Error in '/' Application. Compilation Error Description...

Problem in calling a virtual function across Symbian DLLs.

My IM application setup is like below: User Interface module (exe) Plugin module ( A polymorphic DLL that provides an abstract interface for different protocols to the UI module ) Several Protocol DLLs ( Shared library DLLs that implement the respective protocols, like Jabber, ICQ etc ) Now, I was asked to implement contact list cach...

Having a Dll made by dot net , is there any way to distinguish its methods?

hi Having a Dll made by dot net , is there any way to distinguish its methods? ...

C++ undeclared identifier - object from .net dll class

I have a vb.net dll which I imported in an unmanaged c++ project. I successfully created an object of the class object using: CComPtr< IWSconnection > pIWSconnection; pIWSconnection.CoCreateInstance( __uuidof(IWSconnection ) ); Then, when I tried to call a method from the dll: pIWSconnection.connect(...); I am getting an erro...

issues with porting a DLL C++ class library to Visual Studio

Hi there. I wrote a class library in C++ and successfully compiled it in Linux with g++ as a shared object, then created a few apps that use it. Now I have to port it to VS2008. I gave all the classes the required __declspec(dllexport) prefixes, then tried to compile it. I get a pile of warnings, which basically have to do with: my cu...

Define a .net reference to always use the latest version of a GAC'd dll?

We have a vendor who is writing an application for us who makes use of a dll I've provided to them. My boss just found out that if we ever need to make a change to one of our dll's we'd have to provide the updated version to the vendor so they could recompile their project. This causes problems because we don't have automated testing a...

one DLL, multiple projects?

Is it possible to force my C# solution file to make a single DLL containing all the projects in the solution, instead of one DLL per project? This dude says that isn't possible but I notice that's a post from 2004. I'm using Visual Studio 2008 Team System and it's a C# application. ...

How to get exported function names from a .dll(system) ?

Here ,i will explain ,i want the exported func namelist(by name and by ordinal)from a DLL.I got the function names(exported by name) using export directory table,but i cant retrieve exported function list ,which exported by ordinals....help me to retrieve it....i also tried .lib of that dll,there is also ,displays NONAME. thanks in advan...

Setup DLL doesnt run when CAB installs under CE6

Hi I have a CAB file that installs our program to Windows CE. I have a CAB (and platform configuration) for Windows CE 5 and 6. Both CABs have their CE Setup DLL property pointing to the Primary Output of a Setup project. Both CABs contain the exact same code (C++). When installing the CE5 CAB it works perfectly and the custom setup a...

Singleton MFC extension DLL

Hi. I declare a singleton on a MFC extension DLL, like this: //header file: SingleTon.h class AFX_EXT_CLASS CMySingleton { public: static CMySingleton* Instance() { if(!singleton) singleton = new CMySingleton(); return singleton; } int a; // Other non-static member functions private: CMySingleton() {}; ...

How to run one web application that uses dlls with different minor builds?

I have a CMS that uses one version of Telerik dlls, and have a bunch of user controls that have to be added to this CMS system that use another version of the same dlls. These dlls differ in the minor build. Is there a way I can get them to work together without running into the dreaded "Could not load file or assembly located assembl...

64 bit webpart on SharePoint 2007 32 bit

If I develop a 64 bit webpart DLL does it work with SharePoint 2007 32 bit? ...

How to Debug a Class Library in Visual Studio

I am working on a class library (dll) project in Visual Studio 2008; programming in C#. In order to test my dll I just created a second project that is a console application and in that project I can reference the first and run tests. Is there a simpler way of doing this? Can I just create another file within my class library project tha...

Plugin application hangs when invoking functionality from another DLL

I am trying to render a GStreamer pipeline running on top of a XUL window. For this I wrote an XPCOM plugin. A XPCOM plugin is basically a dll file that gets loaded by the Gecko engine. My plugin links with GStreamer and as a consequence it depends on many other GStreamer plugins (also dll files). Invoking GStreamer code (for example a...

Msvcr71.dll Msvcp71.dll missing

I have wrote some application. But when i run it on several operating systems we are getting those two files missing. When i add them to the windows\system32 folder the application works fine. I saw this solution how-to-install-msvcr71-dll-correctly but is there any way to make my application to use more updated version of the file...

how to add a user control from a dll(already referenced) to ui in design mode?

If i first add it to the toolbox, an exception will be thrown, saying the dll is already referenced. and i hate to add it to ui programmatically. any idea? i have to add it programmatically? ...