Page 1 of 1

Usage of BWCC32

Posted: Thu Nov 03, 2005 2:24 pm
by carlosmora
Congrats for the new version. The support of BWCC32 makes this product unique.
I have a resources only DLL, with dialogs based on controls from BWCC, the buttons that changes the bitmap using the ID + 1000, 3000 & 5000
I imported the dll into a new project, but the buttons doesnt show the images. Is this the spected behavoir?

Regards.

Posted: Thu Nov 03, 2005 2:34 pm
by isiticov
The actual behavior of custom controls will be possible to test only in your application, because when creating preview for dialogs Resource Builder doesn't build the whole resources into memory but the dialog only and this could be a reason that your bitmap are not visible in the Test Dialog function.
Does this help?

bwcc32

Posted: Fri Nov 04, 2005 8:30 am
by carlosmora
Ok, yes, I understand that. But... I´m not sure, may be the project must be treated un a whole thing and not partially by dialog. Just think about this, but it seems reasonable, don´t? The resource editor of bcc 5.02 does this, load the resources of the project while you edit, so it looks more wysiwyg.

Another point. I have a dll with special controls that I use in Borland Workshop. I configured RB to load that dll, but does not shows the controls in the dll. May be i´m not following the right steps to load it.

Regards.

Re: bwcc32

Posted: Fri Nov 04, 2005 3:17 pm
by isiticov
carlosmora wrote:Ok, yes, I understand that. But... I´m not sure, may be the project must be treated un a whole thing and not partially by dialog. Just think about this, but it seems reasonable, don´t? The resource editor of bcc 5.02 does this, load the resources of the project while you edit, so it looks more wysiwyg.
We will try to find a way to improve this.
Another point. I have a dll with special controls that I use in Borland Workshop. I configured RB to load that dll, but does not shows the controls in the dll. May be i´m not following the right steps to load it.
Resource Builder acts exactly as described in Resource Workshop help. Your DLL must implement ListClasses, Info and other functions to provide information about available classes.
The installation package includes the sample CC DLL that was created with Delphi that demonstrates this (sorry, I don't have C++ example).
Please let me know if this helps.

Posted: Mon Nov 07, 2005 8:50 am
by carlosmora
I have a DLL with controls I didn´t built, and just shows the control in the dll with correct types for the code. Can I send you that dll so you can check what is going wrong?

Regards

Posted: Mon Nov 07, 2005 9:21 am
by isiticov
Yes, please send it to support_at_sicomponents_dot_com and we will check it.