Re: linking problem in DPAPI
- From: "bubble" <bubble@xxxxxxxxxxxx>
- Date: Thu, 29 Dec 2005 12:19:55 +0800
hello,Stephen
I find a tools , "dll2s" ,in http://home.lanck.net/mf/win_pe.shtml#D2
generator a crypt32.a and replace the libcrypt32.a in
lib/gcc/pentium-mingw32msv/3.4.5....
and I stilll get the same error message.
I am not sure I am do it correctly.
could you possible do the test in your way?
"Stephen Leake" <stephen_leake@xxxxxxx> ???????:u3bkdz9qs.fsf@xxxxxxxxxx
> "bubble" <bubble@xxxxxxxxxxxx> writes:
>
>> dear all:
>> I got a problem again :)
>>
>> I am write a little security binding for my application.
>> and I got a error message.
>> ....app.o(.text+0x3914):app.adb: undefined reference to
>> `CryptProtectData@28'
>>
>> what's the problem?
>> give me a hint. thanks
>> my compiler is [gnat gpl 2005] and my OS is windows xp.
>
> I have GNAT 5.03a, Windows XP.
>
> This appears to be a library version problem. 'CryptProtectData'
> doesn't appear to be in lib/gcc/pentium-mingw32msv/3.4.4/libcrypt32.a,
> nor in any other library file in that directory.
>
> However, 'CryptProtectData' is in Windows/system32/crypt32.dll.
>
> So I suggest you use one of the dll tools to recreate libcrypt32.a
> from Windows/system32/crypt32.dll, and see if that works. If it does,
> send a bug report to AdaCore.
>
> --
> -- Stephe
.
- Follow-Ups:
- Re: linking problem in DPAPI
- From: Stephen Leake
- Re: linking problem in DPAPI
- From: Jeffrey Creem
- Re: linking problem in DPAPI
- References:
- linking problem in DPAPI
- From: bubble
- Re: linking problem in DPAPI
- From: Stephen Leake
- linking problem in DPAPI
- Prev by Date: Re: SBIRS, Ada and Ignorance
- Next by Date: Call for Papers: The 2006 IAENG International Workshop on Software Engineering
- Previous by thread: Re: linking problem in DPAPI
- Next by thread: Re: linking problem in DPAPI
- Index(es):
Relevant Pages
|