Re: linking problem in DPAPI



"bubble" <bubble@xxxxxxxxxxxx> writes:

> <complain>
> off the topic...
> in MS-windows environment,sometime gcc(not ada) make me confused.
> why ld.exe can not link .lib format directly?

I guess by ".lib" you mean the Microsoft library format, and by
"ld.exe" you mean the linker that comes with GNAT. Then the
answer is "GNAT is free software, Microsoft isn't". On the other hand,
you _could_ reverse engineer the Microsoft library format, and add
support for it to Gnu ld

> I must say those problems will effect someone learning ada and
> misunderstand it. </complain>

Normally, it's not a problem, because AdaCore does a good job of
creating the necessary library files.

--
-- Stephe
.