Hi Mike,
2 errors from a recent new feature in FAA: ‘dodefault() automated adaptation’ — will fix hopefully tomorrow: DoDefault(tlUseLocal as Logical, tcPlacesCursor as String): remove the ‘as…’ clauses « Please move this DoDefault() instruction after the rest of this method code »: missing heading comment char.
#include "C:\Test\dev\somerset\mbss.h" Error in line 14: File does not exist. please make sure this file is in your project (excluded)
HTH,
Thierry Nivelet FoxinCloud Give your VFP app a new life in the cloud http://foxincloud.com/
Le 12 juin 2017 à 01:00, mbsoftwaresolutions@mbsoftwaresolutions.com a écrit :
On 2017-06-11 04:29, Thierry Nivelet wrote:
Which FAA steps did you complete ?
Hi Thierry,
Went a little further today and did the Adapt step. Got errors when doing it though. Here's the log file: http://www2.mbsoftwaresolutions.com/downloads/mbss_reports.pjx-Awadapter-Tes...
Today's latest attempt starts at 06/11/2017 06:39 PM in the log file. I've copied them below at the bottom too for discussion here. Is it a problem that when I do declarations, I specify the type? For example: FUNCTION MyFunc(tcName as String, tiAge as Integer) as Variant
tia, --Mike
log snippet of errors below:
06/11/2017 06:42 PM - (19) awadapter.filescompile(): Compiling modified files
06:42 PM - (01) Compiling 'C:\Test\dev\somerset\progs\rptloadhistory.prg' - acoop.fxp!Awadapter.filescompile() - FAILURE: Filecompile() - File 'RPTLOADHISTORY.PRG' compiled with error(s): Please move this DoDefault() instruction after the rest of this method code Error in line 25: Unrecognized command verb.
06:42 PM - (02) Compiling 'C:\Test\dev\somerset\progs\mbss_reports.prg' - acoop.fxp!Awadapter.filescompile() - FAILURE: Filecompile() - File 'MBSS_REPORTS.PRG' compiled with error(s): DoDefault(tlSkipDBC as Logical) Error in line 44: Function name is missing ).
06:42 PM - (03) Compiling 'C:\Test\dev\somerset\classes\mjbbase.vcx' - acoop.fxp!Awadapter.filescompile() - FAILURE: Filecompile() - File 'MJBBASE.VCX' compiled with error(s): Please move this DoDefault() instruction after the rest of this method code Error in line 3 of txtbase.Init (record 33): Unrecognized command verb. Please move this DoDefault() instruction after the rest of this method code Error in line 3 of pagbase.Init (record 55): Unrecognized command verb.
06:42 PM - (04) Compiling 'C:\Test\dev\somerset\classes\registry.vcx' - FOXINCLOUD-COMPATIBLE THIRD PARTY FILE - SUCCESS 06:42 PM - (05) Compiling 'C:\Test\dev\somerset\forms\frmreploadhistory.scx' - SUCCESS 06:42 PM - (06) Compiling 'C:\Test\dev\somerset\progs\rpttrafficlanes.prg' - acoop.fxp!Awadapter.filescompile() - FAILURE: Filecompile() - File 'RPTTRAFFICLANES.PRG' compiled with error(s): Please move this DoDefault() instruction after the rest of this method code Error in line 30: Unrecognized command verb.
06:42 PM - (07) Compiling 'C:\Test\dev\somerset\progs\mbss_postal.prg' - acoop.fxp!Awadapter.filescompile() - FAILURE: Filecompile() - File 'MBSS_POSTAL.PRG' compiled with error(s): DoDefault(tlUseLocal as Logical, tcPlacesCursor as String) Error in line 85: Function name is missing ).
06:42 PM - (08) Compiling 'C:\Test\dev\somerset\settings.ini' - EXCLUDED FROM PROJECT - SUCCESS 06:42 PM - (09) Compiling 'C:\Test\dev\somerset\forms\frmconfig_bwonly.scx' - SUCCESS 06:42 PM - (10) Compiling 'C:\Test\dev\somerset\progs\emailmbss.prg' - SUCCESS 06:42 PM - (11) Compiling 'C:\Test\dev\somerset\progs\error_handler.prg' - acoop.fxp!Awadapter.filescompile() - FAILURE: Filecompile() - File 'ERROR_HANDLER.PRG' compiled with error(s): DoDefault(tnErrNum as Integer, tcErrMsg as String, tcProgram as String, tnErrLine as Integer) Error in line 63: Function name is missing ).
06:42 PM - (12) Compiling 'C:\Test\dev\somerset\menus\main_reports.mnx' - SUCCESS 06:42 PM - (13) Compiling 'C:\Test\dev\somerset\forms\frmabout.scx' - SUCCESS 06:42 PM - (14) Compiling 'C:\Test\dev\somerset\progs\main_reports.prg' - acoop.fxp!Awadapter.filescompile() - FAILURE: Filecompile() - File 'MAIN_REPORTS.PRG' compiled with error(s): #include "C:\Test\dev\somerset\mbss.h" Error in line 14: File does not exist.
06:42 PM - (15) Compiling 'C:\Test\dev\somerset\forms\frmcalendar.scx' - SUCCESS 06:42 PM - (16) Compiling 'C:\Test\dev\somerset\forms\frmreptrafficlanes.scx' - acoop.fxp!Awadapter.filescompile() - FAILURE: Filecompile() - File 'FRMREPTRAFFICLANES.SCX' compiled with error(s): Please move this DoDefault() instruction after the rest of this method code Error in line 256 of FRMREPTRAFFICLANES.Load (record 3): Unrecognized command verb.
06:42 PM - (17) Compiling 'C:\Test\dev\somerset\classes\mjbclasses.prg' - SUCCESS 06:42 PM - (18) Compiling 'C:\Test\dev\somerset\forms\frmrepdispatcher.scx' - SUCCESS 06:42 PM - (19) Compiling 'C:\Test\dev\somerset\progs\rptdispatcher.prg' - acoop.fxp!Awadapter.filescompile() - FAILURE: Filecompile() - File 'RPTDISPATCHER.PRG' compiled with error(s): Please move this DoDefault() instruction after the rest of this method code Error in line 31: Unrecognized command verb.
(19) awadapter.filescompile(): Compiling modified files completed in 1 seconds (00:00:01)
================================================================================ 06/11/2017 06:42 PM - Completed adaptation of project 'mbss_reports' with warning : Some FoxInCloud base classes ("awOLEPDFxc","awOLEPDFxcp","awOLEPDFoxit") can't be subclassed because the following OLE classes are not installed in your system:
PDFxChange Viewer free (http://www.tracker-software.com/) PDFxChange Previewer free (http://www.tracker-software.com/) Foxit PDF Viewer free (http://www.foxitsoftware.com/)
This has no importance as long as your application does not use these OLE classes 42 files (7,900 kb) copied in 0.107 seconds
Source files compilation has encountered 10 errors
[excessive quoting removed by server]