OK, I have compiled npgnash.dll successfully using the plugin.h I found in
http://bzr.savannah.gnu.org/lh/gnash/files/10398?file_id=win32-20060806180214-7b
9ymp6ydt7o-1
with small modification.
But I still want to know why it hasn't been included in source code package
released...
2008/12/12 Wei Cao <address@hidden>
It's strange...I download serveral source code packages released,
such as gnash-0.8.1,0.8.2,0.8.3, 0.8.4, there is only one plugin.h
under directory plugin/, and this head file is for unix, not for
win32. I check directory plugin/win32, there is only a plugin.cpp, no
corresponding plugin.h for win32.
but soon I find this site,
http://bzr.savannah.gnu.org/lh/gnash/files/10398?file_id=win32-20060806180214-7b
9ymp6ydt7o-1
it seems a http code repository for gnash, there are five source code files
under plugin/win32, including the missing plugin.h that released source
code packages do not contain. May be these files do not be copied from
trunk to released version by mistake?
I will try them immediately.
2008/12/12 Dossy Shiobara <address@hidden>
Bastiaan Jacques wrote:
>
>
> On Thu, 11 Dec 2008, cao wei wrote:
>
>> Besides, plugin.h needs X11, so I guess it should not be used in
win32,
>> isn't it? Where can I find a usable plugin.h for win32?
>
> As far as I know plugin/win32 has gone largely unmaintained.
However, it
> should not be difficult to modify plugin/plugin.{cpp,h} to compile
on
> windows. The major problem then is to use a GUI which can use the
-x ID
> parameter to rendering into the specified window ID on Microsoft
> Windows. So far as I can remember the only GUI capable of that is
the
> GTK GUI.
Unfortunately, none of the GUIs work with -x on Win32. That's why I
started work on plugin/win32, creating a native npgnash.dll plugin
for
Mozilla that embeds VM in-process.
I'm not sure why cao wei can't build the plugin/win32 directory: it
builds just fine on the buildbot Win2003 slave ... ?
--
Dossy Shiobara | address@hidden | http://dossy.org/
Panoptic Computer Network | http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)