Page 1 of 1

'Cannot #PROJECT RE .lib' error with Clarion 6.2

Posted: Thu Jul 28, 2005 5:09 am
by Bradnams
This error occurs during code generation.

I've resolved the issue by adding the following code beneath line #436 in PDFXDV30.TPL:

Code: Select all

    #OF('62')
      #PROJECT('c60prlbx.lib')
The entire #AT statement now reads:

Code: Select all

#AT(%CustomGlobalDeclarations)
  #IF(%ApplicationDebug)
    #FIX(%Driver,'ASCII')
    #ADD(%UsedDriverDLLs,%DriverDLL)
    #PROJECT(%DriverLib)
  #ENDIF
  #PROJECT('kernel32.lib')
  #IF(%PXCDV3GRWSupport)
    #CASE(SUB(%CWVersion,1,2))
    #OF('50')
      #PROJECT('c5prlibx.lib')
    #OF('55')
      #PROJECT('c55prlbx.lib')
    #OF('60')
      #PROJECT('c60prlbx.lib')
    #OF('61')
      #PROJECT('c60prlbx.lib')
    #OF('62')
      #PROJECT('c60prlbx.lib')      
    #ELSE
      #ERROR('Cannot #PROJECT RE .lib')
    #ENDCASE
  #ENDIF
#ENDAT

Posted: Thu Jul 28, 2005 11:58 am
by Tracker - Clarion Support
Hi Bardnams!

Thank you for identifying that problem!

The corrected template is attached.