|
by: Michael Tissington |
last post by:
I have a C# function that calls into a C++ DLL
I have placed the DLL in the 'bin' folder of my asp.net project
I'm using something like
However when I try to call the function I'm getting an error 'Unable to Load
DLL'
|
by: Jim |
last post by:
I am extremely frustrated. I am building c# application
for a call center and am using a third party API to access
some hardware. When develop and test my class using the
windows console the application runs flawlessly, but once
I call the class from inside a c# windows application the
program freezes, crashes etc...
there must be a way to make this work inside a windows app
as it run great as a command line app.
|
by: Irfan |
last post by:
Hi,
I tried the same, but did not get any such
error/exception. Here's my path to the win32 DLL that I
reference in my C# code with VS.NET 2003 and .NET
framework 1.1
public static extern Int32
TRACFSK_RegisterCaller(ref Int32 miCaller);
|
by: t_msreddy |
last post by:
Hello!
I am working on .NET compact framework. I have a device driver in
C/C++. I need to write a wrapper in C# for it.
So I used DllImport statements for all the methods that I want to use
and are there in the dll. I am unable to write a DllImport definition
for one of the functions defined in the DLL
Here is the Function prototype in dll:
DWORD WINAPI RFID_EnableTriggerCallback(HANDLE
|
by: Brian Anderson |
last post by:
Hello,
is it possible to use DllImport to call a DLL in ASP.NET ?
Or is it necessarry that my DLL has to be copied into \System32 ?
My DLL is a native C++ 7.1 DLL (not managed, no COM, no regsvr32) and uses
Assembler to make some math in SSE.
The result is given out as an Int.
Using a C# console app (code below) it work fine & fast.
|
|
by: A_StClaire_ |
last post by:
hi guys,
I am working on a C# app that needs to create directories on the fly.
security settings enforced by our ISP do not allow us to use the
standard .NET calls, so I am forced to resort to a DllImport of the COM
library 'msvcrt.dll'. however I am not familiar with calling COM
objects so I have questions...
1) how does the "destroy every COM object you create" rule apply here?
|
by: John Dinning |
last post by:
(Using VS2005 C# and compact Framework. Target device is running CE5).
I am creating a simple visual control (New Control Library project for smart
device Windows CE 5), derived from Label, with a couple of extra properties.
I need to call an external dll from this control, on a timer.
When I insert the declaration for the external dll function and build the
control project, strange things happen to any project that uses this
control.
|
by: Nelson R. |
last post by:
Greetings,
I've already posted this message on aspnet.security group (think its related
to security issues), but since didn't get any response, I post it here.
--
I have a problem, and been around it for some days without finding a
solution.
I have an aspnet 1.1 application that works perfectly on Windows XP, Windows
|
by: Larry |
last post by:
I have an asp.net application (C#) that calls a web service that uses
several c++ dlls which are loaded with DllImport. I put these dlls in a
sub-directory off of the bin directory. For example, lets say the web
service dlls reside in c:\<myservice path>. The imported dlls are in
c:\<myservice path>\importeddlls. Therefore, the DllIImport declaration
looks like this:
This is working fine for production. But when I try to debug, it...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|