Click here to Skip to main content
15,898,949 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug Assertion Failed Pin
Ryan Binns1-Feb-05 17:32
Ryan Binns1-Feb-05 17:32 
GeneralRe: my problem code here Pin
vc-programmer-1-Feb-05 20:10
vc-programmer-1-Feb-05 20:10 
GeneralRe: my problem code here Pin
Roger Allen1-Feb-05 23:14
Roger Allen1-Feb-05 23:14 
GeneralRe: my problem code here Pin
vc-programmer-1-Feb-05 23:28
vc-programmer-1-Feb-05 23:28 
GeneralRe: my problem code here Pin
Ravi Bhavnani2-Feb-05 2:52
professionalRavi Bhavnani2-Feb-05 2:52 
GeneralRe: my problem code here Pin
Bob Ciora2-Feb-05 13:05
Bob Ciora2-Feb-05 13:05 
GeneralRe: CStringArray Pin
vc-programmer-2-Feb-05 16:46
vc-programmer-2-Feb-05 16:46 
GeneralRe: CStringArray Pin
Ravi Bhavnani3-Feb-05 2:35
professionalRavi Bhavnani3-Feb-05 2:35 
vc-programmer- wrote:
can i pass CStringArray from dll.

Yes, by reference, as in:
void my (CStringArray& theArray)
{
  theArray.Add ("a");
  theArray.Add ("b");
  ...
  return;
}
However, this won't fix the problem, since the contents of theArray will be freed by the client app and not by the DLL as they should. Consider offering another method in your DLL that will clear the CStringArray's contents. Also consider building a static library instead of a DLL.

/ravi

My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com

GeneralADO Pin
yingkou1-Feb-05 15:50
yingkou1-Feb-05 15:50 
GeneralRe: ADO Pin
BlackDice2-Feb-05 3:10
BlackDice2-Feb-05 3:10 
GeneralRe: ADO Pin
yingkou2-Feb-05 13:53
yingkou2-Feb-05 13:53 
Generalspin control for opengl Pin
cell511-Feb-05 14:42
cell511-Feb-05 14:42 
Generalspin control for opengl Pin
cell511-Feb-05 14:39
cell511-Feb-05 14:39 
QuestionHow to turn off hard disk immediately? Pin
ErisonWu1-Feb-05 14:09
ErisonWu1-Feb-05 14:09 
AnswerRe: How to turn off hard disk immediately? Pin
David Crow2-Feb-05 2:55
David Crow2-Feb-05 2:55 
GeneralRe: How to turn off hard disk immediately? Pin
ErisonWu2-Feb-05 14:48
ErisonWu2-Feb-05 14:48 
GeneralRe: How to turn off hard disk immediately? Pin
David Crow3-Feb-05 2:39
David Crow3-Feb-05 2:39 
GeneralA Simple Q on Returning Values from a Dialog Pin
LighthouseJ1-Feb-05 13:53
LighthouseJ1-Feb-05 13:53 
GeneralRe: A Simple Q on Returning Values from a Dialog Pin
Ryan Binns1-Feb-05 18:01
Ryan Binns1-Feb-05 18:01 
GeneralRe: A Simple Q on Returning Values from a Dialog Pin
LighthouseJ1-Feb-05 18:24
LighthouseJ1-Feb-05 18:24 
GeneralRe: A Simple Q on Returning Values from a Dialog Pin
David Crow2-Feb-05 3:04
David Crow2-Feb-05 3:04 
GeneralRe: A Simple Q on Returning Values from a Dialog Pin
LighthouseJ2-Feb-05 3:32
LighthouseJ2-Feb-05 3:32 
QuestionHow to tell when a socket is closed? Pin
shultas1-Feb-05 12:53
shultas1-Feb-05 12:53 
AnswerRe: How to tell when a socket is closed? Pin
Paul Belikian1-Feb-05 13:52
Paul Belikian1-Feb-05 13:52 
GeneralRe: How to tell when a socket is closed? Pin
shultas1-Feb-05 14:08
shultas1-Feb-05 14: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.