Hi all,
I have a DLL wich connects to a server through a single socket.
I am facing the following problem : If server's IP address & port are false or server is down, the application using this DLL freezes until half a minute.
My idea is to use non-blocking sockets to avoid that problem, by showing a window indicating connection progres...
I'm trying load a 3rd party DLL but I get an error when attempting to load it. Opening it in Dependency Walker shows that the DLL simply relies on kernel32.dll and msvcr90.dll. However, I get the following error in Dependency Walker when opening this DLL: Error The Side-by-Side configuration information for [full path to the dll that I...
I have a C++ class I'm writing now that will be used all over a project I'm working on. I have the option to put it in a static library, or export the class from a dll. What are the benefits/penalties for each approach. The only one I can think of is compiled code size which I don't really care about. Thanks!
...
Hi everyone,
I'm writing a little C# app that calls a few functions in a C++ API. I have the C++ code building into a DLL, and the C# code calls the API using DllImport. (I am using a .DEF file for the C++ DLL so I don't need extern "C".)
So far the API has one function, which currently does absolutely nothing:
bool Foo()
{
return f...
I want use the Scintilla controls and the RadControls for Winforms, but I do not know how to incorporate the files. They are in .dll format? How do I use the controls if they are in .dll format?
...
Hello,
I am a bit confused about wrapping a c++ dll in c#.
What kind of dll should i create? A normal dll or an mfc dll? Should i prefix every proto with "extern..." ? Should i write the functions in a def file?
My last effort was in vain, c# would crash with an error like "bad image format", which means that the dll format is not corr...
I have a VB.NET Project, and would like to, as with C# Projects, build and have dll files generated and dumped in the Bin/debug folder.
Currently, I have the project configured for ANY CONFIGURATION and ALL CPUS but when I do a build, I still do not have a bin folder or a debug folder containing a DLL. What am I missing here please? Tha...
I have a DLL and wan't to call it from delphi
extern "C" export_dll_function int RetScreen(int number, char** pbuffer, unsigned long* psize,
IMAGE_RESOLUTION resolution, float zoom, int dx, int dy);
[DllImport("API.DLL", EntryPoint = "_RetScreen")]
public static extern int pRetScreen(int number, ref byte[] pdata, ref long size, int re...
Given a file, I want to check if this is a DLL, or a shared object (Linux) or a dylib (Mac OS X), or something different. My main interest is differentiating executable and DLL on Linux and Mac OS X. For windows, the extension should be enough for my problem.
I already checked that the magic number technique doesn't work for Linux as ex...
I am making a C# DLL plugin for a EXE written in VB6. I do not have access to the source of the EXE. The DLL itself works and communicates fine with the EXE.
Here is the process for a event:
User issues command on EXE which then calls a function in the DLL, passing an object as a parameter
DLL processes data which sometimes takes a lo...
I'm trying to deploy a webservice, and everything worked fine, until I changed the version number of one of the referenced dll's.
The old version used to be 1.0.0.0 the new one is 1.0.0.1. This assembly is in the GAC (the SharePoint application also uses it) and in de bin folder of the webservice.
I have re-compiled the application mul...
Hi,
I have created one windows service, code is executing in different threading.
if i use dll with release mode some times i got clr error, and my service got stopped but it seems working with debug mode dll.
can u please tell me the reason behind it.
...
Hello, following my post "Writing a C++ DLL, then wrapping it in C#.", i managed to create a C++ DLL and wrap it in C#, and everything works smooth... Well, only on my dev machine. While the code compiles on other machines too, i just won't run.
Some background. I create a dll that uses cvblobslib that is based on opencv. I compiled all...
Hello,
In my current job i have to fix some issues in an old Access97-application. My last problem is this: Some reports are created with an external dll and sometimes the reports are wrong. They contain data from the previous call or the detail data is missing and so on. If i start the same report without any change on the data the rep...
In the registry and in theme files you'll notice a lot of references to DLLs when it comes to display names.
For example:
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default]
@="Windows"
"DispFileName"="@mmres.dll,-5856"
I've opened the mmres.dll file in PE Explorer, but I don't see any display names.
How can I retrieve the actuale d...
Hi everyone !
I'm stuck with calling an external DLL and passing a function (pointer) as parameter.
I've recently had different problem of passing some arguments to DLL and you helped.
Hope, someone know how to do this as well....
Here's function declaration in DLL (cpp) that needs to be called from Delphi:
typedef void (*PTR_Alloca...
Hello
Is there a way in Visual Studio 2005 to find all the references of a project?
I have a solution with multiple projects (dll's). When referencing in the project B the project A VS tells me that it can't add this reference, because of a "circular referencing".
However, the project A does not contain a direct reference to B. Appare...
i've an application which am trying to deploy in Window's Tomcat 5.5 - as an Axis Webservice. The application uses few DLL files, which I've placed the in the dir - $TOMCAT_HOME\common\endorsed\ and specified the same in the java.library.path.
But the DLL files are not recognized by the Tomcat. Following Exception is thrown:
java.lang...
I got a project named MyProject.Views and in this project I reference another project named MyProject.Models.
The MyProject.Models have a reference to Mysql.Data.dll. In the references option, the copy local is set to true.
My problem is I have to manually add a reference to MySql.Data.dll in the project MyProject.Views. Which I think ...
I am trying to build a DLL and it needs to reference a library namely libeay32.dll from the openssl package. I cant seem to add it as a reference under the Property Pages->Common Properties->Add New Reference because it gives error "Could not add a reference to file 'C:\OpenSSL\libeay32.dll' because it is neither a .NET assembly or regis...