Click here to Skip to main content
15,904,288 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: STL map. Pin
WREY28-Dec-03 16:12
WREY28-Dec-03 16:12 
GeneralRe: STL map. Pin
Jörgen Sigvardsson29-Dec-03 12:39
Jörgen Sigvardsson29-Dec-03 12:39 
GeneralRe: STL map. Pin
Jörgen Sigvardsson29-Dec-03 11:31
Jörgen Sigvardsson29-Dec-03 11:31 
GeneralRe: STL map. Pin
WREY1-Jan-04 1:48
WREY1-Jan-04 1:48 
GeneralRe: STL map. Pin
Jörgen Sigvardsson1-Jan-04 5:01
Jörgen Sigvardsson1-Jan-04 5:01 
GeneralRe: STL map. Pin
WREY1-Jan-04 14:09
WREY1-Jan-04 14:09 
Questionstd::istrstream test(NULL) ... what happens??? Pin
Ralph Wetzel26-Dec-03 23:08
Ralph Wetzel26-Dec-03 23:08 
GeneralCom server terminates Pin
Prakash Nadar26-Dec-03 21:30
Prakash Nadar26-Dec-03 21:30 
Hi,
I have created a com server using ATL as Windos NT service.
I also added an interface to the server i.e STA interface.Every thing works fine... The com server is maintaining a socket connection in a worker thread.

My problem starts like this... I have written a client application that uses the interface... When two clients are open no problem, if three clients are open no problem, then if i start closing each client one by one (in any order) then no problem. When i close the last client application along with the client ther service also terminates (it gets out of the message loop) and hence the socket connection. I want to maintain the socket connection even if no client is using the interface....

I am desperate for an answer as i could not find any solution.
Setup
1.visual C++, version 6.0
2.Project type ATL COM Service.
3.How it was executed the service? By clicking run button on the toolbar.

one more thing,
How do i make the service startup when windows boots?





My God is more powerfull Than Your God. (the line that divides the world)
GeneralPreformance issue Pin
lpRomang26-Dec-03 4:10
lpRomang26-Dec-03 4:10 
GeneralOLE DB templated samples Pin
Sebastián Benítez25-Dec-03 7:30
Sebastián Benítez25-Dec-03 7:30 
GeneralRe: OLE DB templated samples Pin
Igor Vigdorchik25-Dec-03 10:09
Igor Vigdorchik25-Dec-03 10:09 
GeneralRe: OLE DB templated samples Pin
Sebastián Benítez25-Dec-03 10:19
Sebastián Benítez25-Dec-03 10:19 
GeneralRe: OLE DB templated samples Pin
nativespirits29-Dec-03 14:24
nativespirits29-Dec-03 14:24 
GeneralWTL "tendencies" Pin
Shutter23-Dec-03 19:18
Shutter23-Dec-03 19:18 
GeneralRe: WTL "tendencies" Pin
Sebastián Benítez24-Dec-03 1:44
Sebastián Benítez24-Dec-03 1:44 
GeneralRe: WTL "tendencies" Pin
Shutter24-Dec-03 4:13
Shutter24-Dec-03 4:13 
GeneralRe: WTL "tendencies" Pin
Igor Vigdorchik24-Dec-03 8:48
Igor Vigdorchik24-Dec-03 8:48 
GeneralRe: WTL "tendencies" Pin
Jörgen Sigvardsson26-Dec-03 4:20
Jörgen Sigvardsson26-Dec-03 4:20 
GeneralCOM Server created with ATL can't find the new Interface Pin
Nirav Thakkar23-Dec-03 14:54
Nirav Thakkar23-Dec-03 14:54 
GeneralRe: COM Server created with ATL can't find the new Interface Pin
Igor Vigdorchik23-Dec-03 16:34
Igor Vigdorchik23-Dec-03 16:34 
Generalwstring to string and vice versa Pin
Prakash Nadar23-Dec-03 5:10
Prakash Nadar23-Dec-03 5:10 
GeneralRe: wstring to string and vice versa Pin
Stuart Dootson23-Dec-03 5:39
professionalStuart Dootson23-Dec-03 5:39 
GeneralRe: wstring to string and vice versa Pin
Nemanja Trifunovic23-Dec-03 10:03
Nemanja Trifunovic23-Dec-03 10:03 
GeneralRe: wstring to string and vice versa Pin
Michael Dunn23-Dec-03 15:41
sitebuilderMichael Dunn23-Dec-03 15:41 
QuestionHow to access element in a vector of set Pin
Anthony_Yio22-Dec-03 21:45
Anthony_Yio22-Dec-03 21:45 

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.