Re: linking problem in DPAPI



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


.



Relevant Pages

  • Re: fatal error LNK1104: cannot open file mfc71.lib
    ... You are trying to link in a .lib file that was compiled under VS.NET 2003. ... matter how many files are in the project, it matters what libraries you are trying to link ... You might also have an explicit path to a library file somewhere. ... I now get this error message when linking: ...
    (microsoft.public.vc.mfc)
  • Re: Anyone using Masm32 with Direct3D?
    ... > I converted vertices.cpp from the DX SDK Tutorials to assembly. ... > error message during linking: cannot open file ... > What is this library file? ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: whats wrong?
    ... thanks but I stilll do have an error after making the changes (see ... the error message now is ... Error in ==> petals at 17 ...
    (comp.soft-sys.matlab)
  • Re: With Micro-Cap to call a model ?
    ... I used Micro-Cap9, the good demo version simulateur of Spectrum. ... What is the error message you are getting? ... Wordpad appended the .TXT extension automatically so it was unable to ... library file this may be the reason. ...
    (sci.electronics.cad)
  • Re: Problem with Declare or dll
    ... I want to use a library file in my vb program. ... Public Declare Sub EdrCenterTextA Lib "EdrLib.dll" _ ... when I call the function from my form I get this error message: ...
    (microsoft.public.vb.general.discussion)