Click here to Skip to main content
15,892,298 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
shwlin24-Apr-08 15:01
shwlin24-Apr-08 15:01 
GeneralRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
Charles Spirz27-Apr-08 11:51
Charles Spirz27-Apr-08 11:51 
GeneralRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl [modified] Pin
shwlin4-May-08 20:51
shwlin4-May-08 20:51 
AnswerRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
shwlin18-May-08 15:54
shwlin18-May-08 15:54 
GeneralRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
rajas6-May-09 6:04
rajas6-May-09 6:04 
GeneralFast search of a vector of strings Pin
bruccutler15-Apr-08 12:40
bruccutler15-Apr-08 12:40 
GeneralRe: Fast search of a vector of strings Pin
Andy Moore16-Apr-08 6:39
Andy Moore16-Apr-08 6:39 
Generalerror MIDL2025 : syntax error Pin
Ganesh_T14-Apr-08 0:53
Ganesh_T14-Apr-08 0:53 
Hi,

I am having an issue compiling the ATL/Com dll;



I have Three classes and their interfaces in a com dll as:

1- IMailInterface

2- IMyInterface1

3- IMyInterface2

Now,MFC application uses these interfaces. My application will never directly deal with 2nd and 3rd interface. Everything will be done with the help of IMainInterface. I want to add a method to IMainInterace as


GetMyInterface1(IMyInterface1** ptr); which will retrun the IMyInterface1 pointer


But while comiling getting an error error as:

D:\Work_ganesh\MPlusSrvOpticalDevice\Work In Progress\Ganesh\Samples\DemoCOM\DemoCOM.idl(18):error MIDL2025 : syntax error : expecting a type specification near "IMyInterface1"

D:\Work_ganesh\MPlusSrvOpticalDevice\Work In Progress\Ganesh\Samples\DemoCOM\DemoCOM.idl(18) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation

Error executing midl.exe.



I tried adding header file but it didn’t worked.


Thanks.

"A winner is not one who never fails...but the one who never quits"

QuestionRe: error MIDL2025 : syntax error Pin
Nathan Holt at EMOM16-Apr-08 10:56
Nathan Holt at EMOM16-Apr-08 10:56 
GeneralCoCreateInstanceAsAdmin Pin
swamy Narasimha13-Apr-08 23:14
swamy Narasimha13-Apr-08 23:14 
GeneralRe: CoCreateInstanceAsAdmin Pin
Jörgen Sigvardsson1-May-08 0:19
Jörgen Sigvardsson1-May-08 0:19 
QuestionVB Client Crashes while using ATL COM build in C++ Pin
garammasala13-Apr-08 22:56
garammasala13-Apr-08 22:56 
GeneralRe: VB Client Crashes while using ATL COM build in C++ Pin
Nathan Holt at EMOM16-Apr-08 11:35
Nathan Holt at EMOM16-Apr-08 11:35 
GeneralRe: VB Client Crashes while using ATL COM build in C++ Pin
garammasala21-Apr-08 18:15
garammasala21-Apr-08 18:15 
GeneralRe: VB Client Crashes while using ATL COM build in C++ Pin
Nathan Holt at EMOM22-Apr-08 6:27
Nathan Holt at EMOM22-Apr-08 6:27 
GeneralRe: VB Client Crashes while using ATL COM build in C++ [modified] Pin
garammasala28-Apr-08 2:49
garammasala28-Apr-08 2:49 
GeneralConverting MFC code to WTL [modified] Pin
Rune Andersen11-Apr-08 3:18
Rune Andersen11-Apr-08 3:18 
GeneralDoubt in templates Pin
C.P.Rajesh11-Apr-08 1:57
C.P.Rajesh11-Apr-08 1:57 
GeneralRe: Doubt in templates Pin
Johann Gerell14-May-08 21:34
Johann Gerell14-May-08 21:34 
QuestionHow to use multi byte character set in vs2008 ATL Pin
Robe10-Apr-08 18:16
Robe10-Apr-08 18:16 
AnswerRe: How to use multi byte character set in vs2008 ATL Pin
Nathan Holt at EMOM16-Apr-08 11:41
Nathan Holt at EMOM16-Apr-08 11:41 
GeneralRe: How to use multi byte character set in vs2008 ATL Pin
dlocarnini9-Jun-08 3:57
dlocarnini9-Jun-08 3:57 
Generalconversion from char* to string Pin
gReaen9-Apr-08 3:35
gReaen9-Apr-08 3:35 
GeneralRe: conversion from char* to string Pin
Hamid_RT14-Apr-08 21:49
Hamid_RT14-Apr-08 21:49 
GeneralRe: conversion from char* to string Pin
Johann Gerell14-May-08 21:47
Johann Gerell14-May-08 21:47 

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.