Re: Link problem (Oberon/F)

From: [at]} <Clemens>
Date: Fri, 29 May 1998 07:40:44 +1000 (EST)

Hi Stefan,

Sorry for the delay. Here is the problem: the newer Oberon/F and
definitely the BlackBox kernel pre-allocates a lot of memory and
therefore a generated DLL does. Some applications do not tolerate
this and crash.

The next minor release of BlackBox, most likely within this year,
will fix this and offer a kernel version for linking purposes that
pre-allocates only a minimal amount of memory.

- Clemens

  http://www.fit.qut.edu.au/~szypersk/



On Wed, 13 May 1998, Stefan Petrucha wrote:

> Hi all,
> extract of my problem follows:
>
> MODULE MyModule;
>
> IMPORT Kernel;
>
> PROCEDURE Beep * ();
> BEGIN
> Kernel.Beep
> END Beep;
>
> END MyModule.
>
> DevLinker.Link MyDll.dll := Kernel+$ MyModule# ~
>
> Now I try to load the MyDll.dll by calling LoadLibrary out of
> my C program. On one Win95 computer the load fails stating that
> some thread has exited. On another one the app immediately exits; when
> debugging (the app - not dll) in MSDEV the whole system crashes.
>
> Am I doing wrong something or is it a Kernel/Linker bug?
> --
> Stefan Petrucha, http://www.isnet.sk/petrucha
>
Received on Fri May 29 1998 - 00:23:45 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:42 UTC