|
Hi Hans,
Thanx for your reply.
As in your given link documentation the code will work for Chrome version 1.
But we want all the information for Chrome version 4,So program failed to find chrome browser running.
To make chrome browser visible for XMSAALibTest exe,We had changed class name of chrome from "Chrome_XPFrame" to "Chrome_WindowImpl_0" in XMSAALibTest program.
And the output is as below for "EnumAllBrowserObjects" button.
XMSAALibTest v1.0
Found Google Chrome browser
Object enumeration started
NAMELESS[window - invisible] {Description: ?, Location: (-31997, -31473, -31947, -31453), Value: ?}
NAMELESS[application - visible,focusable] {Description: ?, Location: (-31997, -31473, -31947, -31453), Value: ?}
NAMELESS[editable text - visible,read only,focusable] {Description: ?, Location: (-31997, -31473, -31947, -31453), Value: ?}
Object enumeration complete
Writing XML to file MSAALib.xml
So we cannot get all information like IE or Firefox in XMSAALibTest.
Do we need to change more things in XMSAALibTest demo program to make XMSAALibTest exe workable for Google chrome version 4?
-Jay
|
|
|
|
|
Have you tried the latest Chrome with any of the other tools I reference in the article?
|
|
|
|
|
yes i tried with all tools and also used tools available from microsoft.
|
|
|
|
|
This sounds like something basic has changed with Chrome. I suggest looking at Usenet/google newsgroups for messages on "IAccessible + Chrome".
Please let us know what you find out.
|
|
|
|
|
hello sirs,
i working one sample application ...when i build the application ..its displaying registry error ...how to solve this problem ..
this is the error message
<br />
error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry. Polygon<br />
thanks
|
|
|
|
|
I suppose the OS is Vista and you are using VS 2005.
You need to be logged as administrator to modify the registry.Try to run Visual Studio as administrator or try to register the library manually with regsvr32.exe .
Life is a stage and we are all actors!
|
|
|
|
|
think about the error message and you will understand what to do. I start VS often with Administrative rights to avoid that error.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Hi,
I am unable to load my test.dll using LoadLibrary() API. I get error code 126 (Module not found)using GetLastError().
By Dependency Walker, I have come to know that my test.dll depends on "xerces-c_2_7.dll" and "Xalan-C_1_10.dll". These dlls were already present on the same path as the exe.Still I am getting the error.
So I tried to load both the above mentioned third party dlls using LoadLibrary() which returned handle as 0x10000000. By GetLastError() I am getting error code 6 (Invalid Handle).
Can anyone please guide me on why I am getting the Invalid Handle error?
HINSTANCE hLib = LoadLibrary(_T("Xalan-C_1_10"));
TCHAR szMessage[MAX_PATH];
FormatMessage(FORMAT_MESSAGE_IGNORE_INSERTS|
FORMAT_MESSAGE_FROM_SYSTEM,
NULL, GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL),
szMessage, MAX_PATH, NULL);
hLib = LoadLibrary(_T("xerces-c_2_7"));
FormatMessage(FORMAT_MESSAGE_IGNORE_INSERTS|
FORMAT_MESSAGE_FROM_SYSTEM,
NULL, GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL),
szMessage, MAX_PATH, NULL);
|
|
|
|
|
Have you tried this:
HINSTANCE hLib = LoadLibrary(_T("test.dll"));
I noticed that the file extension is missing in your sample code.
|
|
|
|
|
Yes. It is not making any difference.
|
|
|
|
|
Member 4504339 wrote: I am unable to load my test.dll using LoadLibrary() API. I get error code 126 (Module not found)using GetLastError()
Are you sure the module is in the LoadLibrary search path?
Member 4504339 wrote: So I tried to load both the above mentioned third party dlls using LoadLibrary() which returned handle as 0x10000000
That's fine.
Member 4504339 wrote: By GetLastError() I am getting error code 6
Why did you call GetLastError while LoadLibrary didn't fail?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
Just as a silly check, try to put test.dll file into the system directory (for instance: C:\Windows\System32 ).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
It's not making any difference.
|
|
|
|
|
Then I would drop any dependance (i.e. make a stub of 'test.dll', an almost-empty DLL just for testing purposes) and then try to load it.
You should stay simple when debugging.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Thanks all for replying. I could able to solve the issue. The problem was not with those two third party dlls. test.dll requires some MFC & Visual Studio specific dlls (mfc90d.dll, msvcp71d.dll, msvcp90d.dll, msvcr90.dll, msvcr90d.dll, msvcr71d.dll).
|
|
|
|
|
If hLib is not NULL , then LoadLibrary() is not failing.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
hLib is NULL for test.dll
|
|
|
|
|
Is it possible that your app is a 64 bit application and your dll an 32 bit dll?
|
|
|
|
|
you should load the dll from the directory where it was installed, so the dll can find the depending modules.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Hii everybody,
Now, i have a project about networking but i must to built a program for my project.
I want to scan port for many host & server & dicevice network.
So, could you show me full code(every programing language) about scan port for range IP that it's simple and quickly.
Thanks you so much
my email: onemore86@yahoo.com.vn
|
|
|
|
|
onemore86 wrote: Now, i have a project about networking but i must to built a program for my project.
I want to scan port for many host & server & dicevice network.
So, could you show me full code(every programing language) about scan port for range IP that it's simple and quickly.
Point #2 in the post "How to ask a question"[^]:
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
OP wrote: every programing language
I thought that part was quite ambitious as well...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I suppose he could get started here[^].
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Hic, my major is not programing but my project relate with it. And i have not enough time start to program a new application.
So, could you help me, thanks a lot
email: onemore86@yahoo.com.vn
|
|
|
|