Topic: HELP: Borland buttons in application


Author: elting@emp.paed.UNI-Muenchen.DE (Andreas Elting)
Date: Thu, 13 May 1993 06:09:16 GMT
Raw View

Hi folks,

A few days ago I posted an article to this newsgroup concerning my
problem with Borland C++ and asked for help.

The respondes I got didn't solve my problem but remainded me that this
newsgroup may be the wrong group. I am very sorry for posting to the
wrong group.

The heading of this group contains c++ and that was misleading.
Again - Sorry newsnetter!

Regards - Andreas

--
========================================================================
Andreas Elting
LMU Munich
Leopoldstr. 13                  FAX-Nr: + 49 89 2180 5255
Institute for    Voice:  + 49 89 2180 5147
Educational Research   email:
Germany     elting@emp.paed.uni-muenchen.de
========================================================================




Author: ghica@fig.citib.com (Renato Ghica)
Date: Thu, 13 May 1993 14:36:24 GMT
Raw View
In article <1993May12.071408.19426@news.lrz-muenchen.de>, elting@emp.paed.UNI-Muenchen.DE (Andreas Elting) writes:
|>
|> Hi out there,
|>
|> I am very new to C++, so this might be a very trivial
|> question but I have no idea how to solve my problem:
|>
|> I am using Borland C++ 3.1 to design my application. From the main
|> window I want to call a dialog box with the Borland buttons (class
|> borbtn) and classes ( I like their design :-) ).
|>
|> Every time I run the program from the IDE all works fine. The dialog
|> box appears and works as it should.
|>
|> But without the IDE I get a message 'Error number: -5' and the dialog
|> refuses to pop up. So I think I forgot to include a special DLL or LIB in my
|> application. The manual talks about 'owl.lib' and 'bcrtl.lib'.
|> But I'm not able to find bcrtl.lib. I do not find a file bcrtl.dll either.
|>
|> So here is my question: What is wrong in my program?
|>
|> My settings are:
|>   Model: large
|>   smart callbacks
|>   container class: static
|>   object windows library: static
|>   standard runtime library: static
|>


Well, If I know what I'm talking about, this should probably be in
an FAQ somewhere.

I've seen these symptoms when....

...a library called bwcc.dll is needed to run bc++ applications
(which I can think can be distributed freely).

If you run under the ide, this library is loaded automatically.

If you run your applicaiton and another Borland tool is "up" (ie
the resource workshop), then it also loaded automatically.

If only your application is running, then it crashes.

-------------------------------------------------------------

To "trick" bc++ into loading that library, call a "dummy" function
from that library. I use :

 ...
 #include <bwcc.h>
 ...

 BWCCGetVersion();
--

"This will just take a minute."
"I'm 90% done."
"It worked on my machine."




Author: elting@emp.paed.UNI-Muenchen.DE (Andreas Elting)
Date: Wed, 12 May 1993 07:14:08 GMT
Raw View
Hi out there,

I am very new to C++, so this might be a very trivial
question but I have no idea how to solve my problem:

I am using Borland C++ 3.1 to design my application. From the main
window I want to call a dialog box with the Borland buttons (class
borbtn) and classes ( I like their design :-) ).

Every time I run the program from the IDE all works fine. The dialog
box appears and works as it should.

But without the IDE I get a message 'Error number: -5' and the dialog
refuses to pop up. So I think I forgot to include a special DLL or LIB in my
application. The manual talks about 'owl.lib' and 'bcrtl.lib'.
But I'm not able to find bcrtl.lib. I do not find a file bcrtl.dll either.

So here is my question: What is wrong in my program?

My settings are:
  Model: large
  smart callbacks
  container class: static
  object windows library: static
  standard runtime library: static

Any ideas? Please help me and mail you hints to the adress below.


Thanks in advance

Andreas



--
========================================================================
Andreas Elting
LMU Munich
Leopoldstr. 13                  FAX-Nr: + 49 89 2180 5255
Institute for    Voice:  + 49 89 2180 5147
Educational Research   email:
Germany     elting@emp.paed.uni-muenchen.de
========================================================================