what's wrong?
Here's the problem
Incredible!
test001.prg
INCLUDE "FIVEWIN.CH"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIALOG oDlg RESOURCE "dialog_1"
ACTIVATE DIALOG oDlg
RETURN NIL
test001.rc
/************
test001.rc
produced by Borland Resource Workshop
***********/
DIALOG_1 DIALOG 59, 45, 279, 323
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Esporta Excel"
FONT 8, "MS Sans Serif"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
{
CONTROL "OK", 201, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 54, 302, 50, 14
CONTROL "Cancel", 202, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 114, 302, 50, 14
CONTROL "Help", 203, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 174, 302, 50, 14
CONTROL "", 101, "TWBrowse", 0 | WS_CHILD | WS_VISIBLE, 6, 9, 266, 287
}
error.log
Application
Path and name: c:\m2009\test001.exe (32 bits)
Size: 1,399,296 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 07/22/09, 10:46:58
Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: dialog_1
Stack Calls
Called from: => CREATEDLGERROR(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: test001.prg => MAIN(9)
System
CPU type: Intel(R) Pentium(R) 4 CPU 2.40GHz 2400 Mhz
Hardware memory: 992 megs
Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %
Compiler version: xHarbour build 0.99.61 Intl. (SimpLex)
Windows version: 5.1, Build 2600 Service Pack 3
Windows total applications running: 0
Variables in use
Procedure Type Value
==========================
CREATEDLGERROR
Param 1: O Class: TDIALOG
Local 1: C "dialog_1"
Local 2: C " "
TDIALOG:ACTIVATE
Param 1: U
Param 2: U
Param 3: U
Param 4: L .F.
Param 5: U
Param 6: L .T.
Param 7: U
Param 8: U
Param 9: U
Param 10: L .F.
Local 1: O Class: TDIALOG
Local 2: N 0
Local 3: U
Local 4: U
MAIN
Local 1: O Class: TDIALOG
Linked RDDs
DBF
DBFFPT
DBFNTX
DBFBLOB
DataBases in use
Classes in use:
1 HBCLASS
2 HBOBJECT
3 TWINDOW
4 TDIALOG
5 TBRUSH
6 ERROR
7 TREG32
Memory Analysis
131 Static variables
Dynamic memory consume:
Actual Value: 0 bytes
Highest Value: 0 bytes
info@marcoboschi.it
