rv = XPCOMGlueStartup("c:\program files\mozilla\firefox\xpcom.dll");
nsCString s("c:\program files\mozilla\firefox");
Don't you need to escape the '\' in the path with '\\' ?
___
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https
I was going to say 'have you looked at uBrowser, but looking at the
readme I concluded that that would be useless :-)
Heh.. I'll roll this code into uBrowser once I get it working.
I'm not a Gecko expert, but if Gecko doesn't support what you want,
maybe it is possible to hook into the invalid
I am using an embedded version and copying what gets rendered into a
buffer which I use later. I'm currently copying the whole page at 15Hz
which is very wasteful if nothing much is changing.
The various overloaded Invalidate() methods in nsWindow tell me which
areas have changed and I'd like
I would like to observe events in nsWindow.cpp from the body of my application so that when a method
in nsWindow is called, my application can retrieve some (integer) values.
nsWindow::DispatchEvent(...) looks like it might do what I need (via a helper method) but I don't
know how to 'catch' ev
My application that embeds Gecko grabs the output of a rendered page into a chunk of memory and
displays it elsewhere. In order for this approach to work with pages that have any form of dynamic
content, I need to grab the whole page frequently - I'm currently doing it at 15Hz.
Whilst this work
1, 2006, at 10:32 AM, Callum Prentice wrote:
I'm using an embedded instance Gecko for some of my application UI and
sometimes want to do things in C++ land when an HTML link is clicked.
I can catch the click via observers and the HandleEvent() method and
get the relevant attributes from the a
I'm using an embedded instance Gecko for some of my application UI and
sometimes want to do things in C++ land when an HTML link is clicked.
I can catch the click via observers and the HandleEvent() method and get
the relevant attributes from the anchor tag but after doing so I want to
stop th
You could try creating your content and strings and passing it as a URL like
this:
data:text/html,hello world
or
data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2240%25%22%20fill%3D%22red%22%2F%3E%3C%2Fsvg%
Many thanks for the suggestions - changing Cygwin configuration from
'Unix/Binary' to 'DOS/text' did the trick for me.
What's strange is that it used to work and (to the best of my
knowledge), nothing has changed on my dev box - same Cygwin, same MSVC
install, same checkout, same .mozconfig. T
Niky - may not be that useful but if you're looking for some more example code, you might try
looking at http://ubrowser.com - there is source and an example exe there.
It's something I've put together as a testbed for something I'm doing at work - might be a few
nuggets of useful information t
I kicked off a Windows build that's been sitting on my machine for weeks it fails when trying to
compile nsDependentString.cpp with the following error:
"c:\mozilla\objdir-opt-xulrunner-small\dist\include\string\nsString.h(55) : fatal error C1083:
Cannot open include file: '': No such file or d
Is that Firefox 1.5.0.1, which AFAIK, is branch 1.8?
May not be useful info but just in case - I'm also on that branch but using a 'libxul' build instead
of a 'browser' one. I do see an embed_base_s.lib in dist\lib, although I'm not linking against it.
The only thing that comes to mind is that
http://www.ubrowser.com/downloads.php
There might be something useful here - sounds like it's a bit like what you
want to do.
Cal.
___
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding
13 matches
Mail list logo