Re: How to define Structure like C in VB
From: Bob O`Bob (filterbob_at_yahoogroups.com)
Date: 03/01/04
- Next message: Hapticz: "Re: How to retrieve the milliseconds part from a Date variable?"
- Previous message: Phil Hunt: "Re: urgent DLL help ( DAO/JET)"
- In reply to: Mike D Sutton _at_ Work: "Re: How to define Structure like C in VB"
- Next in thread: vbgnr: "Re: How to define Structure like C in VB"
- Reply: vbgnr: "Re: How to define Structure like C in VB"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 01 Mar 2004 09:31:25 -0800
Mike D Sutton @ Work wrote:
> You'll need to declare a UDT that has the same structure as the structure you're
> receiving and use RtlMoveMemory()/CopyMemory() to
> write the data you receive from SNMP into it.
In almost all cases of moving data to/from UDT instances,
VB's intrinsic LSet can be made to work just fine.
Bob
-- looking for work again <http://obob.com/bob/resume/>
- Next message: Hapticz: "Re: How to retrieve the milliseconds part from a Date variable?"
- Previous message: Phil Hunt: "Re: urgent DLL help ( DAO/JET)"
- In reply to: Mike D Sutton _at_ Work: "Re: How to define Structure like C in VB"
- Next in thread: vbgnr: "Re: How to define Structure like C in VB"
- Reply: vbgnr: "Re: How to define Structure like C in VB"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|