Click here to Skip to main content
15,892,674 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Trouble using WTL7.0 in a MFC project Pin
John M. Drescher22-Sep-03 18:16
John M. Drescher22-Sep-03 18:16 
GeneralRe: Trouble using WTL7.0 in a MFC project Pin
luedi22-Sep-03 21:07
luedi22-Sep-03 21:07 
GeneralRe: Trouble using WTL7.0 in a MFC project Pin
John M. Drescher23-Sep-03 4:53
John M. Drescher23-Sep-03 4:53 
Generala question of style Pin
Bernhard21-Sep-03 20:09
Bernhard21-Sep-03 20:09 
GeneralRe: a question of style Pin
Michael Dunn21-Sep-03 20:30
sitebuilderMichael Dunn21-Sep-03 20:30 
GeneralRe: a question of style Pin
Bernhard21-Sep-03 20:34
Bernhard21-Sep-03 20:34 
GeneralDECLARE_CLASSFACTORY_SINGLETON Problem Pin
umarcool21-Sep-03 19:09
umarcool21-Sep-03 19:09 
GeneralRe: DECLARE_CLASSFACTORY_SINGLETON Problem Pin
sashaf22-Sep-03 2:37
sashaf22-Sep-03 2:37 
Probably, lifetime of the object 1, you created, is not intersecting with lifetime of object 2. Then last reference to COM object released, library were unloaded. Next time Your singleton created againe.
If You still want to use dll and make them really singleton, You should have at least one loaded instance.
But also You can store state of the object on disk, using IPersist* interfaces.

Regards,
Alexander Fedorenko,
Author of DevPlanner - tool for effective planning in development.
mailto:sashaf@arshin.com
GeneralRe: DECLARE_CLASSFACTORY_SINGLETON Problem Pin
Dudi Avramov22-Sep-03 2:53
Dudi Avramov22-Sep-03 2:53 
GeneralRe: DECLARE_CLASSFACTORY_SINGLETON Problem Pin
Braulio Dez22-Sep-03 5:13
Braulio Dez22-Sep-03 5:13 
GeneralRe: DECLARE_CLASSFACTORY_SINGLETON Problem Pin
sashaf23-Sep-03 2:29
sashaf23-Sep-03 2:29 
GeneralRe: DECLARE_CLASSFACTORY_SINGLETON Problem Pin
Braulio Dez23-Sep-03 2:46
Braulio Dez23-Sep-03 2:46 
GeneralWell... it can be possible but then you are making something wrong... Pin
Braulio Dez23-Sep-03 3:18
Braulio Dez23-Sep-03 3:18 
GeneralRe: Well... it can be possible but then you are making something wrong... Pin
umarcool23-Sep-03 5:42
umarcool23-Sep-03 5:42 
GeneralUsing for_each with a map Pin
John M. Drescher20-Sep-03 9:53
John M. Drescher20-Sep-03 9:53 
GeneralRe: Using for_each with a map Pin
ZoogieZork20-Sep-03 12:11
ZoogieZork20-Sep-03 12:11 
GeneralRe: Using for_each with a map Pin
John M. Drescher20-Sep-03 18:40
John M. Drescher20-Sep-03 18:40 
GeneralRe: Using for_each with a map Pin
Phil Martin23-Sep-03 20:26
professionalPhil Martin23-Sep-03 20:26 
GeneralRe: Using for_each with a map Pin
John M. Drescher24-Sep-03 3:51
John M. Drescher24-Sep-03 3:51 
Generaldcom local server marshalling. Pin
umarcool19-Sep-03 2:30
umarcool19-Sep-03 2:30 
GeneralRe: dcom local server marshalling. Pin
Gary R. Wheeler20-Sep-03 5:29
Gary R. Wheeler20-Sep-03 5:29 
GeneralProblem with remote server Pin
umarcool21-Sep-03 19:14
umarcool21-Sep-03 19:14 
GeneralRe: Problem with remote server Pin
Gary R. Wheeler22-Sep-03 14:15
Gary R. Wheeler22-Sep-03 14:15 
GeneralRe: Problem with remote server Pin
umarcool23-Sep-03 5:44
umarcool23-Sep-03 5:44 
GeneralATL COM Pin
Binayak18-Sep-03 13:07
Binayak18-Sep-03 13:07 

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.