FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Cannot Create Dialog Error
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Cannot Create Dialog Error
Posted: Mon Jan 21, 2008 11:03 AM

Hi,

I have just added a new dialog/tab to a folder and it works fine in all the machines i have tested it on in my office, however, when i have installed the app at my clients i get a cannot create dialog error - can anyone offer any advice in tracking down what is causing this error?

I am currently using FWH 7.12 with the latest version of commercial xHarbour

Thanks in advance

Pete

Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Cannot Create Dialog Error
Posted: Mon Jan 21, 2008 01:04 PM

I've narrowed this down to an image i'm displaying on the new tab.

I'm using REDEFINE IMAGE to display the image, how should this be defined in the .rc file? Currently i'm using:

CONTROL "TBitmap", 114, "TBitmap" ....

should i replace "TBitmap" with "TImage" ?

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Cannot Create Dialog Error
Posted: Mon Jan 21, 2008 01:35 PM

Yes, TImage.

EMG

Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Cannot Create Dialog Error
Posted: Mon Jan 21, 2008 02:36 PM

Thats fixed it - weird how it only errors on certain pcs/installations!

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Cannot Create Dialog Error
Posted: Mon Jan 21, 2008 06:45 PM

Yes, I can't imagine any valid reasons for that behavior... :?:

EMG

Continue the discussion