>>>One thing bugs me with this (not that I can help with the issue) - do we still have to use RegFn and CallFn now when we have Declare ... In ...?
>>
>>Only in FPW. Thankfully, I'm dealing less and less with it.:-)
>
>Well, then, this 900,000 byte string doesn't have to go through FoxTools (which is somewhat 255-limited), but directly into an API call. Or did I sleep over the most interesting part of this thread?
Hi Dragan,
I think you may have hit why Charles is having the problem. It's been so long since I dealt with the API through foxtools, and quite frankly, I'd never run into this limitation (so I was unaware of it). If it does have a 255 character limit, then the 900,000 byte string might exceed that by a bit (pun intended? I'll never tell:-)).
However, in order to interface with the API in FPW, then he has to use foxtools. From what I can tell, he's try to grab the screen into a 24 bit color bitmap. With a 255 character limit, however, he won't be able to. 24 bit color would require 640 * 480 * 3 or 921,600 byes. You can do this in VFP (I've done it), but it doesn't look like it's possible in FPW.
George
Ubi caritas et amor, deus ibi est