Click here to Skip to main content
15,899,313 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: stl containers allocation in heap or stack? Pin
sawerr4-Aug-06 20:07
sawerr4-Aug-06 20:07 
AnswerRe: stl containers allocation in heap or stack? Pin
Kevin McFarlane7-Aug-06 0:41
Kevin McFarlane7-Aug-06 0:41 
GeneralRe: stl containers allocation in heap or stack? Pin
Jörgen Sigvardsson17-Aug-06 12:20
Jörgen Sigvardsson17-Aug-06 12:20 
GeneralRe: stl containers allocation in heap or stack? Pin
Kevin McFarlane18-Aug-06 8:44
Kevin McFarlane18-Aug-06 8:44 
Question[ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan4-Aug-06 3:18
Eytukan4-Aug-06 3:18 
AnswerRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Roger Stoltz4-Aug-06 4:12
Roger Stoltz4-Aug-06 4:12 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan4-Aug-06 4:19
Eytukan4-Aug-06 4:19 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Roger Stoltz4-Aug-06 4:34
Roger Stoltz4-Aug-06 4:34 
I'm glad I could help you, even if I guessed about your problem.

Regarding VB and why it works running from the IDE:
I don't know the technical reason for it, but VB is quite forgiving when running from the IDE. I guess (again...Roll eyes | :rolleyes: ) that VB makes some kind of qualified guess and if you're "lucky" it works.

Aahh, I forgot a few really important things: you have to set up the apartment as well from your secondary thread with a call to ::CoInitialize(). If you haven't done so yet, this could be the reason that it works when running from the IDE. If it's an in-process server it would be the same thing as using a function pointer even if the call is made from another thread. If you properly set up the secondary apartment you could get a HRESULT = RPC_E_WRONG_THREAD, especially in you're running the server out-of-process.




It's supposed to be hard, otherwise anybody could do it!

Regarding CodeProject: "resistance is pointless; you will be assimilated"

GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan4-Aug-06 5:28
Eytukan4-Aug-06 5:28 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Roger Stoltz4-Aug-06 5:35
Roger Stoltz4-Aug-06 5:35 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan8-Aug-06 3:36
Eytukan8-Aug-06 3:36 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! [modified] Pin
Roger Stoltz8-Aug-06 3:45
Roger Stoltz8-Aug-06 3:45 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan8-Aug-06 23:13
Eytukan8-Aug-06 23:13 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan10-Aug-06 22:59
Eytukan10-Aug-06 22:59 
QuestionATL and _pAtlModule->Lock() failure. Pin
eXeonical..4-Aug-06 0:12
eXeonical..4-Aug-06 0:12 
AnswerRe: ATL and _pAtlModule->Lock() failure. Pin
CPP_Student4-Aug-06 9:11
CPP_Student4-Aug-06 9:11 
GeneralRe: ATL and _pAtlModule-->Lock() failure. Pin
eXeonical..6-Aug-06 23:06
eXeonical..6-Aug-06 23:06 
QuestionErase elements while iterating on a map Pin
vikramlinux3-Aug-06 20:27
vikramlinux3-Aug-06 20:27 
AnswerRe: Erase elements while iterating on a map Pin
Zac Howland4-Aug-06 3:40
Zac Howland4-Aug-06 3:40 
AnswerRe: Erase elements while iterating on a map Pin
Michael Dunn4-Aug-06 14:06
sitebuilderMichael Dunn4-Aug-06 14:06 
QuestionATL application using activeX Pin
CheerioMaster3-Aug-06 2:22
CheerioMaster3-Aug-06 2:22 
AnswerRe: ATL application using activeX Pin
Rob Caldecott3-Aug-06 3:34
Rob Caldecott3-Aug-06 3:34 
GeneralRe: ATL application using activeX Pin
CheerioMaster3-Aug-06 3:58
CheerioMaster3-Aug-06 3:58 
QuestionValidity of CWndClassInfo content Pin
xLobo231-Jul-06 0:27
xLobo231-Jul-06 0:27 
QuestionShould I learn ATL/COM now? Pin
CPP_Student30-Jul-06 14:59
CPP_Student30-Jul-06 14:59 

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.