dll

Protecting DLL's

Hi All Quite a few people have really taken interest in the dll's ivé sent them, and they're not the type that should be given away for free too often... I was just wondering, if I were to sell my components, user controls etc, how would I go about protecting them, in terms of ownership/encrypting code (if possible) etc.. What steps ha...

Use one single DLL library to import other libraries at runtime

I am writing a Win32 DLL library that can be redistributed. I am using different versions of the windows API because I want to support Windows 7 functions, but still have support for Windows 2000 (with some function disabled). What I have currently is MyLib2000.dll, MyLibXP.dll, and MyLibVista.dll, and my application chooses which librar...

Is ther any DLL or DLL like concept in Android?

Hello, We know that we can use a concept "Java Package" but I just wanted to know that whether Android has provided a DLL or DLL like concept where we can write a most of the functionality. Or can we use Activity for serving a purpose of DLL. Can any one tell me is there any concept like DLL on Android OS? Can we develop a DLL for b...

Regular DLL using: MFC Shared vs MFC statically linked

When we create a DLL using Visual studio (VC8 or 9), we get an option as create Regular DLL using MFC as shared DLL or using MFC as static library How are they different? Which one is advisable to use? ...

access DLLs with java script

I need to read the serial port as an input for a web based applicaton. I know that the browser can't do it, but if I build an DLL and send it to my client, can I access this DLL and read de serial port with an java script or i will need something like ActiveX? ...

License problem embedding Mono?

I'd like to embed Mono into an .exe file but the problem is the license, because a LGPL library can only be linked with LGPL code. However, I'd like to build a commercial app, so I ask if is possible to use a stub that launches a DLL version of the Mono runtime and executes my app. Or do you know a better way to do this? I need a cross-...

How to run a COM .dll on a remote server?

I have a legacy 3rd party COM .dll that is used to provide an Excel-callable interface to a proprietary database product. The .dll runs on the same physical machine as Excel. I have a need to execute the .dll (and the database it is calling) on a remote server while still maintaining simple Excel callability from the client. I'm total...

Issue using Visual Studio 2010 compiled C++ DLL in Windows 2000

I have a very simple DLL written in unmanaged C++ that I access from my application. I recently switch to Visual Studio 2010, and the DLL went from 55k down to 35k with no code changes, and now it will no longer load in Windows 2000. I didn't change any code or compiler settings. I have my defines setup for 0x0500, which should include W...

How to use WINAPI from newer SDK but still using the old SDK in WindowsMobile.

Specifically, I want to use Point-to-point Message Queue but because I am still using legacy codes in eVC++ 4 and it only support until PocketPC 2003SE SDK, I cannot find CreateMsgQueue and friends in the headers (the port to newer VisualStudio is still in progess) I am using the Message Queue to do IPC with apps developed with WM-6.5-D...

Pass a Delphi class to a C++ function/method that expects a class with __thiscall methods.

I have some MSVC++ compiled DLL's for which I have created COM-like (lite) interfaces (abstract Delphi classes). Some of those classes have methods that need pointers to objects. These C++ methods are declared with the __thiscall calling convention (which I cannot change), which is just like __stdcall, except a this pointer is passed o...

.net3.5: xml file should not be part of dll?

I dont want xml files to be part of dll. I want to change xml files after deploying dll on production.What shd i do? ...

Performance impact using culture invariant resources

I would like to know the performance impact of using the culture invariant resources instead of culture specific ones. For example, we plan to deploy a website and not have any en-US resources. This is because our culture invariant resources are always identical to the en-US resources. Is this a good idea ? What are the cons? ...

DLL response is too slow in Visual Studio [Resolved]

I use a 3rd party DLL in my VB.NET project (VS2005) that responds to slow and give wrong values in debug mode. In run-time mode everything works as expected. I do understand that there are something going on in the debug mode which makes the DLL communication slow. This behavior makes it hard to debug the application correctly. Is ther...

Implicit linking vs. explicit linking of DLL in Delphi

I'm having trouble getting my dll to work when using explicit linking. Using implicit linking it works fine. Would someone google me a solution? :) No, just kidding, here's my code: This code works fine: function CountChars(_s: Pchar): integer; StdCall; external 'sample_dll.dll'; procedure TForm1.Button1Click(Sender: TObject); begin ...

c# with matlab dll should be running on pc without matlab

hi, i have a very big problem. ich wrote a programm which is using a matlab dll. i build some classes with the matlab .net builder. it runs on my pc :) the problem is, i want to use ist on a pc without matlab. so i installed mcr, but it dont run :( what are the steps i should do? the system variable path is right... where i have to ...

Linking win32 dll in Qt

Hi, I want to reference a win32 dll from my Qt application. I've added the dll location in the .pro file at "LIBS+=" . Once that is done, by right, i should be able to include the .h file inside the dll from my application. But i'm unable to do so. I'm testing with the dll here: http://www.flipcode.com/archives/Creating_And_Using_DLLs.sh...

Loading a dll from a dll ?

What's the best way for loading a dll from a dll ? My problem is I can't load a dll on process_attach, and I cannot load the dll from the main program, because I don't control the main program source. And therefore I cannot call a non-dllmain function, too. ...

References from C# Class project not being included in .dll output

I need to expose a third party vendor's web service internally on my network. The reason for this is the third party web service requires some custom header information which means it cannot be called from SSRS. Here is what I have done: Took the WSDL files from the vendor (only available offline) and created .dll files (we will call...

Load two instances of the same DLL in Delphi

Here's my problem: I would like to create two separate instances of the same DLL. The following doesn't work because Handle1 and Handle2 will get the same address Handle1 := LoadLibrary('mydll.dll'); Handle2 := LoadLibrary('mydll.dll'); The following works, but I have to make a copy of the DLL and rename it to something else (wh...

Sys. engineer has decided to dynamically transform all XSLs into DLLs on website build process. DLL name conflicts / app broken / "DLL Hell". Help needed.

Hello, OS: Win XP. Here is my situation. I have a browser based application. It uses ASP.NET. Programmers can build custom controls for ASP.net (aspx) in the form of DLL files. Previously, our architecture was HTML/XSL -> aspx -> proprietary middle tier -> aspx catches response from middle tier in XML format -> xsl. Our "Systems Engi...