[lazarus] Lazarus and fpc 1.1

Vincent Snijders vslist at zonnet.nl
Fri Aug 15 15:07:31 EDT 2003


On Fri, 15 Aug 2003 01:13:43 +0200
"Wojciech Malinowski" <virrar at wp.pl> wrote:

> "Vincent Snijders" wrote:
> 
> > I want to use fpc 1.1 for lazarus, so we can use interfaces
> > and use the win32 browse for folder dialog.
> 
> There's no need for 1.1. There are functions CoTaskMemAlloc and
> CoTaskMemFree in WinAPI. According to MSDN first of them "Allocates a
> block of task memory in the same way that IMalloc::Alloc does". I
> wrote a unit with implementation of SelectDirectoryProc (using
> SHBrowseForFolder function):
> http://virrar.republika.pl/win32dirsel.pas
> and simple test program:
> http://virrar.republika.pl/test.pas
> and all seems to work OK.
> I wanted to implement TSelectDirectoryDialog in Win32 interface but I
> can't do it now (I'm going on a trip right now). Maybe you will do
> this using this unit?
> 
It looks very promising. I will try and use it.

Thanks,
Vincent.






More information about the Lazarus mailing list