Click here to Skip to main content
15,887,952 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: COM/ATL interfaces Pin
Jonathan Davies9-Dec-09 6:04
Jonathan Davies9-Dec-09 6:04 
GeneralRe: COM/ATL interfaces Pin
asdfhjkasdf dfhjksdf9-Dec-09 8:09
asdfhjkasdf dfhjksdf9-Dec-09 8:09 
GeneralRe: COM/ATL interfaces Pin
Jonathan Davies9-Dec-09 8:47
Jonathan Davies9-Dec-09 8:47 
GeneralRe: COM/ATL interfaces Pin
asdfhjkasdf dfhjksdf9-Dec-09 10:32
asdfhjkasdf dfhjksdf9-Dec-09 10:32 
GeneralRe: COM/ATL interfaces Pin
Jonathan Davies9-Dec-09 11:43
Jonathan Davies9-Dec-09 11:43 
GeneralRe: COM/ATL interfaces Pin
asdfhjkasdf dfhjksdf9-Dec-09 13:35
asdfhjkasdf dfhjksdf9-Dec-09 13:35 
GeneralRe: COM/ATL interfaces Pin
Jonathan Davies10-Dec-09 0:45
Jonathan Davies10-Dec-09 0:45 
GeneralRe: COM/ATL interfaces Pin
asdfhjkasdf dfhjksdf10-Dec-09 8:35
asdfhjkasdf dfhjksdf10-Dec-09 8:35 
You're exactly right. I found out about 9pm last night that the CComModule stuff gets put in there by 6.0. If you create a project in 6.0 and import it into 2003, 2003 builds it fine. If you just add in the code in 2003, sheer panic. So I created the entire project from scratch in 6.0, imported it into 2003, and added all the necessary inheritance/implementation stuff, and IT WORKS! Just like I wanted.

Almost.

Everything works as planned except that when I access it from c# and call my method, there is a global var in the module that is set by another application that my function needs. It always turns up null. I think it's because c# instantiates a new instance of the module and that var hasn't been set yet. So now I am off to try to figure out how set up a singleton ATL object. So far I've been unable to find out how to do this via a wizard.

Thanks for your help!
QuestionHow to start the exe server in hide mode or another desktop? Pin
kcynic6-Dec-09 19:05
kcynic6-Dec-09 19:05 
AnswerRe: How to start the exe server in hide mode or another desktop? Pin
«_Superman_»7-Dec-09 9:27
professional«_Superman_»7-Dec-09 9:27 
GeneralRe: How to start the exe server in hide mode or another desktop? Pin
kcynic7-Dec-09 14:14
kcynic7-Dec-09 14:14 
QuestionHow to get full path of sepcied file Pin
am 20095-Dec-09 19:44
am 20095-Dec-09 19:44 
AnswerRe: How to get full path of sepcied file Pin
Jonathan Davies6-Dec-09 8:23
Jonathan Davies6-Dec-09 8:23 
QuestionI need to Resize ATL dialog based on the screen resolution Pin
Member 33037924-Dec-09 1:08
Member 33037924-Dec-09 1:08 
AnswerRe: I need to Resize ATL dialog based on the screen resolution Pin
Alain Rist21-Dec-09 13:00
Alain Rist21-Dec-09 13:00 
QuestionCreating sidebar for windows media player (similar to iTunes) Pin
smitha s4-Dec-09 0:27
smitha s4-Dec-09 0:27 
Questionre: probelms erasing a multimap entry Pin
Alan Kurlansky2-Dec-09 11:08
Alan Kurlansky2-Dec-09 11:08 
AnswerRe: re: probelms erasing a multimap entry [modified] Pin
kcynic2-Dec-09 18:42
kcynic2-Dec-09 18:42 
QuestionAdd event handler functions from ActiveX to VC++6.0 ATL Project Pin
jensreichert1-Dec-09 23:44
jensreichert1-Dec-09 23:44 
AnswerRe: Add event handler functions from ActiveX to VC++6.0 ATL Project Pin
Garth J Lancaster2-Dec-09 0:28
professionalGarth J Lancaster2-Dec-09 0:28 
AnswerRe: Add event handler functions from ActiveX to VC++6.0 ATL Project Pin
Garth J Lancaster2-Dec-09 0:34
professionalGarth J Lancaster2-Dec-09 0:34 
GeneralRe: Add event handler functions from ActiveX to VC++6.0 ATL Project Pin
MESCO2-Mar-10 20:26
MESCO2-Mar-10 20:26 
Questionsorting an STL list of =references= to objects Pin
kerchunk1-Dec-09 12:39
kerchunk1-Dec-09 12:39 
AnswerRe: sorting an STL list of =references= to objects Pin
kerchunk1-Dec-09 14:44
kerchunk1-Dec-09 14:44 
GeneralRe: sorting an STL list of =references= to objects Pin
Simple Inheritance1-Dec-09 16:48
Simple Inheritance1-Dec-09 16:48 

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.