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

ATL / WTL / STL

 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
garammasala28-Apr-08 17:42
garammasala28-Apr-08 17:42 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt28-Apr-08 17:46
Stephen Hewitt28-Apr-08 17:46 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
garammasala28-Apr-08 20:43
garammasala28-Apr-08 20:43 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt29-Apr-08 20:07
Stephen Hewitt29-Apr-08 20:07 
QuestionRe: Handle VC++ ATL COM Event in Java Script ?? Pin
garammasala5-May-08 21:07
garammasala5-May-08 21:07 
AnswerRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt6-May-08 16:25
Stephen Hewitt6-May-08 16:25 
AnswerRe: Handle VC++ ATL COM Event in Java Script ?? [modified] Pin
garammasala6-May-08 17:38
garammasala6-May-08 17:38 
Generalperformant deserialization from a buffer to a std::Vector‏ Pin
manustone24-Apr-08 3:45
manustone24-Apr-08 3:45 
Hi all!
I would like to serialize/deserialize a std::vector of objects of a class into some buffer of a stream or of some other buffer. Can you address me about how to do this with the highest performance possible?

If I had an ARRAY of these instances..I would switch to a std::vector using this code:

CMyClass d[20];
// fill the array!
std::vector<CMyClass> v(d,d+sizof(d)/(d[0]));

What in case I use deserialization from a stream?
Is there a way to let the std::vector copy or use itself access the buffer
of a stream?
I would like to avoid the istream::read line below to go faster..do you know some way or address some nice super STL feature?

CMyClass d[20]; // buffer is created continuosly
istream::read( d, 20 ); // copy data from the buffer ( IS AVOIDABLE? )
std::vector<CMyClass> v( d,d+sizof(d)/(d[0])); // get the std::vector

Kind Regards
ManuStone
GeneralRe: performant deserialization from a buffer to a std::Vector‏ Pin
Stuart Dootson28-Apr-08 1:22
professionalStuart Dootson28-Apr-08 1:22 
GeneralRe: performant deserialization from a buffer to a std::Vector‏ Pin
manustone28-Apr-08 5:31
manustone28-Apr-08 5:31 
GeneralA quick question on themes... Pin
Gene OK24-Apr-08 3:01
Gene OK24-Apr-08 3:01 
AnswerRe: A quick question on themes... Pin
Gene OK24-Apr-08 4:54
Gene OK24-Apr-08 4:54 
GeneralUsing VB.NET dll in VC++ Pin
ritz123424-Apr-08 0:17
ritz123424-Apr-08 0:17 
GeneralRe: Using VB.NET dll in VC++ Pin
Jörgen Sigvardsson1-May-08 0:16
Jörgen Sigvardsson1-May-08 0:16 
Questionhow to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
shwlin21-Apr-08 15:23
shwlin21-Apr-08 15:23 
AnswerRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
shwlin24-Apr-08 15:01
shwlin24-Apr-08 15:01 
GeneralRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
Charles Spirz27-Apr-08 11:51
Charles Spirz27-Apr-08 11:51 
GeneralRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl [modified] Pin
shwlin4-May-08 20:51
shwlin4-May-08 20:51 
AnswerRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
shwlin18-May-08 15:54
shwlin18-May-08 15:54 
GeneralRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
rajas6-May-09 6:04
rajas6-May-09 6:04 
GeneralFast search of a vector of strings Pin
bruccutler15-Apr-08 12:40
bruccutler15-Apr-08 12:40 
GeneralRe: Fast search of a vector of strings Pin
Andy Moore16-Apr-08 6:39
Andy Moore16-Apr-08 6:39 
Generalerror MIDL2025 : syntax error Pin
Ganesh_T14-Apr-08 0:53
Ganesh_T14-Apr-08 0:53 
QuestionRe: error MIDL2025 : syntax error Pin
Nathan Holt at EMOM16-Apr-08 10:56
Nathan Holt at EMOM16-Apr-08 10:56 
GeneralCoCreateInstanceAsAdmin Pin
swamy Narasimha13-Apr-08 23:14
swamy Narasimha13-Apr-08 23: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.