Page 1 of 1

Cannot Create Dialog Error

Posted: Mon Jan 21, 2008 11:03 am
by PeterHarmes
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

Posted: Mon Jan 21, 2008 1:04 pm
by PeterHarmes
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" ?

Posted: Mon Jan 21, 2008 1:35 pm
by Enrico Maria Giordano
Yes, TImage.

EMG

Posted: Mon Jan 21, 2008 2:36 pm
by PeterHarmes
Thats fixed it - weird how it only errors on certain pcs/installations!

Posted: Mon Jan 21, 2008 6:45 pm
by Enrico Maria Giordano
Yes, I can't imagine any valid reasons for that behavior... :?:

EMG