by: Ken Allen |
last post by:
The documentation is not clear on the exact behaviour of the
Marshal.PtrToStructure method and whether it copies the contents of the
IntPtr region to a new managed object or whether it creates the...
|
by: Andre |
last post by:
Hi,
I have a question about Marshal.PtrToStructure method.
I have a function Func() in unmanaged C++ which returns a pointer to a
structure Str which is held on the unmanged site:
Str* a =...
|
by: John |
last post by:
public const int FRAME_LENGTH=144;
public class FRAME_T
{
public byte Block = new byte; }
public void MyDataHandler(IntPtr appContext, IntPtr data)
FRAME_T frame = new FRAME_T();...
|
by: Mateusz [PEYN] Adamus |
last post by:
Hi
First of all please let me know if there is some other, more suitable
group for this news - TIA :-)
Now, my problem. I'm writing an C# application in which I'm using some
functions from...
|
by: C Learner |
last post by:
Hi,
I have an application which is using a dll written in C++.
When the program go to the function below, it would raise an
NullReferenceException at the line of PtrToStructure.
public bool...
|
by: Jay |
last post by:
Hi,
In my application, C++ dll is posting some message,which is processed
by a form in C# ,where I use Message.Lparam to convert it in structure
using Marshal.PtrToStructure() mehtod ,but it...
|
by: spamacon |
last post by:
Hello,
I have a strange situation using .Net FW 1.1. I want to use
Marshal.PtrToStructure to fill the structure below. The first 3 fields
get filled correctly: ulStruct describes how big the...
|
by: P Laxmi |
last post by:
I have following two structures in
vc++ and i want to convert it into c#
typedef struct
{
ULONG CallRef ;
ULONG CallSource ;
ULONG ...
|
by: carles |
last post by:
Hi,
Here, sample code where a byte array is used to fill a particular structure:
fs = File.OpenRead(path); // FileStream
BITMAPFILEHEADER bfh = new BITMAPFILEHEADER();
b = new byte;
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|