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)

x86
Windows XP
defect
Not set
normal

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
*** This bug has been marked as a duplicate of 228576 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Severity: blocker → normal
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.