dll

MFC Fail to Load Dlg from DLL

I have installed in my PC VS2008 and Windows Mobile 6 SDK. I have made a SmartDevice MFC application and a Regular DLL MFC, both uses shared MFC DLL. But when I called DoModal() of the DLL the application hangs, show a "Debug Assertion Failed" message and freeze my device. Can you help me? Codes: The EXE code: typedef BOOL (CALLBA...

Browse VC6 DLL variables content (DEBUG)

Hi, I'm trying to debug an old VC6 dll, I manage to go through the code but unfortunately my vc9 debugger doesn't show the content of the variables in the dll. (browsing info I guess) I manage to see the content of my dll when I debug it in VC6 but I would prefer to be able to debug in the same time as my managed code. Maybe I'm miss...

Call C DLL function from C# - convert char parameter to string

Hi all, I'm trying to call a method from a DLL written in C, from my C# application. Here is how I've implemented the call: --> C method signature: (from a third-part company) Int16 SSEXPORT SS_Initialize(Uint16 ServerIds[], Uint16 ServerQty, const char PTR *Binding, const char PTR *LogPath, Uint16 LogDays, Int16 LogLevel, Uint16 MaxT...

IE: Reusing the same instance of ActiveX

I have written an ActiveX COM Dll, which is used in webpage. It exposes 2 functions say Connect, Disconnect and 2 events. In Connect method, I have created an instance to another class, lauches 2 threads one for Receiving Events and one for HeartBeat(HB). In the Disconnect method, I am disconnecting the Socket, (if connecting Socket is v...

python ctype recursive structures

I've developped a DLL for a driver in C. I wrote a test program in C++ and the DLL works fine. Now I'd like to interract with this DLL using Python. I've successfully hidden most of the user defined C structures but there is one point where I have to use C structures. I'm rather new to python so I may get things wrong. My approach is t...

How to create a form in dll?

Hello all friends..... How to create a form in dll. ...

How to create a cross-platform DLL in .net

I have a interesting problem: Where I work we've built a home-grown ERP system in VB6 that we are slowly moving over into vb.net. There are some projects have are in .net: we have a hand-held C# project that uses a web service to talk to our database, I've built some reporting screens using Crystal and some smaller maintenance screens. ...

C# versioning of references for a console application

Hi all, I've built a console application that references version 4.3.2.1 of another dll we've built. It worked fine and did its job. Then version 4.3.2.2 of the dll is built, and the console application starts to die becuase it wants to see 4.3.2.1. Is there any way to tell the console application to use 4.3.2.1 or higher? The metho...

Problem deploying Telerik RAD Controls for ASP.NET AJAX (UpdatePanel)

Should we be able to just reference the Telerik DLLs within our project, set the Output Local to TRUE and be done with it? Things work perfectly on our development machines where we installed the entire Telerik Control Suite but when we deploy, we have a problem in which Telerik controls within UpdatePanels don't seem to be firing event...

Is it allowed to link rtti enabled DLL within rtti disabled application?

I have a solution to build a DLL with run-time type information enabled in its project properties. This is the default (/GR) in Visual studio 2005. In our library we have a good few dynamic_casts, so I'm not able currently to build the DLL without run-time type information. Now my customer is using development tools from Dassault Systèm...

C# class wrapper for a distributable dll

Hello, I have a C# library that I'd like to make distributable with a wrapper dll that provides a bit more functionality than the class itself. I'd like to be able to create an object from the class library and use it with the wrapper dll in another project like so: class Program { static void Main(string[] args) { var ...

Excel mouse focus weirdness

I have a class based on CSocket in a DLL which has various threaded buffers for holding the incoming stream. I have a couple of applications with which this works perfectly, using a timer to poll the buffer to see if anything is there to be pulled out and then displayed. Now I've got the timer in some VBA code, a macro if you will, in a...

Should destructors be exported in Windows DLL Libraries?

Hey guys another quick question here that got me thinking. In generating windows dll dynamic libraries, you are asked declare which functions should be exported so that some functions maybe left private to the dll and not accessible by other applications. I haven't seen anything mentioned regarding whether destructors need to be export...

AccessViolation when using C++ DLL from Delphi

I have a weird problem trying to use a DLL written in C++ from a Delphi (Turbo Delphi 2006) program. When I run the Delphi program (see below) from the command line, everything works fine. Also, when I run it from the Delphi environment without debugging (CTRL+SHIFT+F9), everything is fine. However, when running it with debugging (F9), ...

Website binaries in asp.net website project?

I hate to ask such a stupid question but i couldnt find the answer on Google. I can successfully build a large website project with lots of asp.net code but i dont know where the binaries are being kept so i can upload it a development server. I checked the bin folder but and they only seem to contain library dlls. ...

No methods showing up from imported Type Library in Delphi

This is what i am doing: I am currently required to open and use a .NET assembly in delphi. The Assembly that i am trying to use also has an assembly of objects it is using. I was able to use regasm to create a type library for the main assembly. I was also able to assign a SN and register it with the GAC. Now when i try to import the ...

Fast C++ program, C# GUI, possible?

Hello everyone... I'm looking into developing an application that will process data from a line-scan camera at around 2000 lines (frames) per second. For this real-time application, I feel that C/C++ are the way to go. (It is my feeling, and others will agree that Managed code just isn't right for this task.) However, I've done very ...

ASP.NET Website DLL: Debug vs. Release version

Hello, When uploading my ASP.NET web application .dll file to my website's /bin/ directory, are there any disadvantages to using the debug version as opposed to recompiling a release build. For example, while working locally on the website, the build configuration is set to Debug. When things look good, I go ahead and upload the latest...

Explicit Loading of DLL

I'm trying to explicitly link with a DLL. No other resources is available except the DLL file itself and some documentation about the classes and its member functions. From the documentation, each class comes with its own member typedef example: typedef std::map<std::string,std::string> Server::KeyValueMap, typedef std::vector<std::...

changing a dll manifest

I got a complete vs2005 project from our sub-contractor, which depends on several of their other projects. I didn't get those projects' source files, but I do have their dlls in the bin/debug folder (lets call them a.dll and b.dll). I copied those dlls into a \lib folder, and changed the references to point there. The problem I have now ...