passing info to new class
-
I am trying to do what the previous post was, only I am not calling the new class. I am using the following code:
extern CHjipaperlessApp theApp; CMultiDocTemplate *pTemplate = (CMultiDocTemplate*)theApp.GetDocTemplate(3); ASSERT(pTemplate); CDocument *pDocument = pTemplate->OpenDocumentFile(NULL)
This launches a view class, but I want to pass an array to this new class. Any suggestions? Much Thanks, Michael Shuster Good judgement comes from experience; Experience comes from bad judgement. -
I am trying to do what the previous post was, only I am not calling the new class. I am using the following code:
extern CHjipaperlessApp theApp; CMultiDocTemplate *pTemplate = (CMultiDocTemplate*)theApp.GetDocTemplate(3); ASSERT(pTemplate); CDocument *pDocument = pTemplate->OpenDocumentFile(NULL)
This launches a view class, but I want to pass an array to this new class. Any suggestions? Much Thanks, Michael Shuster Good judgement comes from experience; Experience comes from bad judgement. -
I am trying to do what the previous post was, only I am not calling the new class. I am using the following code:
extern CHjipaperlessApp theApp; CMultiDocTemplate *pTemplate = (CMultiDocTemplate*)theApp.GetDocTemplate(3); ASSERT(pTemplate); CDocument *pDocument = pTemplate->OpenDocumentFile(NULL)
This launches a view class, but I want to pass an array to this new class. Any suggestions? Much Thanks, Michael Shuster Good judgement comes from experience; Experience comes from bad judgement.After the OpenDocumentFile() call, you have a pointer tot he document, can't you just call a function on it and pass it the array as a parameter? You may have to cast the pDocument pointer to the correct type to do it. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003