About getting DOM from Mozilla Browser.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

About getting DOM from Mozilla Browser.

tanuclassic
Hi all,

I am developing a application in which i want to get the HTML DOM of
any open mozilla browser.
 For this accessibility i have downloaded gecko-sdk.
Made the settings given in the link

 http://developer.mozilla.org/en/Creating_XPCOM_Components/Setting_up_the_Gecko_SDK#Building_a_Microsoft_Visual_Cpp_Project

I have  the ISimpleDOMDocument.idl, ISimpleDOMNode.idl,
ISimpleDOMText.idl  files and generated respective .h and _i.c files.

Now when i compile this files in my application code i get lots and
lots of errors.

The first one is
 fatal error C1010: unexpected end of file while looking for
precompiled header. Did you forget to add '#include "stdafx.h"' to
your source?

Can any body tell me what's going in.
I have tried everything i could but no luck. Please reply asap, its
urgent.
I am using VS 2006.
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: About getting DOM from Mozilla Browser.

Oliveiros Cristina-2
My first thought is that you have your project configured to use precompiled
headers,
but you are not including them on the file that triggered that error.
As message says, have you included the stdafx.h precompiled header on that
file?

Best,
Oliveiros

2008/9/26 <[hidden email]>

> Hi all,
>
> I am developing a application in which i want to get the HTML DOM of
> any open mozilla browser.
>  For this accessibility i have downloaded gecko-sdk.
> Made the settings given in the link
>
>
> http://developer.mozilla.org/en/Creating_XPCOM_Components/Setting_up_the_Gecko_SDK#Building_a_Microsoft_Visual_Cpp_Project
>
> I have  the ISimpleDOMDocument.idl, ISimpleDOMNode.idl,
> ISimpleDOMText.idl  files and generated respective .h and _i.c files.
>
> Now when i compile this files in my application code i get lots and
> lots of errors.
>
> The first one is
>  fatal error C1010: unexpected end of file while looking for
> precompiled header. Did you forget to add '#include "stdafx.h"' to
> your source?
>
> Can any body tell me what's going in.
> I have tried everything i could but no luck. Please reply asap, its
> urgent.
> I am using VS 2006.
> _______________________________________________
> dev-accessibility mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-accessibility
>



--
On a visit to the NASA space center, President Kennedy spoke to a man
sweeping up in one of the buildings. "What's your job here?" asked Kennedy.
"Well Mr. President," the janitor replied, "I'm helping to put a man on the
moon".

Anonymous
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: About getting DOM from Mozilla Browser.

tarun sharma-3
Hi,
I have included.
most of the errors are gone but i still have error come like

