dll

.cs to .dll convertion problem

Hi, I've 10 .cs files in my app_code folder. Now I want to convert all 10 class files into one dll. Is if possible? I'm trying to convert it by using csc /t:library admin.cs --> like this But it is showing error like The type of namespace dbConnection could not be found (Are you missing a using directive or an assembly refference? ) ...

ASMX + external dll

I am working on Silverlight client to Microsoft Team Foundation Server. I am using an ASMX web service to make the actual calls using the TFS api. Everything works fine when I run it with the visual studio development server, but I cannot figure out how to deploy the app to IIS. I can get the ASMX web service to work unless it is a ca...

Implemeting new facets in DLL under GCC/MingW

Hello I have problem with using std::locale::facets from DLL. It seems that locale "id" is not shared between DLL and the source. has_facet reports that "facet exists" on different kind of facet. And facet ids reported incorrectly. In the below example, foo::id and bar::id are seems to be the same and the has_facet reports true on uni...

regarding dll registration

I have a dll obtained from compiling a VS2005 project. But it is not regestering in my system im running VS 08.wat might be the probable reasons? ...

WinCE vs. Win32 dlls

Hello- I have some COM and some native dlls that are compiled for a Win CE device that I have. I would like to take a look at them, so I can create an application that references them and extends the functionality of some programs already on the device. When I open them with the Dependency Walker or Visual Studio 2008, both tell me that...

What principles should be followed to make a DLL created using Delphi works well in other Delphi version?

After this question, I need to know what principles should be followed in order to make an encapsulation of a class in a dll compatible to other version of Delphi. I made a class using generics feature in RAD2010 and make a dll which has a function that return an instance of it. When I tried to use the dll using BDS2006 or Delphi 6, the ...

How can I get assembly.dll.config file?

How can I get ahold of assembly.dll.config in the bin of an executing application in .net? ...

Determining existence of DLL before using it

Using Visual C++ 2008 Express Edition. I'm linking my application with an import library (.lib) for a DLL that might or might not be present on the target system. Before you ask: I cannot distribute the DLL with my application. If the DLL is not present, as soon as I call a function from the DLL (but not sooner!), I get a message like ...

How to have a DLL work on different Windows versions?

I'm compiling my own DLL comprised of several .o files. One of the .o files has a function that calls SHLoadLibraryFromItem that is supported on Windows 7 only. The function is never called unless the application that uses the DLL is running on Windows 7. (Yes, I'm sure.) However, when running the application on an older version of W...

Dynamically loading a dll in C#

I have a window to use for editing. The editor should load a dll (which I have full control of) in response to the user's selection to know how to display the information visually. (They're dll's, as a user will not necessarily want or need every single display model, and also allow new ones to be added without messing around with the m...

Looking for documentation on entry points for avifil32.dll

I have seen some examples of people using avifil32.dll to read / write AVI files and the DLL is supplied in Windows XP (possibly not Vista / Win 7). However even though its used in an example for the extern keyword of C# on MSDN I can't find any documentation on it there. Where can I find a list of functions or entry points into avifil3...

calling function from regular dll from c# - memory allocation issue?

Hi chaps(and chappettes) Have a regular C dll with an exported function int GetGroovyName(int grooovyId,char * pGroovyName, int bufSize,) Basically you pass it an ID (int), a char * buffer with memory pre-allocated and the size of the buffer passed in. pGroovyName gets filled with some text. (i.e. its a lookup basied on the groovyID)...

How do I intercept DLL load/unload events in a VB6 ActiveX DLL?

I've inherited a legacy classic ASP application that uses VB6 ActiveX DLLs to perform the business logic. I'd like to track the points at which the DLLs are loaded and unloaded. Is there any way of intercepting these events in a VB6 DLL? On a related note, should Class_Terminate events always run when a their containing DLL unloads? ...

Java DLL security general question

I understand that Java can load/execute DLL code, but I'm wondering if there are any security checks to prevent untrusted code from the system being called by a JVM. Couldn't this destroy the system -- are there any OS features that prevent this? Or can someone just write in Java itself some method that prevents untrusted code from being...

Create Visual Fox Pro DBF with activex

Hi, any one knows if there is a activex dll that can create VFP DBF files? I mean im writing app with 1C:Enterprise 8.2 language, and i need to export some datas into VFP DBF. And i can only use activex dlls in this language. Would be perfect to get free dll, but i can pay also if there is anything good. ...

C++ linker options for DLL (DEF, LIB, etc)

I have downloaded a library for the purposes of writing a program that can uncompress a RAR file. (http://www.rarlab.com/rar/UnRARDLL.exe) This supplies me with unrar.dll, unrar.h, unrar.lib and UnRDLL.def. I have copied the C example code and have tried compiling it with both Dev-Cpp and Eclipse. I don't have much experience using DLL...

What form is DLL & what makes it processor dependent

I know DLL contains one or more exported functions that are compiled, linked, and stored separately.. My question is about not about how to create it.. but it is all about in what form it is stored.. Is it going to be in the form of 0's & 1's.. or in assembly commands ADD, MUL, DIV, MOV, CALL, RETURN etc.. Also what makes it to be proc...

Problem statically linking MFC libraries

I have a Visual Studio 6 workspace I'm trying to convert to a Visual Studio 2008 solution. The output of said solution is a .dll. It has to be a .dll and it needs to statically link MFC as I can't redistribute MFC to existing customers. The solution consists of three projects, say A, B, C. C is the Active Project, outputs the .dll and...

How does .NET locate the dll of the namespace I'm `using`?

How does .NET locate the dll of the namespace I'm using? yeah, we do mention the path in /referene:c:\program files** but after building & deploying and when the software is installed on some user's machine. It may not be at the same path as I (developer) mentioned it would be. I mean it could be some where else right? So, how does .N...

Pyinstaller ld-linux-x86-64.so.2 linking problem

I'm trying to deploy my Python based application on another Linux host. Pyinstaller works flawlessly as long as I run the generated executable on my own system. On the target box I get this error message: /lib/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory As the output of ldd shows Pyinstaller links my ap...