PROBLEM WITH RESOURCES
Posted: Fri Jan 03, 2020 5:01 pm
I have a simply dialog made with resources
Test Source
The Resource
and i have this error
why what's is changed ?
Test Source
Code: Select all
#include "fivewin.ch"
function main()
Local oDlg
DEFINE DIALOG oDlg NAME "TEST" COLOR CLR_BLACK, RGB( 197,197,197)
ACTIVATE DIALOG oDlg CENTERED
return nil
Code: Select all
#define DS_MODALFRAME 0x80L
TEST DIALOG 18, 18, 190, 92
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Animation"
BEGIN
CONTROL "", 101, "TAnimat", 0 | WS_CHILD | WS_VISIBLE , 30, 17, 129, 17
PUSHBUTTON "&Ok", 102, 72, 67, 45, 14
END
and i have this error
Code: Select all
Application
===========
Path and name: C:\Work\Errori\animation\ANIMAT.Exe (32 bits)
Size: 3,871,744 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20180217)
FiveWin version: FWH 19.12
C compiler version: Borland/Embarcadero C++ 7.3 (32-bit)
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 01/03/20, 17:59:44
Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: TEST
Stack Calls
===========
Called from: .\source\classes\DIALOG.PRG => CREATEDLGERROR( 717 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 306 )
Called from: PRUEBA1.PRG => MAIN( 26 )
why what's is changed ?