Error    7    error C2556: 'void _purecall(void)' : overloaded function differs only by return type from 'int _purecall(void)'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\dlldata.cpp    36
Error    8    error C2371: '_purecall' : redefinition; different basic types    d:\uppfylla\svn\trunk\win32client\ie\mozilla\dlldata.cpp    36
Error    26    error C2440: 'initializing' : cannot convert from 'unsigned long (__stdcall *)(unsigned long *,unsigned long,BSTR *)' to 'USER_MARSHAL_SIZING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomdocument_p.cpp    349
Error    27    error C2440: 'initializing' : cannot convert from 'unsigned char *(__stdcall *)(unsigned long *,unsigned char *,BSTR *)' to 'USER_MARSHAL_MARSHALLING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomdocument_p.cpp    350
Error    28    error C2440: 'initializing' : cannot convert from 'unsigned char *(__stdcall *)(unsigned long *,unsigned char *,BSTR *)' to 'USER_MARSHAL_UNMARSHALLING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomdocument_p.cpp    351
Error    29    error C2440: 'initializing' : cannot convert from 'void (__stdcall *)(unsigned long *,BSTR *)' to 'USER_MARSHAL_FREEING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomdocument_p.cpp    352
Error    30    error C2078: too many initializers    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomdocument_p.cpp    422
Error    37    error C2440: 'initializing' : cannot convert from 'unsigned long (__stdcall *)(unsigned long *,unsigned long,BSTR *)' to 'USER_MARSHAL_SIZING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomnode_p.cpp    832
Error    38    error C2440: 'initializing' : cannot convert from 'unsigned char *(__stdcall *)(unsigned long *,unsigned char *,BSTR *)' to 'USER_MARSHAL_MARSHALLING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomnode_p.cpp    833
Error    39    error C2440: 'initializing' : cannot convert from 'unsigned char *(__stdcall *)(unsigned long *,unsigned char *,BSTR *)' to 'USER_MARSHAL_UNMARSHALLING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomnode_p.cpp    834
Error    40    error C2440: 'initializing' : cannot convert from 'void (__stdcall *)(unsigned long *,BSTR *)' to 'USER_MARSHAL_FREEING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomnode_p.cpp    835
Error    41    error C2078: too many initializers    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomnode_p.cpp    923
Error    15    error C2440: 'initializing' : cannot convert from 'unsigned long (__stdcall *)(unsigned long *,unsigned long,BSTR *)' to 'USER_MARSHAL_SIZING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomtext_p.cpp    383
Error    16    error C2440: 'initializing' : cannot convert from 'unsigned char *(__stdcall *)(unsigned long *,unsigned char *,BSTR *)' to 'USER_MARSHAL_MARSHALLING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomtext_p.cpp    384
Error    17    error C2440: 'initializing' : cannot convert from 'unsigned char *(__stdcall *)(unsigned long *,unsigned char *,BSTR *)' to 'USER_MARSHAL_UNMARSHALLING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomtext_p.cpp    385
Error    18    error C2440: 'initializing' : cannot convert from 'void (__stdcall *)(unsigned long *,BSTR *)' to 'USER_MARSHAL_FREEING_ROUTINE'    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomtext_p.cpp    386
Error    19    error C2078: too many initializers    d:\uppfylla\svn\trunk\win32client\ie\mozilla\isimpledomtext_p.cpp    454
Error    1    error C2146: syntax error : missing ';' before identifier 'Vtbl'    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    2    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    3    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    4    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    5    error C2143: syntax error : missing ';' before '*'    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    6    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    9    error C2146: syntax error : missing ';' before identifier 'Vtbl'    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    10    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    11    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    12    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    13    error C2143: syntax error : missing ';' before '*'    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    14    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    20    error C2146: syntax error : missing ';' before identifier 'Vtbl'    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    21    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    22    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    23    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    24    error C2143: syntax error : missing ';' before '*'    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    25    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    31    error C2146: syntax error : missing ';' before identifier 'Vtbl'    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    32    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    33    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    175
Error    34    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    35    error C2143: syntax error : missing ';' before '*'    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192
Error    36    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcproxy.h    192


TARUN SHARMA,.

--- On Fri, 9/26/08, Oliveiros Cristina <[hidden email]> wrote:
From: Oliveiros Cristina <[hidden email]>
Subject: Re: About getting DOM from Mozilla Browser.
To: [hidden email]
Cc: [hidden email]
Date: Friday, September 26, 2008, 8:14 AM

My first thought is that you have your project configured to use precompiled
headers,
but you are not including them on the file that triggered that error.
As message says, have you included the stdafx.h precompiled header on that
file?

Best,
Oliveiros

2008/9/26 <[hidden email]>

> Hi all,
>
> I am developing a application in which i want to get the HTML DOM of
> any open mozilla browser.
>  For this accessibility i have downloaded gecko-sdk.
> Made the settings given in the link
>
>
>
http://developer.mozilla.org/en/Creating_XPCOM_Components/Setting_up_the_Gecko_SDK#Building_a_Microsoft_Visual_Cpp_Project

>
> I have  the ISimpleDOMDocument.idl, ISimpleDOMNode.idl,
> ISimpleDOMText.idl  files and generated respective .h and _i.c files.
>
> Now when i compile this files in my application code i get lots and
> lots of errors.
>
> The first one is
>  fatal error C1010: unexpected end of file while looking for
> precompiled header. Did you forget to add '#include
"stdafx.h"' to

> your source?
>
> Can any body tell me what's going in.
> I have tried everything i could but no luck. Please reply asap, its
> urgent.
> I am using VS 2006.
> _______________________________________________
> dev-accessibility mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-accessibility
>



--
On a visit to the NASA space center, President Kennedy spoke to a man
sweeping up in one of the buildings. "What's your job here?"
asked Kennedy.
"Well Mr. President," the janitor replied, "I'm helping to
put a man on the
moon".

Anonymous
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility



     
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility