Click here to Skip to main content
16,009,057 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: STL string (basic_string) Question. Pin
petrym30-Aug-03 19:46
petrym30-Aug-03 19:46 
GeneralRe: STL string (basic_string) Question. Pin
ZoogieZork30-Aug-03 22:16
ZoogieZork30-Aug-03 22:16 
GeneralRe: STL string (basic_string) Question. Pin
petrym31-Aug-03 7:38
petrym31-Aug-03 7:38 
GeneralRe: STL string (basic_string) Question. Pin
ZoogieZork31-Aug-03 8:10
ZoogieZork31-Aug-03 8:10 
GeneralRe: STL string (basic_string) Question. Pin
petrym31-Aug-03 9:31
petrym31-Aug-03 9:31 
GeneralSTLPORT + locale will not compile Pin
John M. Drescher30-Aug-03 7:55
John M. Drescher30-Aug-03 7:55 
GeneralCOM+ Application to Register my COM Component (VC++). Please Help ......... Pin
Atif Bashir28-Aug-03 21:08
Atif Bashir28-Aug-03 21:08 
GeneralRe: COM+ Application to Register my COM Component (VC++). Please Help ......... Pin
Brad Sokol29-Aug-03 2:52
Brad Sokol29-Aug-03 2:52 
A few simple solutions come to mind.

Assuming your ATL COM component is in-process, you could call LoadLibrary() on the DLL, GetProcAddress() on DllRegisterServer() and then call through the function pointer.

Alternatively, use CreateProcess() to run regsvr32.exe which essentially does the same as the above. I'm not sure if you can rely on regsvr32.exe being part of a "standard" Windows installation.

If your COM component is hosted by an out-of-process server, you can call CreateProcess() on your EXE, passing the "/RegServer" or "/Service" command line argument as required.

HTH

Brad
GeneralXP Explorer Search like View Pin
Wild Wild Mike27-Aug-03 10:01
Wild Wild Mike27-Aug-03 10:01 
GeneralHandling ActiveX Events in VB Pin
nalinikanth26-Aug-03 3:34
nalinikanth26-Aug-03 3:34 
QuestionHow to run a script (.vbs) in VC++, Please help .... Pin
Atif Bashir26-Aug-03 2:43
Atif Bashir26-Aug-03 2:43 
AnswerRe: How to run a script (.vbs) in VC++, Please help .... Pin
palbano28-Aug-03 8:40
palbano28-Aug-03 8:40 
AnswerRe: How to run a script (.vbs) in VC++, Please help .... Pin
Vi229-Aug-03 4:36
Vi229-Aug-03 4:36 
Generalkeeping track of pointers to objects with STL Pin
Jeremy Pullicino26-Aug-03 0:04
Jeremy Pullicino26-Aug-03 0:04 
GeneralRe: keeping track of pointers to objects with STL Pin
Joaquín M López Muñoz26-Aug-03 3:32
Joaquín M López Muñoz26-Aug-03 3:32 
GeneralRe: keeping track of pointers to objects with STL Pin
Nemanja Trifunovic26-Aug-03 5:07
Nemanja Trifunovic26-Aug-03 5:07 
QuestionHow to load a cursor dymamically, from a dynamically created bitmap? Pin
Garuna25-Aug-03 22:20
Garuna25-Aug-03 22:20 
GeneralWTL + Time/Date information Pin
Ernesto D.23-Aug-03 22:00
Ernesto D.23-Aug-03 22:00 
GeneralRe: WTL + Time/Date information Pin
Stuart Dootson23-Aug-03 23:18
professionalStuart Dootson23-Aug-03 23:18 
GeneralRe: WTL + Time/Date information Pin
Steve S25-Aug-03 22:19
Steve S25-Aug-03 22:19 
GeneralRe: WTL + Time/Date information Pin
Ernesto D.26-Aug-03 9:46
Ernesto D.26-Aug-03 9:46 
GeneralRe: WTL + Time/Date information Pin
Rob Caldecott26-Aug-03 23:23
Rob Caldecott26-Aug-03 23:23 
GeneralRe: WTL + Time/Date information Pin
Ernesto D.27-Aug-03 14:54
Ernesto D.27-Aug-03 14:54 
GeneralRe: WTL + Time/Date information Pin
Rob Caldecott27-Aug-03 22:05
Rob Caldecott27-Aug-03 22:05 
GeneralRe: WTL + Time/Date information Pin
Steve S27-Aug-03 22:36
Steve S27-Aug-03 22:36 

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.