I'm trying to add a new entry into Internet Explorer's right-click context menu. I understand that this can be achieved by creating an HTML file containing JavaScript, and then linking to this from a location in the registry. I have also read that you can also add the HTML to a resource file and compile it into a DLL (see the Microsoft...
Hi Girls and Guys!
I'm currently working on some evaluation work for a project that I'm planning.
I recently looked at solutions for a data storage mechanism for my application and while researching stumbled upon SQLite. I currently use SQLite with the System.Data.SQLite wrapper.
I really like the way it works but I have one problem w...
Because I'm working on Creating RIA Framework with Silverlight & C#. So I need to use rich features of Silverlight such as dynamic loading. But I found that Visual Studio will merge all class library(same namespace or difference namespace) into one dll.
Do you have any idea to build 2 or more dlls from C# project? I just create 1 projec...
The question involves some other related questions, I'll just throw every single on of them feel free to answer one or many of them.
What are the advantages of separating Projects/DLL?
What are the disadvantages of separating Projects/DLL?
If I create a new solution/DLL for every shareable resource, isn't going to be lots of projects?
...
I've got a big VS.NET project with 5-6 projects and one of these projects is the Core DLL.
Now to add some plugin support I extracted an interface, however interface was required to use some other classes and the Core.dll needed the interface so I had to separate them. (I can't reference to each other)
After this my day ruined because ...
I have a dll "mytest.dll" that when loaded via LoadLibrary(), returns NULL (and 127 as the GetLastError()). If I use DependencyWalker on "mytest.dll", it reports that it should load correctly and that all DLLs are found correctly. Running the profiler option of DependencyWalker on the host exe gives me this relevant section in the log:...
I'm sure this has been asked before, but google and SO search failed me.
How can I identify if a DLL is a release build or debug build?
...
From Can I build 2 or more dlls from C# project in Visual Studio 2008?, I have another idea to create only 1 big project. After that, I separate a project dll(that contains many classes.) into 1 dll per class by using post-build event to call Win app project(for separate a big dll). How to do this?
Moreover, I need to manage attached fi...
Is it a better idea to dump 'utility' classes that are shared by multiple projects into a single utilities library, or to create many small assemblies each of which has to be loaded by the projects that use them?
I don't really like the idea of utility libraries, and you get a total mish-mash of functionality, but on the other hand havi...
I'm using Visual Studio 2008 (on Windows 2003 Server / 32 bit) to compile a library and after the DLL is produced the "Custom Build Step" -> "General" executes a command line:
regsvr32 /s /c "($TargetPath)"
which generates the exception:
An unhandled win32 exception occurred in regsvr32.exe [212].
This throws up a debug sessi...
I've done About.com guide to embedding dll's in Delphi EXE's which seems to work, so long as I don't actually use the DLL as an external function. Is there anyway to get the code I linked to to work earlier than an unit referenced in the uses clause.
I've tried:
Doing exactly what this code says.
Placing this code in the initializati...
Hello,
How do I protect the dlls of my project in such a way that they cannot be referenced and used by other people?
Thanks
...
I want a setup like this:
+- /ApplicationFolder
-- App.exe
-- Core.dll
-- AnotherShared.dll
+- /PluginsFolder
-- plugin1.dll
-- plugin2.dll
But because plugin1.dll references to Core.dll and Shared.dll when I compile the application it drops a copy of "Copy.dll" and "Shared.dll" to plugins folder as well and if I remov...
How can I set PrivateBinPath in MEF?
This is what I'm trying to do : http://stackoverflow.com/questions/806383/how-to-change-the-loading-path-of-references-in-net
...
Consider two .net dlls. The first, "application.dll" contains the main business logic and data access code. The second, "webservice.dll" consists mostly of WebMethods that link to objects and methods with application.dll for the purpose of providing webservice calls to existing code.
What changes (e.g. add new classes, add a new field o...
Hello,
I have a COM DLL that I registered via RegSvr32 but it does not show up in DComCnfg.
Any help as to why?
I think I am missing a few registry keys, but I do not understand why I would, i thought RegSvr32 did that for me.
Thanks for any help.
...
I am a C# developer who has decided to pursue a C++ project. I have had C++ experience but not MSVC.
What I am trying to do is incorporate a .dll from an open source project into my project. The code is available and I have built it. I have the .dll as well as the .lib which as I understand it is required for C++ projects.
Now unfortun...
I am creating a c++ program, but I want to be able to offer just a .exe file to the user. However, I am using libraries (curl among others) which have some dll's. Is it possible to compile these dll's into the .exe file?
I use Code::Blocks and mingw.
...
Does anybody have an effective Delphi software solution for nesting 1 dimensional lengths into predefined stock lengths?
...
Hi guys,
i'm totally new to .net especially with c# 3.0 and i'm working on an access database wrapper application because we need to protect the password and content of the database from being directly accessed by a third party developer.
I'm currently testing to write a simple client app to trigger the functions in the dll and to my su...