I call the getlasterror() function from the KERNEL32.DLL. I was hoping
to get the ftp error messges.
I would also use a dllspy to see what else is being called from the wininet
api.
Tyler
"Steve DeWitt" <everythi...@hotmail.com> wrote in message
news:#Ec2kk8TDHA.145@forums-2-dub...
--
Chris Keating
Sybase Adaptive Server Anywhere Professional Version 8
Sybase TechWave User Training and Solutions conference -- August 4 - 8, 2003
in Orlando, FL. -- A great place for education and in-depth discussions
on all our technology, future trends in the market, not to mention getting
time with the engineers who create the products! For more information,
visit http://www.ianywhere.com/techwave2003
iAnywhere Solutions http://www.iAnywhere.com
** Please only post to the newsgroup
** Whitepapers can be found at http://www.iAnywhere.com/developer
** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm
** Use CaseXpress to report bugs http://casexpress.sybase.com
"Steve DeWitt" <everythi...@hotmail.com> wrote in message
news:#Ec2kk8TDHA.145@forums-2-dub...
return InternetCloseHandle(au_session)
iul_errorcode = GetLastError()
is this what you are asking for?
> Can you post your code where you get the error including the external
> declaration of the ftp function.
>
> Are you declaring the return value in PB from GetLastError as a long?
>
> Are you calling GetLastError() immediately in response to an error return
> value from the ftp call?
>
> steve
> [TeamSybase]