Hello,
I have an access violation using GoToPage procedure :
Can you please show me an example of use ?
Thank-you
Hello,
I have an access violation using GoToPage procedure :
Can you please show me an example of use ?
Thank-you
What code did you use? And how do you call it? Access violation may come from the extensive use of multithreading in ExeOutput.
My code :
procedure GoUrl(Url, Text : String);
begin
GoToPage(Url,SW_SHOWNORMAL);
end;
My use:
echo exo_return_hescriptcom (‘AllTest.GoUrl|test.php|“Go”’,‘Error’);
Thank-you !
First try
GoToPage(Url,"");
Then in PHP:
exo_runhescriptcom ('AllTest.GoUrl|test.php');
exo_return_hescriptcom expects a function. You have defined a procedure that does not return any result.
Finally, in PHP, it would be better to use a header location to redirect the browser to the new page. ExeOutput handles page redirection from PHP.