2013/5/12 Michael Van Canneyt <[email protected]> > > > On Sun, 12 May 2013, Sven Barth wrote: > > On 12.05.2013 14:19, Felipe Monteiro de Carvalho wrote: >> >>> ok if you allocate the memory using functions from the Windows API which >>>> are >>>> available for WinRT) >>>> >>> >>> From what I read what is available for allocating memory in WinRT is >>>> >>> malloc from the Visual C RTL. >>> >> >> 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. >> > > if you use cmem, it should ? > > > This is the reason Delphi does not support windows RT at the moment. > They are too deeply rooted in the Win32 API, and they too must 'rewrite' > the RTL. > > It will be interesting to see who will be there first :-) > > 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).
Vincent
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
