FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour testcalr.prg
Posts: 43
Joined: Wed Jun 20, 2012 04:07 AM
testcalr.prg
Posted: Tue Jul 31, 2012 04:04 AM

I am wanting to experiment with testcalr.prg, so I copy and rename it prgcalr.prg.
It compiles and links fine( just like testcalr.prg ), but when trying to run it , these errors appear.

Maybe obvious, but not to me.
Thanks,
Bruce S.

Application

Path and name: C:\fwh\samples\PRGCALR.exe (32 bits)
Size: 1,764,352 bytes
Compiler version: Harbour 3.1.0dev (Rev. 17222)
FiveWin Version: FWH 12.06
Windows version: 5.1, Build 2600 Service Pack 3

Time from start: 0 hours 0 mins 0 secs
Error occurred at: 30/07/12, 22:51:25
Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: CALENDAR

Stack Calls

Called from: .\source\classes\DIALOG.PRG => CREATEDLGERROR( 538 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 273 )
Called from: PRGCALR.prg => MAIN( 128 )

System

CPU type: AMD Athlon(tm) 64 Processor 3000+ 1800 Mhz
Hardware memory: 1024 megs

Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %

Windows total applications running: 15
1 , C:\Program Files\Common Files\Real\Update_OB\realsched.exe
2 , C:\Program Files\Internet Explorer\iexplore.exe
3 , C:\Program Files\Messenger\msmsgs.exe
4 , C:\Program Files\TeamViewer\Version7\TeamViewer.exe
5 , C:\WINDOWS\Explorer.EXE
6 AcrobatTrayIcon, C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrotray.exe
7 AvgTrayMainWnd, C:\Program Files\AVG\AVG2012\avgtray.exe
8 Command Prompt - BUILDH PRGCALR, C:\WINDOWS\system32\cmd.exe
9 N.O.I ver 1.31a, C:\Sat\NOI.exe
10 NVSVCPMMWindowClass, C:\WINDOWS\system32\nvsvc32.exe
11 Netsession Hidden Window, C:\Documents and Settings\Bruce\Local Settings\Application Data\Akamai\netsession_win.exe
12 QTPlayer Tray Icon, C:\Program Files\QuickTime\qttask.exe
13 TF_FloatingLangBar_WndTitle, C:\WINDOWS\system32\ctfmon.exe
14 WinAMRestoreWnd, C:\Program Files\iTunes\iTunesHelper.exe
15 {NetworkMagicUserContext9D8F61C7-BFA2-459b-9243-426A1D514B03}, C:\Program Files\Common Files\Pure Networks Shared\Platform\nmctxth.exe

Variables in use

Procedure Type Value
==========================
CREATEDLGERROR
Param 1: O Class: ERROR
TDIALOG:ACTIVATE
Param 1: O Class: TDIALOG
Local 1: C "CALENDAR"
Local 2: C " "
MAIN
Param 1: U
Param 2: U
Param 3: U
Param 4: L .F.
Param 5: U
Param 6: L .T.
Param 7: B {|| ... }
Param 8: U
Param 9: U
Param 10: L .F.
Param 11: L .F.
Local 1: N 0

Linked RDDs

DBF
DBFFPT
DBFBLOB
DBFNTX

DataBases in use

Classes in use:

 1 ERROR
 2 HBCLASS
 3 HBOBJECT
 4 TWINDOW
 5 TDIALOG
 6 TBRUSH
 7 TCONTROL
 8 TCALENDAR
 9 TREG32
10 TSTRUCT
11 TBUTTON
12 TDATEPICK
13 TCOMBOBOX
14 TGET
15 GET
16 TCLIPGET
17 TSAY
18 TCHECKBOX
19 TSCROLLBAR

Memory Analysis

  206 Static variables

Dynamic memory consume:
Actual Value: 0 bytes
Highest Value: 0 bytes


Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: testcalr.prg
Posted: Tue Jul 31, 2012 04:08 AM

You should also rename testcalr.rc to prgcalr.rc

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: testcalr.prg
Posted: Tue Jul 31, 2012 04:10 AM
The problem is because you have not copied/renamed the .rc file
Please make a copy of testcalr.rc and name it as your new prg name ie prgcalr.rc

Definitely it will work. :-)

Regards
Anser
Posts: 43
Joined: Wed Jun 20, 2012 04:07 AM
Re: testcalr.prg
Posted: Tue Jul 31, 2012 11:26 AM

Renaming the .rc file works fine

Thanks,
Bruce S.

Continue the discussion