Click here to Skip to main content
15,919,500 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: STL Question Pin
Jörgen Sigvardsson4-Apr-04 8:55
Jörgen Sigvardsson4-Apr-04 8:55 
GeneralRe: STL Question Pin
Josef Schroettle5-Apr-04 7:27
Josef Schroettle5-Apr-04 7:27 
GeneralRe: STL Question Pin
Jörgen Sigvardsson5-Apr-04 12:01
Jörgen Sigvardsson5-Apr-04 12:01 
GeneralRe: STL Question Pin
Josef Schroettle6-Apr-04 7:26
Josef Schroettle6-Apr-04 7:26 
GeneralRe: STL Question Pin
Nemanja Trifunovic6-Apr-04 10:44
Nemanja Trifunovic6-Apr-04 10:44 
QuestionScrolling Dialog Box? Pin
Rick Pingry3-Apr-04 4:03
Rick Pingry3-Apr-04 4:03 
GeneralCOM out of process server (EXE) instantiated 2 times Pin
sebdej31-Mar-04 2:19
sebdej31-Mar-04 2:19 
GeneralRe: COM out of process server (EXE) instantiated 2 times Pin
Mike Dimmick1-Apr-04 1:31
Mike Dimmick1-Apr-04 1:31 
What happens if you launch two copies of your script simultaneously?

If you still get two copies of your EXE, you probably registered your class objects as REGCLS_SINGLEUSE. This causes the class object's registration to be removed after the first class object was created. Unless you called CoRegisterClassObject again, the next time a call to CoGetClassFactory (which is called internally by CoCreateInstance) occurs, the COM Service Control Manager starts up a new instance of your server.

If you want all clients to use the same server process, you should register your class objects as REGCLS_MULTIPLEUSE.

In an ATL server, you typically register your class objects by calling _Module.RegisterClassObjects in WinMain.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: COM out of process server (EXE) instantiated 2 times Pin
sebdej8-Apr-04 3:24
sebdej8-Apr-04 3:24 
GeneralURLDownloadToFile Pin
mikewithersone30-Mar-04 1:31
mikewithersone30-Mar-04 1:31 
GeneralRe: URLDownloadToFile Pin
Monty230-Mar-04 2:01
Monty230-Mar-04 2:01 
GeneralRe: URLDownloadToFile Pin
22491730-Mar-04 2:17
22491730-Mar-04 2:17 
GeneralRe: URLDownloadToFile Pin
mikewithersone30-Mar-04 6:37
mikewithersone30-Mar-04 6:37 
QuestionIs there some WTL structure like POSITION of MFC? Pin
freehawk29-Mar-04 22:42
freehawk29-Mar-04 22:42 
AnswerRe: Is there some WTL structure like POSITION of MFC? Pin
_Magnus_30-Mar-04 0:39
_Magnus_30-Mar-04 0:39 
GeneralRe: Is there some WTL structure like POSITION of MFC? Pin
freehawk30-Mar-04 1:09
freehawk30-Mar-04 1:09 
GeneralRe: Is there some WTL structure like POSITION of MFC? Pin
_Magnus_30-Mar-04 1:09
_Magnus_30-Mar-04 1:09 
GeneralRe: Is there some WTL structure like POSITION of MFC? Pin
Tim Smith30-Mar-04 16:01
Tim Smith30-Mar-04 16:01 
GeneralRe: Is there some WTL structure like POSITION of MFC? Pin
Anonymous1-Apr-04 6:03
Anonymous1-Apr-04 6:03 
GeneralRe: Is there some WTL structure like POSITION of MFC? Pin
Anonymous1-Apr-04 6:06
Anonymous1-Apr-04 6:06 
GeneralRe: Is there some WTL structure like POSITION of MFC? Pin
Kevin McFarlane2-Apr-04 23:27
Kevin McFarlane2-Apr-04 23:27 
GeneralRe: Is there some WTL structure like POSITION of MFC? Pin
Kevin McFarlane2-Apr-04 23:32
Kevin McFarlane2-Apr-04 23:32 
GeneralRe: Actually, this is a better tutorial Pin
Kevin McFarlane2-Apr-04 23:36
Kevin McFarlane2-Apr-04 23:36 
GeneralATL char macros conversion implicity Pin
El'Cachubrey29-Mar-04 0:21
El'Cachubrey29-Mar-04 0:21 
GeneralRe: ATL char macros conversion implicity Pin
Tim Smith29-Mar-04 4:17
Tim Smith29-Mar-04 4:17 

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.