Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a RAM Drive in code
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01245844
Message ID:
01246569
Views:
30
Personally I don't beleive there is anything wrong with your utility, but my boss insisted that it be removed the projects. He told me that it wasn't until after he added it to his project, he is working on ,that the C5 errors started. He beleive that when he issued a RELEASE LIBRARY vfpCompression.fll that the library was not actually released but only the reference was dropped and in fact the library still resided in memory. I don't know why this concerned him, but he felt it was a factor as to why we were receiving the C5 errors. I removed it from my project under order from him. Personally I like your utility. I only wish the result from ZipString was more WinZip compatible. If I write the string to a file, I can not open in WinZip. Is this by design and is there a workaround?


>Hi Greg,
>
>Can you tell me what function(s) you were calling in vfpcompression.fll when you experienced the C5 in Visual FoxPro? If there is indeed a problem here I would really appreciate an opportunity to work with you on it. I have not had any reports of this before, so I'm interested to find out what is going on. Thanks.
>
>>We are converting from the vfpCompression.fll to Dynazip. We have been experiencing C5 on occations seen we introduced it to our application. We are not entirely sure it is source of the problem, all we know is when we removed it, the problem went away.
>>
>>>Did you consider using somthing else that can zip strings in the memory, like http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,a85aaf3b-7e8f-478f-b06c-c115f610caae.aspx ?
>>>
>>>>Is it possible to create a RAM Drive programmatically?
>>>>
>>>>I have a utility that zips thousands of memo field data. I am using Dynazip, but it requires it to first write the memo field to a table, then zip it to a zip file, and finally read the zip file to a string to save back to the memo field. The process takes forever. I think if I create a RAM drive for the temporary file it would greatly improve the speed.
>>>>
>>>>Any other suggestion are welcome.
>>>>
>>>>Thanks in advance.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform