Click here to Skip to main content
15,881,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCustom action DLL for Windows Installer Pin
act_x6-Mar-08 11:15
act_x6-Mar-08 11:15 
GeneralCrypto++ & FileSink newbie question Pin
soul7106-Mar-08 11:14
soul7106-Mar-08 11:14 
GeneralActiveX question Pin
AbbyIndian6-Mar-08 7:15
AbbyIndian6-Mar-08 7:15 
GeneralRe: ActiveX question Pin
Ernest Laurentin6-Mar-08 7:18
Ernest Laurentin6-Mar-08 7:18 
QuestionHow to place an ActiveX control on a dialog box of a DLL Pin
Deelip6-Mar-08 6:32
Deelip6-Mar-08 6:32 
AnswerRe: How to place an ActiveX control on a dialog box of a DLL Pin
Ernest Laurentin6-Mar-08 7:16
Ernest Laurentin6-Mar-08 7:16 
GeneralRe: How to place an ActiveX control on a dialog box of a DLL Pin
Deelip6-Mar-08 18:19
Deelip6-Mar-08 18:19 
GeneralDLL persistent storage "new" operator Pin
ForNow6-Mar-08 6:23
ForNow6-Mar-08 6:23 
Hi,

I have a Windows App/process that consists of one exe and a bunch of DLL's

In of othe DLL's I allocate a object via the "new" operator and save the pointer to it

in a sturcture which is part of another DLL

later on a exported function in my DLL gets invoked from one of the DLL's in the app

only to find this pointer has a value of NULL

My question is.. Is storage for an object allocated via the "new" operator gone once the code in the DLL finishes executing even though the DLL is in core

If so is it possible to allocate storage for an object and have it remain in storage for the life of the DLL
QuestionRe: DLL persistent storage "new" operator Pin
CPallini6-Mar-08 21:32
mveCPallini6-Mar-08 21:32 
GeneralRe: DLL persistent storage "new" operator Pin
ForNow6-Mar-08 23:03
ForNow6-Mar-08 23:03 
GeneralRe: DLL persistent storage "new" operator Pin
CPallini6-Mar-08 23:11
mveCPallini6-Mar-08 23:11 
GeneralRe: DLL persistent storage "new" operator Pin
ForNow7-Mar-08 6:22
ForNow7-Mar-08 6:22 
GeneralObjects outside/free of the form Pin
codeinelogic6-Mar-08 5:43
codeinelogic6-Mar-08 5:43 
GeneralRe: Objects outside/free of the form Pin
led mike6-Mar-08 5:52
led mike6-Mar-08 5:52 
GeneralRe: Objects outside/free of the form Pin
CPallini6-Mar-08 5:52
mveCPallini6-Mar-08 5:52 
QuestionHow do I prevent multiple instances of my program Pin
cgb1436-Mar-08 5:28
cgb1436-Mar-08 5:28 
AnswerRe: How do I prevent multiple instances of my program Pin
Michael Schubert6-Mar-08 5:37
Michael Schubert6-Mar-08 5:37 
GeneralRe: How do I prevent multiple instances of my program Pin
cgb1436-Mar-08 5:59
cgb1436-Mar-08 5:59 
GeneralRe: How do I prevent multiple instances of my program Pin
Michael Schubert6-Mar-08 6:26
Michael Schubert6-Mar-08 6:26 
GeneralRe: How do I prevent multiple instances of my program Pin
Randor 6-Mar-08 7:16
professional Randor 6-Mar-08 7:16 
QuestionRe: How do I prevent multiple instances of my program Pin
David Crow19-Nov-09 3:26
David Crow19-Nov-09 3:26 
AnswerRe: How do I prevent multiple instances of my program Pin
Randor 19-Nov-09 4:41
professional Randor 19-Nov-09 4:41 
AnswerRe: How do I prevent multiple instances of my program Pin
Ernest Laurentin6-Mar-08 5:39
Ernest Laurentin6-Mar-08 5:39 
GeneralRe: How do I prevent multiple instances of my program Pin
cgb1436-Mar-08 6:01
cgb1436-Mar-08 6:01 
GeneralActiveX question Pin
dolphinhk6-Mar-08 5:04
dolphinhk6-Mar-08 5:04 

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.