Ulong ll_rc
String ls_null
Application la_app
SetNull( ls_null)
la_app = GetApplication()
ll_rc = InternetOpenA( la_app.AppName, &
ai_accesstype, ls_null, ls_null, 0 )
iul_errorcode = GetLastError()
RETURN ll_rc
the error I get is 0082:reference argument must be a non-constant and
non-readonly variable reference
why would this happen? I am not passing in any arguments.
Tyler Craft wrote:
> Try to replace
>
> la_app = GetApplication()
> ll_rc = InternetOpenA( la_app.AppName, &
> ai_accesstype, ls_null, ls_null, 0 )
>
> with
>
> la_app = GetApplication()
> ls_appName = la_app.AppName
> ll_rc = InternetOpenA( ls_appName, &
> ai_accesstype, ls_null, ls_null, 0 )
>
> Tyler
>
>
> "Steve DeWitt" <everythi...@hotmail.com> wrote in message
> news:OLUMe06TDHA.349@forums-2-dub...
la_app = GetApplication()
ll_rc = InternetOpenA( la_app.AppName, &
ai_accesstype, ls_null, ls_null, 0 )
with
la_app = GetApplication()
ls_appName = la_app.AppName
ll_rc = InternetOpenA( ls_appName, &
ai_accesstype, ls_null, ls_null, 0 )
Tyler
"Steve DeWitt" <everythi...@hotmail.com> wrote in message
news:OLUMe06TDHA.349@forums-2-dub...