>Hi Sergey,
>
>Thanks for your help.
>>
I wasn't sure if this variable was input or output parameter. So far I don't see anything wrong with your code. I'm pretty sure that problem is with DLL you're using. It's strange that it relies on the memory reserved by calling program instead of allocating as much memory as it required. You certanly don't have any control over how VFP manage it's memory.
>>I was expecting something like that, thanks for making me more sure about that.
>
>I did some extra research om memory and vfp related stuff (red some threads here and visit some sites), found and learned some interesting things, and made little analyse tool.
>You can't do anything with it, but it helped me understanding allocating and managing memory in vfp.
>Here's the source: (memanalys.prg)
>maybe useful
Hi Leo,
Thanks. I'm sorry I coldn't help you more. BTW, there's
Heap allocation class file #
9482 in the download section that you could find usefull in working with WIndows API.
--sb--