-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My impression is that standard Delphi uses the Win32 API.
Recently Microsoft has been communicating a problem regarding ATL that requires application developers to rebuild ATL-using applications after installing an update on their machines.
Will this practice be the general case also for Delphi…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a legacy atl app that hosts a webbrowser control in an ATL window. I create an instance of the client to host the browser using the following sequence
CComPtr<IOleObject> spOleObject;
HRESULT hr = CoCreateInstance(CLSID_WebBrowser, NULL, CLSCTX_INPROC, ID_IOleObject,(void**)&spOleObject);
spOleObject->SetClientSite(this);
GetClientRect(&rcClient);
hr…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I'm trying to write a COM EXE using ATL. I also have a MFC application.
Both these applications would be run in local machines. Therefore, I don't
need to run these two processes (COM EXE and MFC) separately.
Can I create a single application (process) by combining these two applications ?
Is…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In our COM project, we need to choose between best string class implementation so that BSTR (used for COM interfaces) and elegant string class like CString provides many string manipulation APIs.
Are there any better way to handle the strings and string operations so that it can be BSTR complaints…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an ATL app where I want to handle WM_POWERBROADCAST. I have a CMainDlg (CAxDialogImpl) in whose MSG_MAP I defined the handler.
BEGIN_MSG_MAP(CMainDlg)
...
MESSAGE_HANDLER(WM_POWERBROADCAST, OnPowerChange)
...
END_MSG_MAP()
However, the handler isn't invoked when I do things that…
>>> More