Click here to Skip to main content
15,903,724 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralCall to one Method of a COM component returns 0x80020008. But works on other machine Pin
User 21559718-Nov-04 18:39
User 21559718-Nov-04 18:39 
GeneralRe: Call to one Method of a COM component returns 0x80020008. But works on other machine Pin
geo_m19-Nov-04 2:58
geo_m19-Nov-04 2:58 
GeneralRe: Call to one Method of a COM component returns 0x80020008. But works on other machine Pin
User 21559719-Nov-04 3:28
User 21559719-Nov-04 3:28 
GeneralRe: Call to one Method of a COM component returns 0x80020008. But works on other machine Pin
geo_m19-Nov-04 3:48
geo_m19-Nov-04 3:48 
GeneralRe: Call to one Method of a COM component returns 0x80020008. But works on other machine Pin
User 21559721-Nov-04 17:13
User 21559721-Nov-04 17:13 
GeneralMoment of file Close Pin
moyeenm18-Nov-04 4:26
moyeenm18-Nov-04 4:26 
GeneralRe: Moment of file Close Pin
geo_m19-Nov-04 3:10
geo_m19-Nov-04 3:10 
QuestionVectors safe??? Pin
Anonymous17-Nov-04 0:44
Anonymous17-Nov-04 0:44 
hi all,
As I understood it vectors are bound safe, i.e. you can't go past the end of the vector. However I've found some code which does just that!

the vector is defined as an "vector < vector < int > >" and although when you try to access an out of bound area on the first part you get an error, if you do the same on the second part it allows you. An example is if the first vector has 10 elements (i.e. 10 x vector < int > ) and the second part has 10 elements (i.e. 10 x int). If you do "myVector[i][j] = 6 ;" where i=20 and j=5 then you get a crash, whereas if i=5 and j=20 you don't! WTF | :WTF:

Can anyone tell me if this is standard behaviour or could it be a compiler 'feature' (I'm using MS VC++ 6.0 with (iirc) SP5).

cheers,
Andy
AnswerRe: Vectors safe??? Pin
markkuk17-Nov-04 1:16
markkuk17-Nov-04 1:16 
GeneralRe: Vectors safe??? Pin
Jörgen Sigvardsson17-Nov-04 11:31
Jörgen Sigvardsson17-Nov-04 11:31 
GeneralUrgent!!!How to pass an array in Event in ATl/COM Pin
Akshay Dave16-Nov-04 22:52
Akshay Dave16-Nov-04 22:52 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
El'Cachubrey16-Nov-04 23:30
El'Cachubrey16-Nov-04 23:30 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
ThatsAlok17-Nov-04 17:19
ThatsAlok17-Nov-04 17:19 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
Akshay Dave18-Nov-04 17:30
Akshay Dave18-Nov-04 17:30 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
Akshay Dave19-Nov-04 0:15
Akshay Dave19-Nov-04 0:15 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
ThatsAlok21-Nov-04 20:06
ThatsAlok21-Nov-04 20:06 
Generalbasic stl::list erase question Pin
Stefan0116-Nov-04 6:14
Stefan0116-Nov-04 6:14 
GeneralRe: basic stl::list erase question Pin
Joaquín M López Muñoz16-Nov-04 9:24
Joaquín M López Muñoz16-Nov-04 9:24 
GeneralRe: basic stl::list erase question Pin
Stefan0116-Nov-04 11:59
Stefan0116-Nov-04 11:59 
GeneralStrange way of killing DLLHOST Pin
Federico Milano16-Nov-04 5:56
Federico Milano16-Nov-04 5:56 
GeneralSTL DataStructure for 50000 - 100000 items Pin
SandeepN16-Nov-04 4:10
SandeepN16-Nov-04 4:10 
GeneralRe: STL DataStructure for 50000 - 100000 items Pin
Joaquín M López Muñoz16-Nov-04 9:27
Joaquín M López Muñoz16-Nov-04 9:27 
GeneralStatus bar in ATL COM Exe Pin
shakiru11-Nov-04 0:22
shakiru11-Nov-04 0:22 
GeneralATL web service scope Pin
De Nardis Andrea10-Nov-04 8:38
De Nardis Andrea10-Nov-04 8:38 
GeneralATL in .NET Studio... Pin
CherezZaboro10-Nov-04 7:45
CherezZaboro10-Nov-04 7:45 

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.