I created a c++ .net dll, in which I need to implement logging. I decided to go with Microsoft Enterprise Library's Logging.
Now, I am calling this dll from a COM application (I created a .tlb from the dll to use in the COM application), and the error I am getting is this:
Could not load file or assembly 'Microsoft.Practices.Enterpris...
When FxCop examines an assembly it gives the following error:
The following reference assembly could not be found. The assembly is
required for analysis and was referenced by Test.dll.
Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c
So, I did a search and found the file in:
C:\Windo...
Hello,
Using visual studio 2008, I have an .H and a .LIB file of a library.
I wrote a program and refrenced the LIB via the project properties.
It compiles fine, but when it runs, it asks for the DLL to be installed.
If the DLL is in the same dir as the EXE it works ... but, if I have the LIB, doesn't it already mean the functions are s...
Hi folks, when we publish an asp.net website, there are 2 file types created under 'bin' folder, .dll & .compiled files. When we deploy to production do we need to copy the .compiled files or just copying .dll will do?
I know it's precompiled at this point but what's the .compiled file for ?
TIA
...
Hello Most excellent Stackoverflowians
Using visual studio 2008 Team System,
I have a c++ dll (mfc statically linked regular dll) which has a simple function
extern "C" __declspec(dllexport) int MyExportedFunction( )
{
AFX_MANAGE_STATE(AfxGetStaticModuleState( ))
CString tempString ;
....
}
The DLLImport from the c# applica...
i want the assemblies (*.dll) files for silverlight charting controls
or give me path that where does it stoer when we install the toolkit
in our computer
...
Hi,
I wonder if there is some way to know full paths to the dll's that are listed in .csproj file.
The most interesting for me is to resolve paths to default dll's like System.Xml.dll, System.Data.dll and etc.
In the .csproj file there are only lines with short names:
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3....
I've written a shared library which is partly used by a Windows application written in Visual Studio 6 (pure C).
The library works flawlessly under Linux, but under Windows something's broken somewhere (it uses some #ifdef WIN32 which might enclose something errornous).
But adding the library DLL as "additional DLLs" to the project in ...
I'm working on getting rLog to build as a DLL under windows, and I was getting undefined symbol errors relating to some global symbols in the rlog namespace. Specifically these in RLogChannel.cpp:
namespace rlog {
...
RLogChannel *_RLDebugChannel = GetGlobalChannel( "debug", Log_Debug );
RLogChannel *_RLInfoChannel = GetGlob...
I'm creating a DLL with a reference to web services (I don't have the choice to do so) but I have to add web service references to the project that uses the DLL for it to work.
Example, I have the DLL called API.DLL that calls a web service called WebService.svc that I want to use in a project called WinForm. First, I have to add a "Ser...
I have been throwing stuff together in a small test game over the past 6 months or so, and right now everything is in the one project. I would like to learn more about creating an "engine" for reusability and I am trying to figure out the best way to do this.
Static Libs are obviously a tiny bit faster, as they are compiled in rather th...
What is the right way to handle exceptions thrown from inside a DLL in Delphi?
Something like this
on E : ESomeException do ...
or
if (E is ESomeException) then ...
fails, because of the separate type registries of the DLL and the main application.
...
Hi,
I'm building a DLL, let's call it mydll.dll, and in it I sometimes need to call methods from webservice, myservice. mydll.dll is built using C# and .NET 3.5.
To consume myservice from mydll I've Added A Service in Visual Studio 2008, which is more or less the same as using svcutil.exe. Doing so creates a class I can create, and add...
Hi
I try to register dll (ActiveX) for non-admin user using MSI.
To create registry settings I have register the dll in admin mode, then exported the relevant registry entries and renamed all HKLM to HKCU.
When I install it for non-admin user all works fine. But when I use the same settings with admin user, there is a problem of discov...
I am having problems when using a VB.NET dll in a VB6 program. I have already created my dll with the GuidAttribute, used the RegAsm to create a tlb and added it to the references of my VB6 program. The problem is when I try to create the object using CreateObject function, however the following error shows up "ActiveX componnent can't c...
Hi kind of a newbie question.
So apparently this library is popular for this sort of thing:
http://extracting.codeplex.com/
When I download that all I get is a .dll
I can't find documentation on their api, I don't know what I'm supposed to do with this .dll (I know how to load in functions from DLLs and such, but how when I don't eve...
I want to know What are the exact differences between .NET dll and a normal dll.
First question, what is "normal DLL" called? I'm using the word 'normal'. But it doesnt seem right?
Because both follow the PE format. Yeah, I agree that .NET DLL has an extra section. Other than that every thing else is same.
I also know that in .NET ...
iam trying my hand at using the crystal space api in my graphics applications.
crystal space website
The applications compile fine but iam having hell with the dlls(dynamic link libraries). The compiled application crashes at run time and i suspect its because of not finding the needed dlls.
The only solution i currently have is cuttin...
I have a dll that I need to make use of. I also have a program that makes calls to this dll to use it. I need to be able to use this dll in another program, however previous programmer did not leave any documentation or source code. Is there a way I can monitor what calls are made to this dll and what is passed?
...
Hello,
I need to call(get) non exported functions of DLL. Unlike PE export table, non exports do not have any table having entries for these. More over all disassembler like IDAPro and other debuggers only show exported function names with decorated names(After Shift+F3 incase of IDA) and show all other functions like sub_000FF sorts of...