[Lazarus] windows rt

Vincent Snijders vincent.snijders at gmail.com
Mon May 13 07:09:53 CEST 2013


2013/5/12 Michael Van Canneyt <michael at freepascal.org>

>
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130513/bea7229f/attachment-0003.html>


More information about the Lazarus mailing list