Netscape Plug-in

Posted on 1999-12-02
Medium Priority
Last Modified: 2010-04-04
I'm considering writing a plug-in for a specific application mime-type for the Netscape browser. Normally one writes this in C++ according to Netscape's API which I have downloaded. But has anybody done this in Delphi? Delphi is much nice than C++, and I would rather wroite it in Delphi as in C++.
Question by:BigRat
  • 2
  • 2
LVL 17

Accepted Solution

inthe earned 150 total points
ID: 2250875
have you looked here:
probably nothing for delphi butthere is a framework here:

Expert Comment

ID: 2252015
I have two links for you :
Port of Netscape Plugin / LiveConnect SDK V30b5 to Delphi 2,3
with javapas, a equivalent of javah for pascal

You may ask
to let you know his sources.
LVL 27

Author Comment

ID: 2252333
inthe: I have looked around developer.netscape.com and downloaded the SDK (for C++). The second link gave me a Delphi program which makes an embedded window. I'm studying the source and will let you know shortly.

jeurk: I have downloaded the first link and will study it. From second link I downloaded a NPWMF.DLL file which causes and error (Netscape.exe not found) when started under MS IE4.0.

I want in fact to have a plug-in which actually functions like an FTP dialog box (ie: I want to actually do a download). I shall access a server which will send short files of a specific mime type. These shall be intercepted by the plug-in, loaded and converted in memory, displayed in a text area in the dialog box, and when the user presses a button on the box, I want to make an HTTP request, multipart-form, to a specific server sending the converted data as a file. Currently the user loads the file to the local disk, switches URLs and enters the file name on a form which is then sent to the server. A plug-in would make life a lot easier and leave no local files which have to be deleted later lying around.
LVL 27

Author Comment

ID: 2259753
I have investigated your answers and have established that inthe's reference to mikes homepage is the best answer so far.
   There is nothing Delphi-wise on the Netscape site, the WMF demo didn't work, and the java/Pascal site was way off the point.
   I have made some changes to "mikes" code and I am now on the way to making the Plug-in which I wanted.
   Thanks anyway lads!!
LVL 17

Expert Comment

ID: 2259784
sorry not such great links ,probably becuase of the twebbrowser and many examples for ie people dont do so much netscape stuff in delphi.
all the best :-)

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question