Click here to Skip to main content
15,900,818 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: C#.net and VC++ Pin
Stuart Dootson14-Oct-08 21:46
professionalStuart Dootson14-Oct-08 21:46 
QuestionIs it safe to use a iterator to keep a reference to an element in a container? Pin
followait10-Oct-08 17:34
followait10-Oct-08 17:34 
AnswerRe: Is it safe to use a iterator to keep a reference to an element in a container? Pin
Stuart Dootson11-Oct-08 7:44
professionalStuart Dootson11-Oct-08 7:44 
QuestionAssertion failed: _pAtlModule == 0 Pin
Christian Bayer8-Oct-08 23:32
Christian Bayer8-Oct-08 23:32 
AnswerRe: Assertion failed: _pAtlModule == 0 Pin
led mike10-Oct-08 5:22
led mike10-Oct-08 5:22 
GeneralRe: Assertion failed: _pAtlModule == 0 Pin
Christian Bayer12-Oct-08 22:14
Christian Bayer12-Oct-08 22:14 
GeneralRe: Assertion failed: _pAtlModule == 0 Pin
led mike13-Oct-08 6:07
led mike13-Oct-08 6:07 
GeneralRe: Assertion failed: _pAtlModule == 0 Pin
Christian Bayer13-Oct-08 9:40
Christian Bayer13-Oct-08 9:40 
led mike wrote:
Christian Bayer wrote:
Moreaover as the binary compiled from this source by the author works well, without errors.



I don't know what "works well" means. If you mean it compiles without error, the problem being reported by the ASSERT only happens at runtime so there is no compile error that will report it.


I am not an english native speaker, so I don't know if my sentence was not clear enough: In the source package there was already compiled binary of the client. It was compiled by the author of it a year ago and not me. This binary does not produce the above ATL related error message, nor any other error.
So yes, this error happens only at runtime and is therefore not detected by the compiler (in which case I would not have been able to compile it and report runtime error messages here..)
My project is completely done, everything works as it should (I hope), the only known problem left is the nagging MessageBox popping up everytime the application is started.

led mike wrote:
Also the client application must have some sort of configuration requirements to know about COM components it is being directed to use. It is possible you have not satisfied those configuration requirements.


I am not quite sure if there is something wrong with that. But from what I have read on the net about it (I know that you don't believe me if I say it was a lot) the COM init part should be ok. Above all because every COM related function, data structure and event works very well within the client.
If there is something left to connect all these COM structures to something like an "ATL environment", this could cause the error. But remember the above lines, the original binary of the client using the same source but another VC version and perhaps some other non-source code related preferences works without errors.
GeneralRe: Assertion failed: _pAtlModule == 0 Pin
led mike13-Oct-08 9:56
led mike13-Oct-08 9:56 
GeneralRe: Assertion failed: _pAtlModule == 0 Pin
Christian Bayer13-Oct-08 12:38
Christian Bayer13-Oct-08 12:38 
QuestionAutomatically Start Windows Service on Startup [modified] Pin
narayanagvs6-Oct-08 22:10
narayanagvs6-Oct-08 22:10 
AnswerRe: Automatically Start Windows Service on Startup Pin
KarstenK6-Oct-08 23:22
mveKarstenK6-Oct-08 23:22 
AnswerRe: Automatically Start Windows Service on Startup Pin
Stuart Dootson6-Oct-08 23:53
professionalStuart Dootson6-Oct-08 23:53 
Questionwhy use parenthsis ? Pin
palmer774-Oct-08 17:47
palmer774-Oct-08 17:47 
Answer[Message Deleted] Pin
Steve Echols4-Oct-08 19:41
Steve Echols4-Oct-08 19:41 
GeneralRe: why use parenthsis ? Pin
palmer774-Oct-08 20:59
palmer774-Oct-08 20:59 
AnswerRe: why use parenthsis ? Pin
Michael Dunn5-Oct-08 20:34
sitebuilderMichael Dunn5-Oct-08 20:34 
AnswerRe: why use parenthsis ? Pin
KarstenK6-Oct-08 23:23
mveKarstenK6-Oct-08 23:23 
GeneralRe: why use parenthsis ? Pin
Michael Dunn7-Oct-08 19:51
sitebuilderMichael Dunn7-Oct-08 19:51 
GeneralRe: why use parenthsis ? Pin
KarstenK7-Oct-08 20:31
mveKarstenK7-Oct-08 20:31 
QuestionCCombobox question Pin
monsieur_jj2-Oct-08 21:00
monsieur_jj2-Oct-08 21:00 
AnswerRe: CCombobox question Pin
Ted Szoczei3-Oct-08 16:05
Ted Szoczei3-Oct-08 16:05 
QuestionDialog DoModal fails in win2000 Pin
gaara241-Oct-08 2:44
gaara241-Oct-08 2:44 
AnswerRe: Dialog DoModal fails in win2000 Pin
Stuart Dootson1-Oct-08 7:46
professionalStuart Dootson1-Oct-08 7:46 
GeneralRe: Dialog DoModal fails in win2000 Pin
gaara242-Oct-08 0:08
gaara242-Oct-08 0:08 

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.