Re: Layout of a file written by VB6?



"Robert William Vesterman" <bob.work@xxxxxxxxxxxxx> wrote in message
news:0r79g1hfbktd231kjni91fhddfjbnl3b5l@xxxxxxxxxx
> I have some binary files wrtten by a VB6 application (using FreeFile,
> Open, Put and so forth) that I need to read using C++. I have the
> source code of the VB6 app, and I've looked at some raw files it
> outputs; it seems like a fairly straightforward hack, but the problem
> is that I need to be able to read arbitrary files written by this
> application, not just the particular files that I personally have
> access to.

If the /same/ program is creating /all/ the files and you have the source
code for that program it should be, as you say, a fairly straightforward
h- ..er.. translation.

You could always show us the VB code you've got and we'll see if we
can spot any potential Gotcha's that might trap the unwary C++ h- ..er..
Developer. :-)

HTH,
Phill W.


.



Relevant Pages

  • Re: Writing to multiple text files
    ... FSO is slow compared to VB6 built in I/O functions, ... If using the built in I/O functions, use an array of Integers. ... g_files= FreeFile ...
    (microsoft.public.vb.general.discussion)
  • Re: Bad file name or number
    ... >I am getting the following message when I run a VB6 application: ... > This is only happening on one particular workstation and it works fine on ... You must use freefile to get a free file number: ...
    (microsoft.public.vb.general.discussion)
  • Layout of a file written by VB6?
    ... I have some binary files wrtten by a VB6 application (using FreeFile, ... is that I need to be able to read arbitrary files written by this ... I've been searching the internet and MSDN for this information, ...
    (microsoft.public.vb.general.discussion)
  • Re: Alternatives
    ... required to transfer data accross thread boundries. ... Working with shared memory is not a hack - that's the ... for VB6 soon here in the group. ... I find that the productivity ...
    (microsoft.public.vb.general.discussion)
  • Re: Alternatives
    ... Working with shared memory is not a hack - that's the ... aware of how to do it (well, at least I used to be - I haven't touched VB6 ... Not exactly like a real Variant, ... You do make a good point - in that libraries are usually meant as language ...
    (microsoft.public.vb.general.discussion)

Loading