a compile problem .
the program can't find "GRE_GetGREPathWithProperties" in
"libxpcomglue.a"
c++ -g -o test -I ../mozilla/dist/include -DDEUBG -DXPCOM_GLUE -I../
mozilla/dist/sdk/include -L../mozilla/dist/bin -Wl,-rpath-link,../
mozilla/dist/bin/ -L../mozilla/dist/sdk/lib ./libxpcomglue.a -
lem
p; cleanup
#ifndef HACK_AROUND_NONREENTRANT_INITXPCOM
nsresult rv = NS_ShutdownXPCOM(sServiceManager);
NS_ENSURE_SUCCESS(rv, rv);
#endif
return NS_OK;
}
On Jan 5, 2:33 pm, Brightman <[EMAIL PROTECTED]> wrote:
> when the browser loaded url "http://13602849046.bokee.com/&qu
when the browser loaded url "http://13602849046.bokee.com/"; and exit,
it core dump
#0 0x002a95bf37e2 in nsDiskCacheRecord::HashNumber (this=0x400)
at nsDiskCacheMap.h:139
139 PRUint32 HashNumber() const { return
mHashNumber; }
(gdb) bt
#0 0x002a95bf37e2 in nsD
in the file of "mozilla/parser/htmlparser/robot/test/RobotMain.cpp",
the object of "docShell" is null,how to create this object?
as docShell is null,webNav can't load url.
___
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozil
On Oct 17, 2:46 am, "tonikitoo (Antonio Gomes)" <[EMAIL PROTECTED]>
wrote:
> you can take a look at permissions.default.image preference
>
> > i don't want GtkMozEmbed to display imags.
>
> --
> --Antonio Gomes
where is permissions.default.image preference?
or which api?
_
i don't want GtkMozEmbed to display imags.
___
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding
On Sep 26, 12:00 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> Brightman wrote:
> > mNavigation->LoadURI(mURI.get(),// URI
>
> I thought it was something like that. LoadURI does the load asynchronously.
>
> > //get curre
On Sep 24, 9:49 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> Brightman wrote:
> > thank u very much!
> > "a" or "A", the length of nodelist is 0
>
> > but GetElementsByTagName(NS_LITERAL_STRING("body"),),
> > nodeli
Nickolay Ponomarev ??:
> On 9/24/07, Brightman <[EMAIL PROTECTED]> wrote:
>
>> my code as follow,but it does't work :(
>>
>>
> "Doesn't work" meaning what exactly?
>
> Did you check that "a" elements are lowercase in
my code as follow,but it does't work :(
nsCOMPtr domDoc;
nsresult res = mNavigation->GetDocument(getter_AddRefs(domDoc));
nsCOMPtr nodelist;
res = domDoc-
>GetElementsByTagName(NS_LITERAL_STRING("a"),getter_AddRefs(nodelist));
PRUint32 index;
PRUint32 length;
res = nodelist->GetLength(&length);
p
1;
}
char *lastSlash = strrchr(xpcomPath, '/');
if (lastSlash)
*lastSlash = '\0';
setenv("MOZILLA_FIVE_HOME", xpcomPath, 0);
char *home_path;
char *full_path;
home_path = getenv("HOME");
if (!home_path) {
fp
On Sep 18, 1:23 am, Christian Biesinger <[EMAIL PROTECTED]> wrote:
> Brightman wrote:
> > [EMAIL PROTECTED]:~/mozilla/embedding/examples$ ./test
> > hello world
> > Couldn't set greDir.(rv = 0xc1f30001)
>
> How are you compiling/linking the code? Ar
On Sep 13, 10:35 pm, Benjamin Smedberg <[EMAIL PROTECTED]> wrote:
> Brightman wrote:
> > char* grePath ="/home/brightman/mozilla/dist/bin"; rv =
> > NS_NewLocalFile(nsEmbedString((const
> > PRUnichar*)grePath),PR_TRUE,getter_AddRefs(greDir));
>
> You are
quot;
int main(int argc,char **argv)
{
printf("hello world\n");
nsresult rv;
nsCOMPtr greDir = nsnull;
char* grePath ="/home/brightman/mozilla/dist/bin";
rv = NS_NewLocalFile(nsEmbedString((const
PRUnichar*)grePath),PR_TRUE,getter_AddRefs(greDir));
if (NS_FAILED
[EMAIL PROTECTED]:~/mozilla/embedding/examples$ make
/usr/bin/make export
make[1]: Entering directory `/backup/brightman/mozilla/embedding/examples'
make[1]: Leaving directory `/backup/brightman/mozilla/embedding/examples'
/usr/bin/make libs
make[1]: Entering directory `/backup/brightm
are you resolve this problem?
i want to use gecko to parse url from html builded by javascript,
could you send me your source code ?([EMAIL PROTECTED])
thanks
On Aug 17, 7:19 pm, [EMAIL PROTECTED] wrote:
> I probably put it wrong. I need to crawl data that's behind forms, and
> what I've been doin
16 matches
Mail list logo