TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Daniel Passwater
NA
7
7.9k
Problem Marshalling struct from C# to C++ void*
Jun 6 2012 1:36 PM
I'm working with legacy code base that has some C++ that's been converted to managed. I'm inheriting my C# class from the C++. I'm overriding a function that makes a call to a function that's signature contains a void* as a parameter. I can't seem to find anything in C# that matches it. (I've tried several things, including IntPtr and ref.)
C++
WriteStructure( String path, void* structure, unsigned int size )
Does anyone have a suggestion?
Reply
Answers (
7
)
Arrays
Why do I need to instantiate object?