The first thing you need to do is to get Netscape's Plug-In SDK, if you
haven't already. The SDK includes header files, examples with source code,
documentation, and a Java runtime interface. It is available free of charge
from Netscape's Web site (home.netscape.com). For this example, you need
only the header files.
After you get the SDK, create a new project with Visual C++. Begin the
project name with NP and create a Windows DLL without using the Microsoft
Foundation Classes (MFC). Avoiding MFC reduces a plug-in's size
considerably, saving download time for your prospective users.
Once the DLL is created, insert a version resource into your project. Change
the block-header properties' code page to Windows Multilingual by
double-clicking on the Block Header box. You can add the plug-in-specific
resource information directly to the version resource by opening the .rc
file as text and adding the resource keys MIMEType, FileExtents, and
FileOpenName. For this example, the added resource entries look like this:
Joseph S. Barrera III <email@example.com>
Phone, Office: (415) 778-8227; Cellular: (415) 601-3719; Home: (415)
The opinions expressed in this message are my own personal views and do not
reflect the official views of Microsoft Corporation.