guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DLLs and exported symbols...


From: Dale P. Smith
Subject: Re: DLLs and exported symbols...
Date: Thu, 23 Nov 2000 11:25:31 -0500

"Lars J. Aas" wrote:
> 
> On Thu, Nov 23, 2000 at 09:17:12AM -0500, Dale P. Smith wrote:
> : Dll code and code that calls the dll needed
> : protypes to be declared differently.  Something like "export" for one
> : and "import" for the other.  But my memory (gladly!) fades.
> 
> building DLL:      __declspec(dllexport)
> linking with DLL:  __declspec(dllimport)

Yah that's it.  Thanks for reminding me. (Ugh!)

> Regarding the use of dllimport, I thought that was optional, but we
> experienced some strange "access violation" crashes in some test
> applications on some unrelated projects that disappeared when we
> started using dllimport instead of nothing, so it seems to be a
> requirement...

If I remember correctly, it makes "pascal" calling conventions. 
Basically, the subroutine cleans up the stack, not the caller. It might
do some things with registers too.

-Dale
-- 
Dale P. Smith
Altus Technologies Corp.
address@hidden
440-746-9000 x309




reply via email to

[Prev in Thread] Current Thread [Next in Thread]