dll

How do I increase the stack size in python

I have a python program that uses a custom-built DLL. This DLL crashes due to a stack overflow. This overflow is not due to a recursive function gone bad, but to large allocations on the stack using alloca(). I want to increase stack size to get rid of this error. Is there any way to do this? ...

Using ASP .NET 3.5 Themes with Embedded Resources...

I'm curious if this is possible. Let me give you an idea of how we're using theming and why we want to use a single resource dll to fetch resources. We currently have an App_Themes directory with our main (and only at the moment) theme. Call it MainTheme. We're using a third party control suite (Telerik) and have several customized C...

wxWidgets socket events in a DLL

I'm working on a project that is using wxWidgets sockets in a DLL and I'm getting odd behaviour. I'll go through the problem from the top and drill down. I apologize if I've provided too much (or too little) information; I've tried to prune down the excess. First, the odd behaviour: The server is created, and my client connects to it. ...

Help getting the 'Windows Input Simulator' C# interface working

This looks perfect for what I'm trying to do. I need to stop mucking around with SendInput() and let someone else do it for me! http://inputsimulator.codeplex.com/ The problem is there's no documentation for getting the code working as simply as it does on the home page there. Can someone help me with the 'other code' I need to have in...

Load a DLL and Its Dependencies

How do I load a dll and its dependencies? I don't want to place each of the dependent dlls in an Assembly.Load. I'd rather just load the one dll and then the dependencies are loaded. The above dlls aren't loaded when my application launches. They are only loaded when a user does a specific action, which then freezes the gui. A worka...

stopping dll loop

I have a multi-thread C# application that uses some recursive functions in a dll. The problem that I have is how to cleanly stop the recursive functions. The recursive functions are used to traverse our SCADA system's hierarchical 'SCADA Object' data. Traversing the data takes a long time (10s of minutes) depending on the size of our ...

How to find dll loaded by a process in AIX?

How to find which dynamic libs .so are loaded currently by a process, also those dll are dynamically loaded with dllopen. I want to debug a process to find out which libs its using currently. ...

Package library in the final exec file

I'm developping with visual studio 2008 and I use several project library used by several application project. There is also external dependency. When I distribute the program, all the DLL appears in the program files folder which would make very easy to hack my program. Is is possible to bundle all the project library into one exec fil...

web.config authorization and direct method calling

Hey everyone, I'm using ASP.NET and rely on the web.config file to secure sections of my site. However, is this truly reliable, or is it also a good idea to add an IsAuthenticated check in the Page_Load event? Also, is it possible for someone to directly call methods (assuming they somehow got my method names and method signature) in m...

Can not reference a Dll that worked earlier.

I am trying to change the Terminal Services settings programmaticly. I learned that you must use tsuserex.dll. Being c# i ran tsuserex through tlbimp and created TSUSEREXLib.dll then registered it with regasm. I got it working and wrote a framework program with it as a prof of concept. However today after I made some changes when I run m...

Can C++ export class from DLL

I would like to know if the export of class ( __declspec(dllexport) in VC++ ) is a kind of standard ( ANSI , ISO , ... ) I would like to know if someone has already try to do the same with intel c++ compiler and gcc ( mingw on windows ) and if it is possible to mix dlls generated from different compilers ( I really doubt that it is possi...

implicit linking DLL question

I started studying DLL's with implicit linking. I don't really fully understand how it works. Please correct me where I'm wrong. I failed to compile the next code(3 modules): MyLib.h #ifdef MYLIBAPI #else #define MYLIBAPI extern "C" __declspec(dllimport) #endif MYLIBAPI int g_nResult; MYLIBAPI int Add(int nLeft, int nRight); ...

Computational Geometry open source lib

hello, does anyone know an open source c# dll for Computational Geometry. ...

How to configure .dll file in Java?

I am using Jacob jar file in my java application. This Jacob jar file comes with a .dll file. I have added Jacob jar file to my classpath. But when I execute my application a runtime error occurs as "couldn't load jacob-1.15-M3-x86.dll file" How can I load this .dll file? Edited:=====================================================...

ASP.NET MVC 2 System.Web.Mvc.dll conflict

I have installed the ASP.NET MVC 2 RC and opened the default "example project", but get the following error: Parser Error Message: The type 'System.Web.Mvc.ViewMasterPage' is ambiguous: it could come from assembly 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mvc\2.0.0.0__31bf3856ad364e35\System.Web.Mvc.dll' or from assembly 'C:\Doc...

Export c++ functions inside a C# Application

Greetings, I am sorry for bothering, I'll show the question: I am trying to export some functions written in c++ in a DLL in order to import them in a C# Application running on Visual Studio. I make the export as reported in the following code, tobeexported.h: namespace SOMENAMESPACE { class __declspec(dllexport) SOMEC...

How to make C++ wrapper of C# DLL COM InterOp method?

I have a C# COM DLL and I want to call its methods throught c++ methods. How do I make this? ...

How to send unmanaged function pointers from dll to another unmanaged function in other dll through managed code?

Hi! I have this problem, which I am dealing with for some time already. At start, I have two dlls with unmanaged code (let's say... dll_1, dll_2) and managed aplication in c#. What i'm supposed to do is to get pointers to unmanaged functions in dll_1 in managed code, pack it into structure, and send this structure as an argument to unman...

Extract icon from executable that's in memory

Does anyone know an API function to extract an icon resource from an executable file that's in RAM (inside, say, a MemoryStream)? All of the icon-extracting functions I've seen so far depend on the executable file being present on disk. I'd like to extract the icon without having to write the exe to a temp file, and then loading the re...

How to reduce the size of vendor dlls from each ClickOnce updates?

Hello, Is there a way to reduce down the size of each ClickOnce updates? Each update included all the custom verdors dlls (eg. Telerik, NHibernate etc) and is there a way to only include with 1st initial install and not include in later updates? I only want the latest updated application dlls and .exe in the ClickOnce update file so th...