testcalr.prg

Post Reply
brewster
Posts: 43
Joined: Wed Jun 20, 2012 4:07 am

testcalr.prg

Post by brewster »

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
User avatar
Bayron
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: testcalr.prg

Post by Bayron »

You should also rename testcalr.rc to prgcalr.rc
=====>

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

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: testcalr.prg

Post by anserkk »

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
brewster
Posts: 43
Joined: Wed Jun 20, 2012 4:07 am

Re: testcalr.prg

Post by brewster »

Renaming the .rc file works fine

Thanks,
Bruce S.
Post Reply