dll

Obfuscation (or other intelectual rights protection) for Assemblys (DLLs) compatible with Framework 4

Hello, the title says it all, I need an application for obfuscation (or other intelectual rights protection) of Assemblys (DLLs) compatible with the new Framework 4. It should be free, and not require extensive changes in my application code. Any recomendations? PS: I know a bunch of others for framework3.5 and before, cant find one f...

Restrict access to .NET assembly?

Is there a way to have a .NET assembly accessible for only authorized sources? I mean I want to have a DLL that contains components, but I don't want anyone to be able to use these components but the other DLLs EXEs in my solution. I do want them to be in separated DLLs though. Restriction on namespace might also be a good idea if this...

Building a Win32 DLL from a Linux library source

Hi all, I'm trying to build a Win32 DLL from an audio-DSP related Linux library (http://breakfastquay.com/rubberband/). There are makefiles and config scripts for Linux, but no help for Windows. The author provides a Win32 binary of a sample app using the library, and I see a number of "#ifdef MSVC" and "#ifdef WIN32" scattered around, ...

Compiled languages basics

Hi, please, could someone explain to me a few basic things about working with languages like C? Especially on Windows? If I want to use some other library, what do I need from the library? Header files .h and ..? What is the difference between .dll and .dll.a.? .dll and .lib? .dll and .exe? What is .def? Does it matter how was the lib...

Link libraries compiled by various compilers

Hello, I would like to ask in more detail about a answer I recently got here (3rd one): Compiled languages basics If I write in C and MinGW and I link to C++ library compiled by VC - will it work? How do I know in advance? In other words, if I'm able to create without warnings an .exe which links to that C++ .dll, and I'm able to run ...

How can I detect the type of a dll? (COM, .NET, WIN32)

I need to process a number of dll's and exe files in a folder and determine what type of file I am dealing with: .NET, COM, Win32 or some other alien life form. I've been trying to determine the easiest way to detect the type of a DLL, what do you think of this: COM dll => I do a LoadLibrary, then GetProcAddress for "DllRegisterServer...

Delphi and dll versions

First off, forgive me if this is a schoolboy question :) We have a number of applications that user Delphi dbxpress to access a MySQL 5 server. These applications were all written on Delphi 2007 against a libmysql.dll version 5.0.xx (actual version forgotten) This dll has been distributed to all users and is working fine. I have just...

Is there a way to force the VB6 IDE to unload libraries?

When debugging a VB6 application, I have noticed that the VB6 IDE keeps any libraries loaded if they were used by the application being debugged. The library remains loaded between debugging sessions. This interferes with my debugging because unfortunately, one of our libraries (written in delphi) keeps state around in global variables a...

Detecting a DLL version number using a script

I would like to write a script that can recursively scan the DLLs in a directory and generate a report of all of their version numbers. How can I detect the version number of a DLL using a script? VBScript solutions are preferred, unless there is a better way. ...

Is there a rebase (dll) command in linux/gcc?

On Windows, rebase changes the preferred load location for a dll and (I've read) can dramatically decrease application load time. Is there a similar concept on Linux and/or gcc? ...

Control Camera Device From C#

I am now facing one problem which to get the live image from Camera (eg. Sony, Canon) into winform and also control the camera capture button from a button in the form. have Anyone build something like this, or are there any similar project like this which is done in C#? ...

Centralising Data Access: Wrap ORM in Class Library or use a Web Service?

I am trying to centralise the data access within my small company. The data I am wishing to represent in either a class library or a web service will be consumed by ASP.NET web applications (both Web Forms and MVC), ASP.NET desktop applications and Sharepoint (MOSS 2007) web parts. This is all internal stuff, so is there any need to go ...

How to load a VC++ CLR library in MFC application?

HI I have a application developed in VC++6.0 ,now I want use some new features from .NET and developed a library, to develop this library I have to use the CLR-VC++ now I packaged this in a DLL.Now I need to call the routine of this DLL in my MFC application. I tried to write a small MFC application to load this DLL, All the time the Lo...

Loading a DLL on a jboss server

I am able to load a DLL library on my machine by putting it in a directory found in the PATH environment variable. I can also specify System.setProperty("jna.library.path","C:\\dev"); and that works. For some reason I cannot get it to work on another box that's running the same version of JBoss. I tried dropping the DLL in C:\WINDOW...

Question on DLL Exporting/Importing and Extern on Windows

Hey guys i have some quick questions on windows dll. Basically i'm using the ifdefs to handle the dllexport and dllimport, my question is actually regarding the placement of the dllexports and dllimports as well as extern keyword. I am putting the dllimports/dllexports on the header files but do I have to put the dllexport and dllimpor...

Is there a best practices guide to distributing native C libraries for Windows?

Does anyone know of a best practices guide for deploying native (no COM, no .NET) ANSI C Windows shared libraries? Our product uses zlib and we distribute pre-built binaries on our downloads page that differ from those on the official zlib page. I'm guessing that the reason for this is to avoid mixing C runtimes. The official ones are...

Advice on Abstract Factory, DLL Exporting and Smart Pointers

Okay guys, this is a follow up to one of my previous questions and I have come up with a possible solution to my project and I need some advice or guidance if I have this right. Basically my project is a library to be used and compiled on both Linux and Windows, the Linux part isn't much of an issue, its Windows. My library consists ma...

Windows SDK dlls

Hi, I have a Qt and Windows SDK based Software (for COM-Port access). I used Qt creator for this project. Now I try to deploy it on another computer. But the dlls from the Windows SDK are missing. I can't find them and I am not sure how to create them. If I run the application with Qt creator everything works fine. Any hints where I c...

Calling C# dll in vbscript

I am trying to call a C# dll from QTP (uses vbscript). I have tried a number of things with no success: Visual Studio 2010 Create C# class libary (st.dll) code: using System; using System.Collections.Generic; using System.Text; namespace st { public class Class1 { public static int GetValue() { ...

System.Security.Permissions.MediaPermission Exception when load image in dll

I'm developing an application using C# in .Net Framework 3.5. In the application I create several objects from different dll (also developed in C#) using reflection. All this objects extend an abstract class (AApplication): private AApplication BuildApplication(string path) { Assembly appAssembly = Assembly.LoadFrom(path...