C language > Tips & tricks

ATL example

(1/2) > >>

TimoVJL:
There was an ATL example, but it disappeared ?
It was so good, that i have try to do similar one.

czerny:
You can use "MSCAL.Calendar" or "MSHTML:<H1>Hello World</H1>" instead of "http://forum.pellesc.de" for example.

czerny:
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?

TimoVJL:

--- Code: ---HRESULT __declspec(dllimport) WINAPI AtlAxGetControl(HWND hwnd, IUnknown** unk);
--- End code ---
atlx.def
--- Code: ---LIBRARY ATL.DLL
EXPORTS
"_AtlGetVersion@4"
"_AtlAxWinInit@0"
"_AtlAxGetControl@8"

--- End code ---

czerny:
Thanks!!

Navigation

[0] Message Index

[#] Next page

Go to full version