Jump to content

Talk:Platform Invocation Services

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dthomsen8 (talk | contribs) at 00:05, 22 March 2020 (Assessment: banner shell, Computing (Rater)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Marshalling in P/Invoke calls.

I removed the claim that "The runtime uses the same data marshaling for PInvoke as is used for COM interoperability... ". A WP search on "marshalling" redirects to "Serialization", and there is certainly no serialization involved in a call across p/invoke, because there is no known serializer/deserializer on the unmanaged side. Leotohill 20:03, 5 November 2006 (UTC)[reply]

I didn't write this part of the article, but Microsoft uses "marshalling" in their MSDN documentation. Still, as it has no relationship with Serialization, I agree that it can be confusing and that removing it from the header of the article was preferable. I added an explanation in the "Usage" part of the article to explain what "marshalling" means in the P/Invoke context. Hervegirod 11:04, 6 November 2006 (UTC)[reply]

A more complex example

The article has become nearly incomprehensible, with explicit and implicit sub-chapters everywhere. I tried to fix this by returning to a more standard and clear organization. Still the new example is completely cryptic. I think someone should try to explain it, else maybe we should rm it (it is barely understandable for now) Hervegirod (talk) 09:40, 4 October 2008 (UTC)[reply]

Also I'm not really a specialist on these issues (legacy native code interoperability is not a simple subject on any VM languages), so sorry if my reorganization lead to understandability problems. However, the previous state of the article was really really really difficult to understand for non P/Invoke specialists. In short, this still needs help !!! Hervegirod (talk) 09:46, 4 October 2008 (UTC)[reply]

Proper references

Maybe Microsoft is copying this wiki, but in case it's not, the "Details" section about how P/Invoke works, which is the same as the one from the MSDN (http://msdn.microsoft.com/en-us/library/0h9e9t7d%28v=vs.110%29.aspx) should have a reference to it — Preceding unsigned comment added by 189.82.179.93 (talk) 04:01, 23 May 2014 (UTC)[reply]