Click here to Skip to main content
15,915,336 members

Comments by Robert Ammon (Top 1 by date)

Robert Ammon 30-Nov-10 0:38am View    
Actually, what I have is the reverse of what you have described. I have a pointer to unmanaged memory returned from a call to unmanaged code and I want to "map" a C# structure declaration to that memory and access it via a pointer. If possible, for performance reasons, i would prefer to not marshal the data from unmamanged memory to managed memory. What I would like to do is use the point returned from unmanaged code to access data in unmanaged memory in C#.