NO

Author Topic: ATL example  (Read 2389 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1836
ATL example
« on: June 28, 2013, 06:19:37 pm »
There was an ATL example, but it disappeared ?
It was so good, that i have try to do similar one.
« Last Edit: June 28, 2013, 06:21:13 pm by timovjl »
May the source be with you

czerny

  • Guest
Re: ATL example
« Reply #1 on: June 29, 2013, 05:48:24 pm »
You can use "MSCAL.Calendar" or "MSHTML:<H1>Hello World</H1>" instead of "http://forum.pellesc.de" for example.
« Last Edit: June 29, 2013, 05:52:05 pm by czerny »

czerny

  • Guest
Re: ATL example
« Reply #2 on: June 30, 2013, 10:58:58 am »
Tried "OWC.Spreadsheet.9" and it works.

But now I need AtlAxGetControl()?

The ATL header files are in PSDK but they need C++.
Is there a way to make this work?


Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1836
Re: ATL example
« Reply #3 on: June 30, 2013, 11:04:45 am »
Code: [Select]
HRESULT __declspec(dllimport) WINAPI AtlAxGetControl(HWND hwnd, IUnknown** unk);atlx.def
Code: [Select]
LIBRARY ATL.DLL
EXPORTS
"_AtlGetVersion@4"
"_AtlAxWinInit@0"
"_AtlAxGetControl@8"
May the source be with you

czerny

  • Guest
Re: ATL example
« Reply #4 on: June 30, 2013, 08:23:23 pm »
Thanks!!

Offline bitcoin

  • Member
  • *
  • Posts: 49
Re: ATL example
« Reply #5 on: April 10, 2019, 11:41:31 pm »
I can not understand this source code.
How does C "know" that it is the browser object that needs to be called?
What else can be placed on the form (in the window)?

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1836
Re: ATL example
« Reply #6 on: April 11, 2019, 07:53:44 am »
That ATL control container choose that control.
Q192560
ATL Control Containment FAQ
May the source be with you