Click here to Skip to main content
15,926,062 members
Home / Discussions / COM
   

COM

 
GeneralAdding a progress bar in ATL Pin
scoob18-Oct-01 7:53
scoob18-Oct-01 7:53 
GeneralInterfacing w/ IE, andIOleControl Pin
IGx8917-Oct-01 15:49
IGx8917-Oct-01 15:49 
GeneralRe: Interfacing w/ IE, andIOleControl Pin
Erik Thompson18-Oct-01 8:29
sitebuilderErik Thompson18-Oct-01 8:29 
GeneralRe: Interfacing w/ IE, andIOleControl Pin
IGx8918-Oct-01 12:56
IGx8918-Oct-01 12:56 
GeneralRe: Interfacing w/ IE, andIOleControl Pin
IGx8919-Oct-01 5:43
IGx8919-Oct-01 5:43 
GeneralATL that importing DLL Pin
mimi17-Oct-01 0:58
mimi17-Oct-01 0:58 
GeneralRe: ATL that importing DLL Pin
kumar_p317-Oct-01 16:55
kumar_p317-Oct-01 16:55 
GeneralThank you . more details. Please Help Pin
mimi17-Oct-01 22:45
mimi17-Oct-01 22:45 
I must provide dll that will match to every language !!!
I did exctention dll that works well in vc but NOT in another.
I understood that the best way for me (as beginner at this subject) is to use the Wizard of ATL COM with suppot MFC and importe my mfc dll to it.
When I run it by client program (exe) the atl it works !
but the imported function (ShowDialog) dont performed. WHY ????????
------------------------------------------------------------
My steps:
1. I opened project: ATL COM Wizard. [DLL] [MFC Support]
2. I inserted to the library that created the file : MyMfcDll.dll
and attached to the ATL project the files : MyMfcDll.h , MyMfcDll.lib
3. I Added by wizard ATL class [MyClass] [single] [dual]
4. I added by wizard method [ShowMfcDialog] to IMyClass and fill it so :
___________________________________________

extern "C" __declspec(dllimport) void ShowDialog();

STDMETHODIMP CAtlObj::ShowMfcDialog()
{
AFX_MANAGE_STATE(AfxGetStaticModuleState())
AfxMessageBox(".....");
ShowDialog();
return S_OK;
}

GeneralRe: ATL that importing DLL Pin
mimi17-Oct-01 23:52
mimi17-Oct-01 23:52 
GeneralMaking things pretty by returning BSTR's (ATLCOM) Pin
Tim Rymer16-Oct-01 10:00
Tim Rymer16-Oct-01 10:00 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Not Active16-Oct-01 11:17
mentorNot Active16-Oct-01 11:17 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Shadi Al-Kahwaji16-Oct-01 22:00
Shadi Al-Kahwaji16-Oct-01 22:00 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Michael P Butler16-Oct-01 22:36
Michael P Butler16-Oct-01 22:36 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
22-Oct-01 13:08
suss22-Oct-01 13:08 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Bill Wilson22-Oct-01 14:10
Bill Wilson22-Oct-01 14:10 
GeneralInconsistent registration Pin
Jamie Hale16-Oct-01 8:49
Jamie Hale16-Oct-01 8:49 
GeneralRe: Inconsistent registration Pin
Jamie Hale16-Oct-01 9:13
Jamie Hale16-Oct-01 9:13 
GeneralRe: Inconsistent registration Pin
Nemanja Trifunovic16-Oct-01 9:24
Nemanja Trifunovic16-Oct-01 9:24 
GeneralRe: Inconsistent registration Pin
Jamie Hale16-Oct-01 9:30
Jamie Hale16-Oct-01 9:30 
GeneralRe: Inconsistent registration Pin
Jamie Hale16-Oct-01 9:32
Jamie Hale16-Oct-01 9:32 
GeneralRe: Inconsistent registration Pin
Shadi Al-Kahwaji16-Oct-01 21:51
Shadi Al-Kahwaji16-Oct-01 21:51 
GeneralNamespace extension - cut-and-paste feedback Pin
reverendshoebox16-Oct-01 2:52
reverendshoebox16-Oct-01 2:52 
GeneralPowerpoint developer question...... Pin
Huu Quynh15-Oct-01 6:13
Huu Quynh15-Oct-01 6:13 
GeneralRe: Powerpoint developer question...... Pin
Carlos Antollini15-Oct-01 6:48
Carlos Antollini15-Oct-01 6:48 
GeneralDisplaying custom IE error pages Pin
Amit Dey13-Oct-01 6:16
Amit Dey13-Oct-01 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.