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 Hervegirod (talk | contribs) at 09:40, 4 October 2008 (A more complex example: new section). 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]