Click here to Skip to main content
15,926,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC To ATL problems ?????? Pin
Christian Graus19-Jul-02 21:59
protectorChristian Graus19-Jul-02 21:59 
GeneralRe: MFC To ATL problems ?????? Pin
Leesen20-Jul-02 0:00
Leesen20-Jul-02 0:00 
GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus20-Jul-02 0:17
protectorChristian Graus20-Jul-02 0:17 
GeneralRe: MFC To ATL problems ?????? Pin
Leesen20-Jul-02 4:11
Leesen20-Jul-02 4:11 
GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus20-Jul-02 12:53
protectorChristian Graus20-Jul-02 12:53 
GeneralRe: MFC To ATL problems ?????? Pin
Leesen22-Jul-02 18:21
Leesen22-Jul-02 18:21 
GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus22-Jul-02 18:46
protectorChristian Graus22-Jul-02 18:46 
GeneralRe: MFC To ATL problems ?????? Pin
Leesen29-Jul-02 5:09
Leesen29-Jul-02 5:09 
Thank you for your suggestion. Now I am following your suggestion to rewrite the business logic into an ATL component. Now there are some new problems.

For example. I have created two ATL object 'Student'and 'Teacher', and 'Student' is a property of 'ITeacher'.In idl, it seems the function can not return the user define class type.Then how can I get the 'Student' property in VB??



in idl:
[propget, id(1), helpstring("property Student")] HRESULT Student([out, retval] CStudent *pVal);
[propput, id(1), helpstring("property Student")] HRESULT Student([in] CStudent newVal);

E:\Programming\Study\ClassReturn\ClassReturn.idl(30) : error MIDL2025 : syntax error : expecting a type specification near "CStudent"



GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus29-Jul-02 13:58
protectorChristian Graus29-Jul-02 13:58 
GeneralRe: MFC To ATL problems ?????? Pin
Tim Smith20-Jul-02 4:57
Tim Smith20-Jul-02 4:57 
GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus20-Jul-02 12:54
protectorChristian Graus20-Jul-02 12:54 
GeneralADO/Oracle and _RecordsetPtr Pin
rvicta19-Jul-02 17:29
professionalrvicta19-Jul-02 17:29 
GeneralRe: ADO/Oracle and _RecordsetPtr Pin
Carlos Antollini19-Jul-02 20:43
Carlos Antollini19-Jul-02 20:43 
GeneralRe: ADO/Oracle and _RecordsetPtr Pin
rvicta20-Jul-02 15:42
professionalrvicta20-Jul-02 15:42 
GeneralRe: ADO/Oracle and _RecordsetPtr Pin
Carlos Antollini20-Jul-02 17:11
Carlos Antollini20-Jul-02 17:11 
Generaldynamically add styles Pin
Steve L.19-Jul-02 17:28
Steve L.19-Jul-02 17:28 
GeneralRe: dynamically add styles Pin
Gary R. Wheeler21-Jul-02 4:27
Gary R. Wheeler21-Jul-02 4:27 
GeneralXML and ODBC Pin
Tony Fontenot19-Jul-02 17:15
Tony Fontenot19-Jul-02 17:15 
GeneralRe: XML and ODBC Pin
Gerald Schwab19-Jul-02 17:32
Gerald Schwab19-Jul-02 17:32 
GeneralGame Developement Pin
merlin987619-Jul-02 15:51
merlin987619-Jul-02 15:51 
GeneralRe: Game Developement Pin
alex.barylski19-Jul-02 16:02
alex.barylski19-Jul-02 16:02 
GeneralRe: Game Developement Pin
Carlos Antollini19-Jul-02 20:47
Carlos Antollini19-Jul-02 20:47 
GeneralRe: Game Developement Pin
Michael P Butler19-Jul-02 21:46
Michael P Butler19-Jul-02 21:46 
QuestionHow can I prevent application from responding to keyboard events? Pin
Abin19-Jul-02 14:07
Abin19-Jul-02 14:07 
AnswerRe: How can I prevent application from responding to keyboard events? Pin
Christian Graus19-Jul-02 15:14
protectorChristian Graus19-Jul-02 15:14 

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.