Hello,


I want to use the function ldap_backup_object, it is in the ldapx.dll.

The client PC is Windows 7 pro 64 bit.

The ldap server is an OES 11sp3.


I have compiled the example backup.c with Visual Studio 2013. A win32 console application.

Every time I call the function, I get two "breaks" when I debug the program:


In the even window I get:

HEAP[ConsoleApplication1.exe]: Invalid address specified to RtlFreeHeap( 007A0000, 00281440 )
ConsoleApplication1.exe has triggered a breakpoint.


HEAP[ConsoleApplication1.exe]: Invalid address specified to RtlFreeHeap( 007A0000, 00281228 )
ConsoleApplication1.exe has triggered a breakpoint.


The information returned is correct (as far as I can see).


Running the program from the commandline it crashes.


-----


Did the same from Delphi (XE5)

I get also two "breaks"

Debug Output: HEAP[testlapx.exe]: Process testlapx.exe (9424)
Debug Output:
Invalid address specified to RtlFreeHeap( 002F0000, 00290C40 )


Process testlapx.exe (9424)
Non-user Breakpoint at $76F60575. Process testlapx.exe (9424)
Debug Output: HEAP[testlapx.exe]: Process testlapx.exe (9424)
Debug Output:
Invalid address specified to RtlFreeHeap( 002F0000, 00294DC8 )


The returned information is correct.


Have tried the "normal" ldapsdk/ssl/x and the "debug" versions. (date 29-10-2013).


All other functions in the ldapx work normal.

Can anyone confirm that there is a problem with this function.

Or post a working example?


Thx in advance