Click here to Skip to main content
15,890,186 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to insert data into ListBox(Something Different) Pin
Hamid_RT28-Oct-07 20:39
Hamid_RT28-Oct-07 20:39 
Questionprogress bar should run without any click event Pin
neha.agarwal2728-Oct-07 19:01
neha.agarwal2728-Oct-07 19:01 
AnswerRe: progress bar should run without any click event Pin
Nishad S28-Oct-07 20:32
Nishad S28-Oct-07 20:32 
QuestionNeed Help on memory allocation problem Pin
manish.patel28-Oct-07 18:56
manish.patel28-Oct-07 18:56 
AnswerRe: Need Help on memory allocation problem Pin
Paresh Chitte28-Oct-07 19:04
Paresh Chitte28-Oct-07 19:04 
GeneralRe: Need Help on memory allocation problem Pin
manish.patel28-Oct-07 19:12
manish.patel28-Oct-07 19:12 
GeneralRe: Need Help on memory allocation problem Pin
Michael Dunn28-Oct-07 19:43
sitebuilderMichael Dunn28-Oct-07 19:43 
GeneralRe: Need Help on memory allocation problem Pin
jhwurmbach29-Oct-07 0:01
jhwurmbach29-Oct-07 0:01 
Manish_mnp wrote:
i cant use CArray
because i need to maitain pointers and copy contains directly from memory


Sounds like you could use std::vector.
A vector is guaranteed to be in one continouus memory chunk, and you can get the address (which may change when adding items!) as the adress of its first item.
That is for std::vector<BYTE> vec by calling &vec[0].





Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

AnswerRe: Need Help on memory allocation problem Pin
Neo Andreson29-Oct-07 22:41
Neo Andreson29-Oct-07 22:41 
Questionactivex Pin
saisp28-Oct-07 18:11
saisp28-Oct-07 18:11 
QuestionReplaceSel(…) does not work with DBCS Pin
John R. Shaw28-Oct-07 15:47
John R. Shaw28-Oct-07 15:47 
QuestionC++ Winsock Cli/Svr hostname/address Pin
managetao228-Oct-07 14:44
managetao228-Oct-07 14:44 
AnswerRe: C++ Winsock Cli/Svr hostname/address Pin
jhwurmbach28-Oct-07 23:42
jhwurmbach28-Oct-07 23:42 
QuestionDoing N-Up Printing programatically Pin
Bauxinator28-Oct-07 11:20
Bauxinator28-Oct-07 11:20 
QuestionRe: Doing N-Up Printing programatically Pin
Nelek28-Oct-07 23:42
protectorNelek28-Oct-07 23:42 
AnswerRe: Doing N-Up Printing programatically Pin
Bauxinator29-Oct-07 0:06
Bauxinator29-Oct-07 0:06 
GeneralRe: Doing N-Up Printing programatically Pin
Nelek29-Oct-07 0:20
protectorNelek29-Oct-07 0:20 
GeneralRe: Doing N-Up Printing programatically Pin
Bauxinator29-Oct-07 0:36
Bauxinator29-Oct-07 0:36 
GeneralRe: Doing N-Up Printing programatically Pin
Nelek29-Oct-07 1:29
protectorNelek29-Oct-07 1:29 
GeneralRe: Doing N-Up Printing programatically Pin
Bauxinator29-Oct-07 2:29
Bauxinator29-Oct-07 2:29 
AnswerRe: Doing N-Up Printing programatically Pin
She_Jack6-Jul-10 22:59
She_Jack6-Jul-10 22:59 
GeneralRe: Doing N-Up Printing programatically Pin
Bauxinator7-Jul-10 7:22
Bauxinator7-Jul-10 7:22 
GeneralRe: Doing N-Up Printing programatically Pin
She_Jack11-Jul-10 22:45
She_Jack11-Jul-10 22:45 
GeneralRe: Doing N-Up Printing programatically Pin
Bauxinator11-Jul-10 22:59
Bauxinator11-Jul-10 22:59 
QuestionRestarting Windows Pin
RomTibi28-Oct-07 9:47
RomTibi28-Oct-07 9:47 

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.