DBV Memo File Formats.

Post Reply
byron.hopp
Posts: 254
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

DBV Memo File Formats.

Post by byron.hopp »

All,

This post will let out the secret of my age (>dirt). I have an old application running in Clipper 5.2 and the memo files are utilizing a lib called FlexFile.
It added functions like "V_USE", "V_ERROR", and "V_SELECT", I would like to move this program to Harbour but can't access these files. Is there any libs that handle these file formats. I have a VM on my workstation setup just to run old applications like this and I would love to get rid of it.

Thanks,

Byron ...
Thanks,
Byron Hopp
Matrix Computer Services
User avatar
Jimmy
Posts: 165
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: DBV Memo File Formats.

Post by Jimmy »

byron.hopp wrote:All,

This post will let out the secret of my age (>dirt). I have an old application running in Clipper 5.2 and the memo files are utilizing a lib called FlexFile.
It added functions like "V_USE", "V_ERROR", and "V_SELECT", I would like to move this program to Harbour but can't access these files. Is there any libs that handle these file formats. I have a VM on my workstation setup just to run old applications like this and I would love to get rid of it.
i found c:\fwh\source\classes\tnewsins.prg this Code

Code: Select all

   /*
   Utilizamo el API de FlexFile por si el texto del mensaje es muy largo
   */

   if lCompleto
      if ::oDbfPost:RLock()
         cPointer := (cAlias)->(v_Memoget(nFldPos))
         if file(::cPostFile)
            cPointer := (cAlias)->(V_File2Vlf(::cPostFile, cPointer, cAlias))
            Ferase(::cPostFile)
         else
            cPointer := (cAlias)->(V_Replace(cData, nil, cAlias))
         endif
         (cAlias)->(v_Memoput(nFldPos, cPointer))
         (cAlias)->Bytes := ::oDbfPost:Bytes
         (cAlias)->Lines := ::oDbfPost:Lines
         ::oDbfPost:UnLock()
      endif
 
have not test it but i didn't found anything else with "flexfile"

if you still have Cl*pper and LIB i recommend to export Memo to FPT using Comix / SixDrive which seems to work well with CDX
greeting,
Jimmy
Post Reply