atl Questions
1
Solved
1
Solved
I'm a bit over my head here and would like some advice on how to go about.
Basicly what I want to do is to be able to render and control silverlight inside my C++ application. I would like somethi...
Avraham asked 22/1, 2011 at 15:15
1
Solved
I'm writing an ATL project and I wonder how should I create classes here.
Right now I have one class created by Add/Class/ATL Simple Object. I want to divide it to smaller classes but method from t...
Oppression asked 6/12, 2010 at 12:37
4
In visual studio 2008 I can create an MFC activex project and it presents a wizard to create a single activex control. I now want to create new controls within this project.
I can't find any way t...
Wappes asked 28/1, 2010 at 1:9
1
Solved
In the .rgs file, there are some registry info, and I want to know how does the info in .rgs file added into regetry?
I have a project AAA and it will generate the file AAA.DLL, and there is a fil...
2
Can you provide an example that through comparation shows the benifit of ATL?
1
Solved
A default ATL Simple Object has the following at the top of its IDL file:
import "oaidl.idl";
import "ocidl.idl";
What are these files for, and how do I know when I need to import them? Is there...
1
Solved
I have written a browser helper object to get the text between the tags and use it for data mining purpose. I tried using it on igoogle (basically to test its capability on gadgets) and it failed i...
5
I start using the visual studio c++ express 2008 at home but there is no ATL in it.
How can I add ATL to visual studio c++ express 2008?
Cocker asked 16/9, 2008 at 12:21
1
Solved
I have this code that uses the USE_CONVERSION macro in a C++ project...
I was wondering if this is written well, (not written by me), and if there's any better ways to do it, without the USES_CONVE...
1
I try to make my WebBrowser control transparent, so if the HTML loaded into it has no background, the underlying window should be visible.
I`ve broke my head trying different ways.
There is a tran...
Carty asked 7/5, 2010 at 13:0
4
Solved
I am using ATL (VS2008, so ATL9 IIRC) to create COM objects and have been using the CComVariant class (defined in atlcomcli.h) to manage VARIANT types. However, there is also another VARIANT wrappe...
1
Solved
I've got an ATL class:
class Foo :
public CComObjectRootEx<CComMultiThreadModel>,
public CComCoClass<Foo, &CLSID_Foo>,
public IPlugin,
public IEventSubscriber
{
// ...
};
I ...
2
Solved
I have read that the following code causes memory leak. But did not understand why.
CComBSTR str;
pFoo->get_Bar(&str);
pFoo->get_Baf(&str);
How does it cause a leak when we are not...
Redtop asked 16/11, 2009 at 23:12
3
Solved
I'm trying to force an existing native C++ ATL in-proc COM server into a separate process. I hope DCOM can do this for me without changing the COM server.
I started with a usual registry setup - I...
Attica asked 10/11, 2009 at 8:40
1
Solved
Resource scripts loaded from .rgs files are used with ATL CComModule::UpdateRegistryFromResource(). It's quite common to see samples of such files on the net but I've never seen a complete descript...
Tonnie asked 20/10, 2009 at 12:33
2
Solved
I have generated an ATL COM object using VS2008 and the code contains references to a definition called _MERGE_PROXYSTUB (because I chose the 'Merge proxy/stub' option when I initially ran the wiza...
4
Solved
I am in the process of learning C++ and came across an article on the MSDN here:
http://msdn.microsoft.com/en-us/magazine/dd861344.aspx
In the first code example the one line of code which my que...
3
Solved
I have an out-of-process COM server written in C++, which is called by some C# client code. A method on one of the server's interfaces returns a large BSTR to the client, and I suspect that this is...
3
Solved
I'm starting to develop a Windows service. I want to use some classes from my own, that has little dependencies to some MFC classes like CString, CSocket, CArchive, CMemFile and CObject. MSDN says ...
Sidon asked 22/7, 2009 at 8:43
4
Solved
I'm trying to return a detailed error to VB6 using CComCoClass::Error, but it seems I can only return an error code /or/ a message - but not both.
return Error(_T("Not connected"), __uuidof(IMyInt...
Perdita asked 1/7, 2009 at 14:51
2
The "ATL simple object" wizard doesn't provide a way to specify that a new class is derived from an existing coclass and its interface. In Visual Studio 2008, how do I make a new ATL COM class deri...
Zabrina asked 17/11, 2008 at 17:39
2
Solved
We have a COM object implemented with C++/ATL that includes a method which will return a DIB. We are also writing a .NET application that will use this COM object. Since we are writing both, we hav...
2
Solved
I'm just starting up a new ATL/WTL project and I was wondering if the global _Module variable is still required?
Back a few years when I started working with WTL it was required (at least for ATL...
© 2022 - 2024 — McMap. All rights reserved.