Home
Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Newsgroups
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Newsgroups
Microsoft DotNet
Microsoft C# .NET
Return reference to Structure from unmanage Code
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mattias Sjögren, post: 7853058"] TB_BoardInformationBlock_Read(&mmBInfo); // allocate struct by using If you allocate the memory with operator new, you need to provide a function to delete it when you're done with it as well. Not sure. You have to verify that your managed struct declaration matches the native one, including things like packing. Mattias [/QUOTE]
Verification
Post reply
Home
Forums
Newsgroups
Microsoft DotNet
Microsoft C# .NET
Return reference to Structure from unmanage Code
Top