home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!math.fu-berlin.de!Sirius.dfn.de!urmel.informatik.rwth-aachen.de!solaris.rz.tu-clausthal.de!helios.rz.tu-clausthal.de!hmls
- From: hmls@helios.rz.tu-clausthal.de (Lutz Schroer)
- Subject: Re: TPW 1.5 dialog error -1
- Message-ID: <1993Jan7.164520.11546@solaris.rz.tu-clausthal.de>
- Sender: root@solaris.rz.tu-clausthal.de (Operator)
- Organization: Techn. Univ. Clausthal
- X-Newsreader: Tin 1.1 PL5
- References: <1992Dec23.155242@masg9.epfl.ch>
- Date: Thu, 7 Jan 1993 16:45:20 GMT
- Lines: 36
-
- Yves Mottet (momo@masg9.epfl.ch) wrote:
- >
- > After making a
- > Dlg := New();
- > ExecDialog(Dlg);
- >
- > I get an Application Error:
- > Error Code = -1
- >
- > But if I execute my program with the WorkShop iconized (even empty), this error DOES NOT occur...
- > How is that possible ?
-
- You seem to use the 'bordlg" style in your dialogs. These dialogs require
- the presence of the BWCC.DLL somewhere in the memory. If you have iconized
- the Workshop it has loaded the DLL. If not, you have to load it yourself.
-
- The principle is as follows:
-
- Use 'LoadLibrary()' to load the DLL (Look into then freaky manual for the
- exact parameters, I don't know them
- by heart :-( )
-
- After running the programme you have to call 'FreeLibrary()' to clear the
- memory. otherwise the DLL would stay in memory until Windows is ended.
-
- Greetings from rainy cold Clausthal-Zllerfeld
- Lutz Schroer
-
- -----------------------------------------------------------------
- Lutz Schroer e-mail:hmls@sun.rz.tu-claustahl.de
- Osteroeder Str. 6
- W-3392 Clausthal-Zellerfeld | Switch off your mind
- (Federal Republic of Germany) | and let the heart decide.
- --------------------------------------+--------------------------
-
-
-