News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Load a webpage

Started by Farabi, January 01, 2011, 11:57:31 AM

Previous topic - Next topic

Farabi

How to load a webpage on our application? Especially flash?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

donkey

ATL will do that for you.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

dedndave

wow this is cool, Edgar - i can't get a CR/LF though - lol

EDIT - i couldn't get a TAB, either

now all we need is an atl.inc and atl.lib   :P

donkey

Hi Dave,

I have to admit that I haven't really looked at that code for quite some time. I did the demo as a test piece when I was writing Help2 Viewer, mostly just to try out ideas without polluting the main projects code. There are better ways to load web pages than ATL but the development time for ATL is pretty short so I usually use it.

Jeremy did a demo here:

http://www.masm32.com/board/index.php?topic=7247.0
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

Farabi

Quote from: donkey on January 01, 2011, 06:34:55 PM
ATL will do that for you.

Very cool edgar but it seems your exe is injected by sality virus, but maybe a false positive alarm.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

donkey

Its a false positive, your AV software is probably finding some signature in there that it doesn't like. Avira doesn't find anything...

QuoteStart of the scan: Sunday, January 02, 2011  00:51

Starting the file scan:

Begin scan in 'C:\Programming\RadASM\GoAsm\Projects\ATLDemo\ATLDemo.exe'


End of the scan: Sunday, January 02, 2011  00:51
Used time: 00:00 Minute(s)

The scan has been done completely.

      0 Scanned directories
      1 Files were scanned
      0 Viruses and/or unwanted programs were found
      0 Files were classified as suspicious
      0 files were deleted
      0 Viruses and unwanted programs were repaired
      0 Files were moved to quarantine
      0 Files were renamed
      0 Files cannot be scanned
      1 Files not concerned
      0 Archives were scanned
      0 Warnings
      0 Notes

Bet you're using AVG.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

Farabi

No I used smadav.
Anyway, where is the ATLAPI header and dll is? Is it included on XP?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

caseys

no viruses found =]

https://www.virustotal.com/file-scan/report.html?id=c8402df4e5358ddac9e2b2c18fceb9a7293bdc53c88f858e95e8c623f5e2234f-1293963916




File name: ATLDemo.exe
Submission date: 2011-01-02 10:25:16 (UTC)
Current status: finished
Result: 1/ 41 (2.4%)

Comodo 7270 2011.01.02 Heur.Packed.Unknown

Uf, never been so hard to understand

donkey

Quote from: Farabi on January 02, 2011, 09:18:35 AM
No I used smadav.
Anyway, where is the ATLAPI header and dll is? Is it included on XP?

The Active Template Library (ATL) is shipped with Windows (atl.dll). The header is available with Visual studio if you're using C/C++ and with the GoAsm headers if you are using GoAsm. I am sure someone must have done one for MASM at some point so you should be able to find it or worst case make one yourself. You will also need the control (dispatch) header for any controls (such as exdisp.h for the webrowser) that you want to use in an ATL container, like the atl header they can be found in the Visual studio or GoAsm headers.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

Gunner

you don't have to use an inc file, you can LoadLibrary the atl dll...

I had this for a while... Played around with it... works.. take a look at it...
~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com

Farabi

Quote from: Gunner on January 02, 2011, 04:44:07 PM
you don't have to use an inc file, you can LoadLibrary the atl dll...

I had this for a while... Played around with it... works.. take a look at it...

:U Thanks gunner.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Magnum

Your "mini-browser" code is pretty neat.

Have a great day,
                         Andy

dedndave

i notice it has the same little issue as Edgar's
i can't get the Enter or Tab keys to work
i am sure it is because these are simple demo programs, not intended to be fully functional

Magnum

We are confident that you can fix it.

Have a great day,
                         Andy

dedndave




<<<<<<<<<<<------------------- frigin clueless   :lol