by: Carlos Guzmán Álvarez |
last post by:
Hello:
I'm trying to execute a function of a unmanaged dll using PInvoke, i
have definied the function as:
public static extern int isc_dsql_prepare(
int status_vector,
ref int...
|
by: Adam Clauss |
last post by:
I am using PInvoke to call a function from a native C library.
As one of its parameters, it takes an array of strings in the form of char**.
I put the call into an unsafe block and created my...
|
by: Frank Rizzo |
last post by:
Hello,
My c# based windows service takes a while to dispose. I have to release
bunch of resources all over the place and unfortunately it can take
20-40 seconds before I can cleanly exit.
...
|
by: brian_harris |
last post by:
I have a 3rd party unmanged .dll. This has functions that will look up
information and fill a C string passed to it with data. I want to use this
data in .NET classes after it has been filled and...
|
by: bsma1 |
last post by:
I'm writing a web service that makes calls into a C DLL. I've been
able to make most of the calls work except for one that returns a
string via a char* passed in as a parameter. Here's what I...
|
by: gregarican |
last post by:
A couple of days ago I was debating about whether to use C++/CLI or C#
2005's PInvoke in order to tie in my VS 2005 app with a legacy
csta32.dll file. So far I have tried to call one method out of...
|
by: Beorne |
last post by:
I have to call a c++ library funtion returning a string with the
following signature:
char *get_identifier();
Usually when I have to marshal a function with a char* output
parameter I do:
...
|
by: gudguy |
last post by:
Anyone kind enough to flex their brain muscles on creating a PInvoke signature for the following C++ codes to Manage Extension for C++ or C++/CLI:
1.
typedef void (CALLBACK *Image_CALLBACK)(DWORD...
|
by: eastlands |
last post by:
I need to use an unmanaged c++ dll which uses structs that contain callbacks and also functions. I have included the appropriate c++ definitials and my c# translations below.
I first defined the...
|
by: =?Utf-8?B?SmVzc2ljYQ==?= |
last post by:
Hello,
I have a pInvoke question.
This is the C function that is exported from one of the C dll,
extern __declspec(dllexport) IM_RET_CODE ST_import (IM_MODE mode,
char *filename,...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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,...
|
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...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|