Menu

thanks simon and arnold i got it....

J McNamara
2024-12-27
2024-12-27
  • J McNamara

    J McNamara - 2024-12-27

    I am now able to mix cobjapi and gixsql.

    It is the formatting errors that were killing me.

    I don't know all the rules yet.

    So now i can start working the cobjapi a little more and integrating to the DB part.

    the final compilation line looks like this...
    cobc -x -v -free dialog.cbsql cobjapi.o japilib.o imageio.o fileselect.o -L"c:\msys64\mingw64\bin" -L"c:\msys64\opt\gixsql\lib" -L"c:\msys64\mingw64\bin" -L. -lws2_32 -ljapi

    thanks!
    jim

    Sent with Proton Mail secure email.

     
    • Vincent (Bryan) Coen

      To avoid this type of issue and unless there is another reason not to, I
      suggest you code as FREE format where program text can start on cc 1
      (beginning of the line and run to 250 characters etc.
      Specify on line 1 starting at cc8  -

      SOURCE FREE

      To convert a FIXED source program remove first 6 chars and replace and
      "" in cc7 with ">" - easy to do with many editors such as kate in
      block mode.

      Another option is to use VARIABLE format (i.,e., >>SOURCE VARIABLE)
      which is same as FIXED but you can go up to 250 chars per line.
      so no additional editing of source required.

      On 27/12/2024 12:50, J McNamara wrote:

      I am now able to mix cobjapi and gixsql.

      It is the formatting errors that were killing me.

      I don't know all the rules yet.

      So now i can start working the cobjapi a little more and integrating
      to the DB part.

      the final compilation line looks like this...
      cobc -x -v -free dialog.cbsql cobjapi.o japilib.o imageio.o
      fileselect.o -L"c:\msys64\mingw64\bin" -L"c:\msys64\opt\gixsql\lib"
      -L"c:\msys64\mingw64\bin" -L. -lws2_32 -ljapi

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.