Re: Get/Put read/write efficiency

Tech-Archive recommends: Fix windows errors by optimizing your registry



I think your options there would be to
a) use CopyMemory to copy the section of the array to a smaller array and
then PUT that one
b) switch from Get/Put to the ReadFile and WriteFile API calls so you can
specify the byte count


Good ideas. Thanks. I use this kind of functionality
so little that I hadn't even thought of API options.


.



Relevant Pages

  • Re: Get/Put read/write efficiency
    ... I can use this to write a byte array to a file: ... Are there any tricks to optimize efficiency for partial ... switch from Get/Put to the ReadFile and WriteFile API calls so you can specify the byte count ...
    (microsoft.public.vb.general.discussion)
  • Re: Klasse optimieren
    ... > private class TourFahrt ... > ReadFile() eine XML Datei ein. ... > in richtiger Reihenfolge in das Array Tourenplan. ... nun muß ich von Außen an die Daten in der ArrayList Tourenplan ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: read file contents to a variable
    ... > Is there a reason the filefunction makes an array? ... The readfile() ... > function is even more strange, it dumps the contents to the screen but ...
    (alt.php)
  • read file contents to a variable
    ... Is there a reason the filefunction makes an array? ... The readfile() ... function is even more strange, it dumps the contents to the screen but ...
    (alt.php)
  • Re: Is it Possible to write a section of a byte array to a file?
    ... that here's another place where VB really could use array slice notation. ... The expanded syntax of Get/Put for whole array i/o w/ V5was a great step forward, just how good would it have been to have been able to write put #1,,arryand similar uses... ...
    (microsoft.public.vb.general.discussion)