RE: LDAP running on Window CE device always returning LDAP_LOCAL_ERROR
- From: David Miller <DavidMiller@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Apr 2005 18:21:02 -0700
Hi:
More information. I debugged this through an SDK420 Emulator and got the
same behavior. Except debugging through the assembly was easier to read. It
looks like 538 bytes are requested to HeapAllocTrace and 0 bytes are returned.
Since I can't step into HeapAllocTrace, I'm now stuck. Can anyone suggest
anything? Why couldn't memory be allocated from the heap in the emulator?
Thank you,
David.
"David Miller" wrote:
> Hi:
>
> I am debugging a code snippet that runs on my PC, but not on by Windows CE
> (ARMV4I) device. It fails on the first call, ldap_init with a
> LDAP_LOCAL_ERROR. I changed to ldap_open and this fails too with the same
> error.
>
> pLdapConnection = ldap_open( TEXT("server.ldap.com"), LDAP_PORT );
>
> I traced into the assembly code and kind of followed it down this path:
>
> ldap_open
> LdapConnectionOpen
> LdapAllocateConnection
> LdapInitializeWinsock
> LdapInitSecurity
> CreateEventW
> ldapMalloc
> CloseHandle
> SetLastError
> and goes to exitWithError all the way back out to ldap_open.
>
> It appears to be failing on ldapMalloc. But, I don't seem to understand why
> this code would fail this way. Does anyone have any ideas?
>
> Thank you,
>
> David.
.
- Follow-Ups:
- RE: LDAP running on Window CE device always returning LDAP_LOCAL_E
- From: David Miller
- RE: LDAP running on Window CE device always returning LDAP_LOCAL_E
- References:
- LDAP running on Window CE device always returning LDAP_LOCAL_ERROR
- From: David Miller
- LDAP running on Window CE device always returning LDAP_LOCAL_ERROR
- Prev by Date: RE: Virtual COM port driver
- Next by Date: RE: LDAP running on Window CE device always returning LDAP_LOCAL_E
- Previous by thread: LDAP running on Window CE device always returning LDAP_LOCAL_ERROR
- Next by thread: RE: LDAP running on Window CE device always returning LDAP_LOCAL_E
- Index(es):
Relevant Pages
|