Netscape Plug-in

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++.
LVL 27
BigRatAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

intheCommented:
hi
have you looked here:
http://developer.netscape.com/
probably nothing for delphi butthere is a framework here:
http://ourworld.compuserve.com/homepages/mikes/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jeurkCommented:
Hello,
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
http://www.geocities.com/SiliconValley/Pines/7004/DLPEPAGE.HTM

and
You may ask
http://www.dataweb.nl/~r.p.sterkenburg/NPDemoWMF.html
to let you know his sources.
0
BigRatAuthor Commented:
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.
0
BigRatAuthor Commented:
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!!
0
intheCommented:
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 :-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.