Closed
Bug 228575
Opened 22 years ago
Closed 22 years ago
Can't read PostData with 'BeforeNavigate2' function
Categories
(Core Graveyard :: Embedding: ActiveX Wrapper, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 228576
People
(Reporter: oblottin, Assigned: adamlock)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.5) Gecko/20031007
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.5) Gecko/20031007
I write a program with Delphi. I use last version of Mozilla ActiveX Component
(v1.5). With a call of 'BeforeNavigate2' function, i don't know how to read
values of PostData. Type of PostData is OleVariant. I send POST data is my HTML
page. Impossible to read as string. With IE component my tests are OK. What's
the problem.
Reproducible: Always
Steps to Reproduce:
Delphi code :
-------------
procedure TfrmNavigation.BrowserBeforeNavigate2(ASender: TObject; const pDisp:
IDispatch; var URL, Flags, TargetFrameName, PostData, Headers: OleVariant; var
Cancel: WordBool);
var
data : string;
begin
data := {unknow_function} (PostData) // how to convert postdata as string ?
ShowMessage (data);
end;
Actual Results:
nothing, empty
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 228576 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•22 years ago
|
Severity: blocker → normal
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•