Windows 8 Integration: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 199: Line 199:
=== Major ===
=== Major ===


* Memory: VirtualAlloc / HeapAlloc and friends
==== Memory allocation and sharing ====
** Note Larry Osterman and Steve Rowe's responses in http://stackoverflow.com/questions/7473202/dynamic-code-execution-on-winrt-in-windows-8-either-c-or-net-c
 
* Pipes: CreateNamedPipe, ConnectNamedPipe, DisconnectNamedPipe
(VirtualAlloc / HeapAlloc and friends)
** Note the question by Klimax in http://blogs.msdn.com/b/larryosterman/archive/2011/09/16/what-has-larry-been-doing-for-two-years-and-why-has-the-blog-been-dark-for-so-long.aspx
 
** And the following about CreateFile/CreateFile2: http://msdn.microsoft.com/en-us/library/windows/desktop/hh449422(v=vs.85).aspx and http://stackoverflow.com/questions/7746044/using-sqlite-with-winrt
<b>Memory execution</b> - Although Virtual* apis do not pass the stand-alone validation test, we have been successful in allocating memory using CreateFileMapping/MapViewOfFileEx. Based on comments by ms employees [1,2] however, it appears applications that attempt to do this will not pass Windows Store certification regardless.
* Processes: CreateProcess
 
<b>Shared memory</b> - While it appears DuplicateHandle is available and passes stand-along validation, and memory can be allocated with CreateFileMapping, without process creation & pipes this is of little use.
 
==== Pipes ====
 
(CreateNamedPipe, ConnectNamedPipe, DisconnectNamedPipe)
 
<b>IPC</b> - None of the current pipe apis passes validation. According to ms employee comments no IPC type mechanisms will be allowed in the Windows Store [3].
 
==== Processes ====
 
(CreateProcess)
 
Currently not supported through header definitions.
 
==== Links ====
 
[1] [http://stackoverflow.com/questions/7473202/dynamic-code-execution-on-winrt-in-windows-8-either-c-or-net-c Larry Osterman and Steve Rowe comments on StackOverflow]
 
[2] CreateFile/CreateFile2: http://msdn.microsoft.com/en-us/library/windows/desktop/hh449422(v=vs.85).aspx and http://stackoverflow.com/questions/7746044/using-sqlite-with-winrt
 
[3] Note the question by Klimax in http://blogs.msdn.com/b/larryosterman/archive/2011/09/16/what-has-larry-been-doing-for-two-years-and-why-has-the-blog-been-dark-for-so-long.aspx


=== Minor ===
=== Minor ===
Confirmed users
1,982

edits

Navigation menu