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

ATL / WTL / STL

 
GeneralTrouble using WTL7.0 in a MFC project Pin
luedi21-Sep-03 23:00
luedi21-Sep-03 23:00 
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 
Hi there,
my requirement is such that i have to have a singleton based exe or dll server. Dll is better choice.
Now when i use the DECLARE_CLASSFACTORY_SINGLETON macro on exe local server no problem happens and i have a singleton allright.
I have done debugging on that and the same object is returned using
CoCreateInstance

now i want to use an inproc server and i want it to be singleton as you know the requirement are but when i debug it there are seperate object formed for each client instance attaching.
and it doesn't care about the macro.

I know that for every process mapping of a dll is done but i want some mechanism of COM which let me have a single instance dll inproc server.
I need a solution to this problem otherwise i have to stick to expensive marshalling.

GeneralRe: DECLARE_CLASSFACTORY_SINGLETON Problem Pin
sashaf22-Sep-03 2:37
sashaf22-Sep-03 2:37 
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 

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.