I found it and can now build the program ...
Then the following code:
// Declare EXTERNAL variables
MEMVAR aPassWord, hBorland, oMfont, oWnd, oBrush, cPath
// Declare LOCAL variables
LOCAL login, xy
LOCAL retval := .F.
LOCAL cUser := SPACE( 20 )
LOCAL cPass := SPACE( 20 )
LOCAL oTmp := tdata():new(, "emuser" )
LOCAL oBmpg
// Open the user file
oTmp:use()
IF ! FILE( cpath + "emuser.cdx" )
oTmp:createIndex( "emuser", "upper(userid)",,, .t., 10 )
ENDIF
oTmp:setorder( "emuser" )
oTmp:gotop()
AFILL( aPassWord, .F. )
// Build the dialog to log in
DEFINE DIALOG login RESOURCE "LOGIN" TITLE "MasterLink Software Service Management Login" ;
BRUSH oBrush TRANSPARENT
REDEFINE BITMAP oBmpg ID 513 OF login NAME "MLSTR"
REDEFINE GET cUser ID 101 OF login MESSAGE "Enter your user code"
REDEFINE GET cPass ID 102 OF login MESSAGE "Enter your unique password"
REDEFINE BTNBMP RESOURCE "HROK" ID 103 OF login TOOLTIP "Click to Log In" ;
ACTION login:end( ) MESSAGE "Submit the user and password" NOBORDER TRANSPARENT
// Activate the dialog
ACTIVATE DIALOG login CENTERED
Yields the following error on startup:
detailled error description
---------------------------
Error BASE/1003 Variable does not exist: SUPER
Stack-List
----------
called by TGET:INITIATE(0)
called by __OBJSENDMSG(0)
called by OSEND(270)
called by ASEND(238)
called by TDIALOG:INITIATE(627)
called by TDIALOG:HANDLEEVENT(872)
called by DIALOGBOX(0)
called by TDIALOG:ACTIVATE(270)
called by SIGNON(0)
called by MAIN(0)
CPU type: Intel(R) Core(TM) i5-2390T CPU @ 2.70GHz -2147483648 Mhz
Hardware memory: 8138 MB ( available: 5344 MB )
This occurs when trying to initiate a very simple Dialog ! The dialog does not even begin to display ...
I bypassed this code, and then built the primary window. ANY Dialog that I tried to create failed. The error is in creating a dialog ( and I'm doing it from resources ).
Harbour 03/13 release, FWH 13.04, MSVC 2010
Tim