dll

How can i send HTTP requests and recieve responses using a DLL?

hi, i am a metatrader developer. it has it's own script language which is similar to C in syntax. one of it's most advantages is that it let you include some dll and use it's functions. now, i want to send and receive HTTP requests. which DLL should i use and how? in PHP context i always use cURL library. does it have any DLL that coul...

Alternative to Matlab

I'm looking for some environment that fulfil all conditions below: is free or have free student's licence enables to make dll that can be used in C# in Visual Studio 2010 has very good performance on matrix calculations has good documentation or examples/tutorials It does not have to be compatible with Matlab. ...

Not able to add dll in VS2010

Hi, I am trying to add the following dll as reference in the VS2010. but it keeps throwing the "Please make sure it is a valid assembly or com" error. When I tried to register the dll using regsvr32, it says "Not able to find an entry point". Can you please let me know how to make it work? The dll can be downloaded from Here The examp...

Build each namespace a .dll file when build an ASP.Net project

Hi all, how to make each namespace a .dll when build an ASP.Net project? ...

Pinning a Structure to avoid AccessViolationException

Hi, I am calling an function from a DLL which is loaded run-time (Using LoadLibrary()). This DLL is written in C++ and my code is in C#. API requires Structure Pointer. I am passing "ref" instead of Pointer. While doing this, I getting "AccessViolationException". After 3 days of Googling, I think the problem could be solved by Pinning ...

The requested database 'abc' is not defined in configuration.

Hi there, I create a new console application with using C# and then added my dll to my project's references. My dll has a DB class which has static properties. public class DB { public static Database db = DatabaseFactory.CreateDatabase("ConnectionStringName"); } When DB class's properties call, it throw an exception that i...

How to access and understand old dll from C#

I have been given an old dll and the assignment of accessing it through C# .NET 3.5. I believe the dll was originally built with VB6, but am not positive. There is no documentation or source for the dll aside from an example for how to use the it in VB6. I have been able to succesfully access it through VB.NET 3.5. Example code for acces...

How to use inherited DLLs in Sub-applications

Context: I have an application which handles login/authentication as a root website in IIS7. In this website, I would like to have sub-applications which all use the same HttpModule, which is defined in the root site's dll. At the moment, I obviously get the "Could not load file or assembly 'CompanyName.Namespace' or one of its depende...

How to make a DLL in VB 6.0 , please write steps please please.....

How to make a DLL in VB 6.0 , please write steps please please..... ...

Is rebasing DLLs (or providing an appropriate default load address) worth the trouble?

Rebasing a DLL means to fix up the DLL such, that it's preferred load adress is the load address that the Loader is actually able to load the DLL at. This can either be achieved by a tool such as Rebase.exe or by specifying default load addresses for all your (own) dlls so that they "fit" in your executable process. The whole point of ...

accessing methods of a dll

how to access the methods of a dll in .net using c# ...

What when assembly.GetReferencedAssemblies returns ".exe" dependency ?

Hi all, there is a lot of examples how to load all dependencies from some assembly like: var assembly = Assembly.ReflectionOnlyLoadFrom(assemblyPath); foreach (var assemblyName in assembly.GetReferencedAssemblies()) { try { Assembly.ReflectionOnlyLoad(assemblyName.FullName); } catch { Assembly.ReflectionOnlyLoadFrom(Path.Co...

Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page.

How to Resolve following Error in .net Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page. ...

What is difference between registering a dll to ISA server using regsvr32 and manually updating the system registry?

I have scenario where I need to add a dll to ISA server. I have two options, either to use regsvr32 or manually update the system registry. I don't have much idea about how regsvr32 will register the dll. Please let me know what should be proper/cleaner way to register the dll. TIA Anil ...

fatal error LNK1107 when generating lib file from vlc dll.

Hi, I followed the instructions on this site http://wiki.videolan.org/GenerateLibFromDll for generating a lib file from a dll. The def file is created fine and I have editted it as suggested but when I try to generate the lib file I get the LNK1107 error for an invalid or corrupt file. Any help would be most welcome. Regards ...

CS-Script "Could not load file or assembly"

I'm using CS-Script (link: http://www.csscript.net/) to compile a script file. According to their documentation, I'm doing it right. new AsmHelper(CSScript.Compile("test.cs"), null, true); However at runtime, I get: Could not load file or assembly 'file:///C:\Users...\CSScriptLibrary.dll' or one of its dependencies. Operation...

How can i use connection strings from class lib's App.config?

Hi there, I have a class library and my other projects are using it. And also i have some connection strings. i want to use them from just class lib's App.config file. But when i use ConfigurationManager in my class lib for reading connection strings, program looks my current project's App.config or Web.config files. How can i use con...

call VB 6 function from Java

I'm using JACOB to call VB function from dll file the function on VB : VARIANT_BOOL GetGeneralLogDataStr([in] LONG dwMachineNumber, [out] LONG* dwEnrollNumber, [out] LONG* dwVerifyMode, [out] LONG* dwInOutMode, [out] BSTR *TimeStr); I try to call it with java : Dispatch dispatch = new Dispatch("zkemkeeper.ZKEM.1"); Long a = new Lon...

delphi exe and dll without build with runtime packages

For my last project i was using many frames in my delphi application ,so i dicided to create dlls and put them inside the dlls(ALL created in Delphi) i have gone through many websites and came up with the code that works but for that example i have to compile both apps and dlls with build with runtime packages which means i have to dist...

how to load delphi tframe from dll to delphi application

i have created a dll with tframe . how can i load it inside my application, i dont like to use bpls , i only want to destribute exe and dlls with my app ...