dll

ASP.NET dll on .jsp page

Is it possible to build a .dll created from a class library in ASP.NET and use it's functionality on a .jsp page? I know how to create the .dll, but I am not very familiar with .jsp pages. If you could provide an example of the entire .jsp page, that would be great. Thanks! Edit: I guess what I'm trying to say is that I made a new pr...

Can I embed other files in a DLL?

I'm writing a plug-in for another application through an API. The plug-ins are distributed a DLLs. Is it possible to embed other files in the DLL file like pdfs, images, chm help files etc... I want to be able to provide documentation with my plug-in but I'd still like to retain the ability to distribute the plug-in as a single file the ...

C# - Set Custom Path to Referenced DLL's?

I've got a C# project (call it "MainProj") which references several other DLL projects. By adding these projects to MainProj's references, it will build them and copy their resulting DLL's to MainProj's working directory. What I'd like to do is have these referenced DLL's be located in a subdirectory of MainProj's working directory, i....

GDB can't load dll

I am running windows 7 x64. I recently just set up mingw and gdb on my system. While it appears the debugger works every time I load a app into it I get the following error. Error: dll starting at 0x771c0000 not found. Anyone know what is up with this? ...

ShareMem/ string-exchanging with Delphi DLL

Quick one I hope - I'm just about to delve into a Delphi 5 legacy app that makes calls to a DLL (also written in D5), passing a string which the DLL can modify if required. I have the code to both the DLL and the app. Pasted right at the top of the DLL source is a remark about using ShareMem, and it needing to be the first line in the ...

Acessing DLLs in VB.NET

Hi, I'm not that good with VB.NET yet and I'd like to learn about API's and external DLL files. Perhaps someone can post some sample code with explanation/comments or point me to some tutorials. ...

How to add manifest to a .NET DLL?

I have a c# class library project that uses a COM dll registered on the system. I now want to deploy the COM dll as a side-by-side assembly, so I don't have to register it, or interfere with other applications that might use a different version of the dll. I have added app.manifest to the c# project using the add new item menu, but I'm ...

Transitioning from desktop app written in C++ to a web-based app

We have a mature Windows desktop application written in C++. The application's GUI sits on top of a windows DLL that does most of the work for the GUI (it's kind of the engine). It, too, is written in C++. We are considering transitioning the Windows app to be a web-based app for various reasons. What I would like to avoid is having...

CUDA: Getting linking error only in device emulation mode

I am compiling a dll which goes just fine unless I use the -deviceemu mode. In this case I get several of the following linking errors: CUDAKernel_ColourHist.obj : error LNK2019: unresolved external symbol ___cudaMutexOperation@4 referenced in function ___uAtomicAdd 1>CUDAKernel_1.obj : error LNK2001: unresolved ext...

Why not call FreeLibrary from entry point function?

I'm writing a DLL that needs to call a separated DLL dynamically multiple times. I would like to keep the callee loaded and then just unload it when my DLL is unloaded. But according to Microsoft, that's a bad idea. The entry point function should only perform simple initialization tasks and should not call any other DLL loadin...

Problem assigninging values to a struct in C++ to a structure passed from C#

I have a function in C# that is passing an array of structures into a DLL written in C++. The struct is a group of ints and when I read out the data in the DLL all the values come out fine. However if I try to write to the elements from C++ the values never show up when I try to read then back in C#. C# [StructLayout(LayoutKind.Sequent...

Compiling a static lib inside a exe

I have a dll and an exe, both of which I have the sources to. For the DLL I have compiled completely statically and therefore, I would assume that the the .lib is also static. However, when I include that lib in my C++ VC++ 2008 project under Linker > Input > Additional Dependencies . I set the compile mode to /MT (multi-threaded) for t...

How to bind c++ dll to my C# program - winCE

hi i need to bind C++ dll to my C# WinCE program. (scanner dll) how i can do it ? thank's in advance ...

Scanning DLL dependencies from a C# executable

Hi there, I work on a parallel build tool which builds (among lots of other things) windows programs of various types. One part of our tool which makes life alot easier for our users is the automatic dependency scanning of EXE and DLL files. This means that if a user says they want to run "bob.exe" for example, they don't have to worr...

Is it possible to associate an IronPython asp.net webform to a dll file?

In ASP.NET with the normal ASP model you could have the codefile of the aspx file in a dll by inheriting the class inside the dll. In IronPython you have another model and the only option in the aspx page is "codefile" and there is no "inherits". My question is, is there any way to associate an aspx file to a source file which is not dir...

How to find out API functions of DLL files?

Is there a way to get all the API (Export) functions from a DLL file? I know that programs such as Depends and PE Explorer can do that but none of them retrieve the argument list. ...

Can't compile with zlib dependency on Windows?

I'm trying to port a program that uses zlib to Windows with MSVC. Unfortunately, though, after many hours of trying I can't seem to get anything referencing zlib to run. Here's a dummy program I'm using to test whether zlib can run: #include <zlib.h> #include <stdio.h> int main(void) { z_stream zst; zst.zalloc = Z_NULL; zs...

Getting WPF in VC++

Hi, I created WPF as C# dll.And i loaded that dll in one of my VC++ dailog. The dialog appears half black,then from half of dialog shows my cotrol as half. Whats my mistake.How can i do that. ...

help: Call C# winforms dll from VB6 project?

I have a VB6 project(windows application) and I have to redevelop a module in the existing VB6 project in C#.net. The module that I develop in C#.net should be a dll and should contain some windows forms. I was able to successfully call a c# console applicaiton dll from my vb6 project but I am facing issues when i try to call a C# clas...

Import a DLL with C++ (Win32)

How do I import a DLL (minifmod.dll) in C++ ? I want to be able to call a function inside this DLL. I already know the argument list for the function but I don't know how to call it. Is there a way of declaring an imported function in C++ like in C# ? ...