by: William Stacey |
last post by:
The following code works, but I can't figure out why. I take a struct with
two members, a single byte and byte. I then marshal the whole struct to a
byte. I create a new struct (without init'ing...
|
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: 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: dhornyak |
last post by:
I have been banging my head against the wall for a while now, and can't
seem to id the problem. I've been through a ton of posts and the code
doesn't seem any different. Can anybody see it?
When...
|
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: krascso |
last post by:
Hi everybody.
I have a structure in unmanaged C++:
struct TLogonParams
{
char name;
char pswd;
char alias;
|
by: O.B. |
last post by:
When using Marshal to copy data from a byte array to the structure
below, only the first byte of the "other" array is getting copied from
the original byte array. What do I need to specify to get...
|
by: Charming12 |
last post by:
Hi All,
I have a strange problem and due to my inefficiency with IntPtr i am unable to figure it out.
I have an structure something like:
public struct Detail
{
public int age;
public...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|