<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/12 Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
On Sun, 12 May 2013, Sven Barth wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 12.05.2013 14:19, Felipe Monteiro de Carvalho wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ok if you allocate the memory using functions from the Windows API which are<br>
available for WinRT)<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>From what I read what is available for allocating memory in WinRT is<br>
</blockquote>
malloc from the Visual C RTL.<br>
</blockquote>
<br>
Yes, nevertheless the RTL needs to be adjusted for this, because the heap manager uses the HeapAlloc function from kernel32.dll and not the Visual C RTL.<br>
</blockquote>
<br></div>
if you use cmem, it should ?<div class="im"><br>
<br></div>
This is the reason Delphi does not support windows RT at the moment.<br>
They are too deeply rooted in the Win32 API, and they too must 'rewrite' the RTL.<br>
<br>
It will be interesting to see who will be there first :-)<span class="HOEnZb"><font color="#888888"><br>
</font></span><br></blockquote></div><br></div><div class="gmail_extra">Sounds like the situation on *nix where some targets use the syscall api (like current win32 and win64) and some the libc api (like win RT).<br><br>
</div><div class="gmail_extra">Vincent<br></div></div>