>Hi,
>I have a file convertion program. This program using FILETOSTR() to get textfile content. (The filesize for example - 24Mb)
>I have an error message "There is not enough memory to complete this operation " but on my developer machine with 1.6Gb free space and 2Gb ram - it works.. but on the server machine with 12Gb free space and 8Gb ram - this error happens.
>
>What can I make in this case?
>Thanks
>Denis
You need to use something different than FILETOSTR or somehow adjust the memory. I would recommend the first approach using Windows API functions to read/write to the file.
On foxclub.ru there was a discussion about a year or more ago there different better alternatives were discussed.
If it's not broken, fix it until it is.
My Blog