Hi all,
with the last 1.2.1 (6717) xharbour version there are problems with static declaration on the head of the prg:
k:\XHARBOUR\Bin\Harbour.Exe K:\ACTIVEXP\SOURCE\ACTIVE.PRG -m -n -es2 -ik:\XHARBOUR\Include -dHB_API_MACROS -dHB_FM_STATISTICS_OFF -dHB_STACK_MACROS -ik:\XHARBOUR\Contrib\What32\Include;k:\fwh\include -oK:\ACTIVEXP\Obj\ACTIVE.c
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6717)
Copyright 1999-2010, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'K:\ACTIVEXP\SOURCE\ACTIVE.PRG'...
k:\fwh\include\FiveWin.ch(441) Error E0001 Statement not allowed outside of procedure or function
K:\ACTIVEXP\SOURCE\ACTIVE.PRG(17) Error E0004 STATIC declaration follows executable statement
K:\ACTIVEXP\SOURCE\ACTIVE.PRG(18) Error E0004 STATIC declaration follows executable statement
3 errors
No code generated
This is my prg:
#include "FiveWin.ch"
#include "UrlLink.ch"
#include "menu.ch"
#define SRCPAINT 15597702 // 0xEE0086
#define SRCAND 8913094
#DEFINE CLOCK_ON "Shows the clock at the MsgBar..."
#DEFINE CLOCK_OFF "Hides the clock at the MsgBar..."
#DEFINE DATE_ON "Shows the Date at the MsgBar..."
#DEFINE DATE_OFF "Hides the Date at the MsgBar..."
#DEFINE KEYB_ON "Shows the Keyboard status at the MsgBar..."
#DEFINE KEYB_OFF "Hides the KeyBoard status at the MsgBar..."
STATIC oDlg,oBmp,oBar,ownd
static oToolBar
FUNCTION Main()
ownd:=0
set exact on
..
.
..
Any ideas ?