Closed Bug 90538 Opened 24 years ago Closed 24 years ago

[mfcEmbed]Downloading files crashes mfcembed.exe

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Windows NT
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bmartin, Assigned: chak)

References

Details

(Keywords: crash)

Attachments

(4 files)

Latest mfcembed dated 07-11-01 O/S: Win2000 System: HP Vectra VL PIII-500MHz 128MB RAM Steps: 1. Download and extract latest embed-win32.zip 2. Launch mfcEmbed.exe 3. Go to http://www.apple.com/quicktime/download/ and try to download QuickTime Results: "Program Error - mfcembed.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created." I will attach the error log.
Attached file error log
Keywords: crash
Yet another packaging issue... Works fine from the $DIST/bin dir. However, fails to show the external helper app dialog when run from the Embed packaging dir.
Instead of packaging the XUL files we decided to show embeddors how to override the helper app handling UI.
Hi Dan : Can you r=when you get a chance?
Rather than building up the factory by hand, you should use the NS_GENERIC_FACTORY_CONSTRUCTOR (here's an example http://lxr.mozilla.org/seamonkey/source/netwerk/build/nsNetModule.cpp#68) macro. That will clean out a lot of boilerplate code. It will also allow for this component to be used in a static build configuration which requires modules to register their factories w/ the macros. nit. In CChooseActionDlg::OnInitDialog()... you can collapse the two "if (mimeInfo)" stmts into one. Just drop the InitW/PerferredAction into the previous "if (mimeInfo)". after the factory change. r=valeski.
Hi Jud : Regarding your comments... 1. Took care of the two "if(mimeinfo)" checks by collapsing into one 2. I'm not able to use the NS_GENERIC_FACTORY_CONSTRUCTOR since i need to pass in an |nsIFactory*| to RegisterFactory()[please see the latest patch]. Since using the NS_GENERIC_FACTORY_CONSTRUCTOR macro depends on the GenericFactory i need to be able to specify the GenericFactory in the call to RegisterFactory. - I'm not sure how to get an interface pointer to the GenericFactory Guess that's why Danm's using the non-generic factory approach to override the PromptService as well. Thanks
hmmm. sounds like a deficiency, but what you're saying makes sense. r=valeski.
Hi Chris : Can i get an sr= when you get a chance...Thanks
Status: NEW → ASSIGNED
sr=blizzard
Fix has been checked in....
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** Bug 57884 has been marked as a duplicate of this bug. ***
Clean up verification of dated code change bus
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: