Главная страница | назад





Article #16619: BWCC Borland custom controls

 Question and Answer Database

QNA        :BWCC Borland custom controls
Category   :Linking
Platform   :Windows95
Product   :BC++  5.x

Question:

When I compiled dialogs containing borland controls or styles
for 32 bit executables, displaying the dialogs does not work. 
When the call to CreateDialog (or any equivalent API function) 
is made, the function returns without displaying anything.

Anybody have any idea what I'm doing wrong here??

Answer:
Try:

Including the header bwcc.h
Add the bwcc(32).lib to your project
Make sure the file bwcc32.dll is in an accessible directory
(i.e. Same Dir/System Dir/Path). Also (and most importantly), 
call the function BWCCRegister() at the beginning of the program.

5/18/1998 8:42:02 AM
 

Last Modified: 01-SEP-99