Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalusing SP_DRVINFO_DATA_V2 instead of SP_DRVINFO_DATA_V1 Pin
tessierjf17-Jun-03 8:28
tessierjf17-Jun-03 8:28 
Generalstoring data in Memory and accessing it for playback Pin
johnstonsk17-Jun-03 7:58
johnstonsk17-Jun-03 7:58 
GeneralRe: storing data in Memory and accessing it for playback Pin
AlexO17-Jun-03 8:39
AlexO17-Jun-03 8:39 
GeneralRe: storing data in Memory and accessing it for playback Pin
AlexO17-Jun-03 8:47
AlexO17-Jun-03 8:47 
GeneralRe: storing data in Memory and accessing it for playback Pin
johnstonsk17-Jun-03 8:47
johnstonsk17-Jun-03 8:47 
GeneralActiveX control stock property issue. Pin
Marion2817-Jun-03 7:30
Marion2817-Jun-03 7:30 
GeneralFunction to pass an CArray or Structure.. Pin
RobJones17-Jun-03 6:58
RobJones17-Jun-03 6:58 
GeneralRe: Function to pass an CArray or Structure.. Pin
basementman17-Jun-03 7:05
basementman17-Jun-03 7:05 
Either pass in a pointer to a CArray and fill it in the function, or allocate a new CArray from the heap and return a pointer to it (don't forget to delete it!). EX:

METHOD 1:
void SomeFunc()
{
CArray oArray;

ArrayFunc(&oArray);
}

void ArrayFunc(CArray *pArray)
{
pArray->Add(?);
pArray->Add(??);
}

METHOD 2:
void SomeFunc()
{
CArray *pArray = ArrayFunc();
if (pArray)
{
// do something with it...

delete pArray;
}
}

CArray *ArrayFunc()
{
CArray *pRetval = new CArray;

if (pRetval)
{
pRetval->Add(?);
pRetval->Add(??);
}

return pRetval;
}



<span style="border: 2px outset silver;background-color:yellow;color:green;font-family:Verdana,Arial;font-size:8pt;font-style:italic"> onwards and upwards... </span>
GeneralRe: Function to pass an CArray or Structure.. Pin
RobJones17-Jun-03 7:12
RobJones17-Jun-03 7:12 
GeneralRe: Function to pass an CArray or Structure.. Pin
peterchen17-Jun-03 7:12
peterchen17-Jun-03 7:12 
Generalnon-blocking mode in sockets Pin
User 988517-Jun-03 6:33
User 988517-Jun-03 6:33 
GeneralRe: non-blocking mode in sockets Pin
David Crow17-Jun-03 6:51
David Crow17-Jun-03 6:51 
GeneralRe: non-blocking mode in sockets Pin
User 988517-Jun-03 7:04
User 988517-Jun-03 7:04 
GeneralRe: non-blocking mode in sockets Pin
valikac17-Jun-03 7:46
valikac17-Jun-03 7:46 
GeneralRe: non-blocking mode in sockets Pin
User 988517-Jun-03 7:59
User 988517-Jun-03 7:59 
GeneralRe: non-blocking mode in sockets Pin
valikac17-Jun-03 8:09
valikac17-Jun-03 8:09 
GeneralFile associations Pin
Rage17-Jun-03 6:09
professionalRage17-Jun-03 6:09 
GeneralVC++ crashes... Pin
Rage17-Jun-03 5:51
professionalRage17-Jun-03 5:51 
GeneralRe: VC++ crashes... Pin
John M. Drescher17-Jun-03 6:09
John M. Drescher17-Jun-03 6:09 
GeneralRe: VC++ crashes... Pin
Rage17-Jun-03 6:10
professionalRage17-Jun-03 6:10 
GeneralRe: VC++ crashes... Pin
AlexO17-Jun-03 6:10
AlexO17-Jun-03 6:10 
GeneralRe: VC++ crashes... Pin
Rage17-Jun-03 6:25
professionalRage17-Jun-03 6:25 
GeneralRe: VC++ crashes... Pin
AlexO17-Jun-03 6:36
AlexO17-Jun-03 6:36 
GeneralRe: VC++ crashes... Pin
John M. Drescher17-Jun-03 6:57
John M. Drescher17-Jun-03 6:57 
GeneralRe: VC++ crashes... Pin
Michael Dunn17-Jun-03 8:37
sitebuilderMichael Dunn17-Jun-03 8:37 

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.