Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with PaintRgn()... Pin
NormDroid15-Nov-02 8:50
professionalNormDroid15-Nov-02 8:50 
GeneralActive Desktop Pin
Grep14-Nov-02 22:47
Grep14-Nov-02 22:47 
GeneralCreateFile on COM1 Pin
Anonymous14-Nov-02 22:21
Anonymous14-Nov-02 22:21 
GeneralRe: CreateFile on COM1 Pin
NormDroid15-Nov-02 8:49
professionalNormDroid15-Nov-02 8:49 
GeneralGDI+ weird problems Pin
Vije14-Nov-02 22:14
Vije14-Nov-02 22:14 
Generaldialog apps with popups Pin
MattG14-Nov-02 21:55
MattG14-Nov-02 21:55 
GeneralRe: dialog apps with popups Pin
Christian Graus14-Nov-02 22:16
protectorChristian Graus14-Nov-02 22:16 
GeneralCOM server threading model / ASP Pin
devvvy14-Nov-02 21:42
devvvy14-Nov-02 21:42 
Let's say that I've developed a COM-inprocess STA server.

QUESTION 1:

A c++ client can specify STA client thread by:

CoInitialize(NULL, COINIT_APARTMENTTHREADED);

How can you do this from an ASP application? For instance, you cant specify client threading model with CreateObject:

<% Set Session("ad") = Server.CreateObject("MSWC.AdRotator")%>

This will store the com server in session scope. But threading model?


QUESTION 2:

I am writing a backend server component that generate a SQL "statement" based based on input ASP. What's the best threading model for this situation? Note that this component is NOT responsible for database access. It simply get input from ASP and pass back a string to ASP

Thanks



norm
GeneralRe: COM server threading model / ASP Pin
Daniel Turini14-Nov-02 21:58
Daniel Turini14-Nov-02 21:58 
GeneralRe: COM server threading model / ASP Pin
devvvy14-Nov-02 22:06
devvvy14-Nov-02 22:06 
GeneralStatusbar update problem Pin
Equinoxe14-Nov-02 21:19
Equinoxe14-Nov-02 21:19 
GeneralChange Cursor again Pin
Dennis L14-Nov-02 21:11
Dennis L14-Nov-02 21:11 
GeneralRe: Change Cursor again Pin
georgiek5014-Nov-02 23:22
georgiek5014-Nov-02 23:22 
GeneralRe: Change Cursor again Pin
Dennis L15-Nov-02 0:51
Dennis L15-Nov-02 0:51 
GeneralHe PocketPC developers, PLEASE HELP! Pin
Daniel Strigl14-Nov-02 20:19
Daniel Strigl14-Nov-02 20:19 
GeneralRe: He PocketPC developers, PLEASE HELP! Pin
Daniel Strigl17-Nov-02 23:35
Daniel Strigl17-Nov-02 23:35 
Generalwindows hooks & move messages Pin
Dan_P14-Nov-02 20:18
Dan_P14-Nov-02 20:18 
GeneralHappy Birthday CodeProject! Pin
Anonymous14-Nov-02 20:17
Anonymous14-Nov-02 20:17 
GeneralRe: Happy Birthday CodeProject! Pin
Rickard Andersson2014-Nov-02 21:07
Rickard Andersson2014-Nov-02 21:07 
GeneralRe: Happy Birthday CodeProject! Pin
Christian Graus14-Nov-02 22:18
protectorChristian Graus14-Nov-02 22:18 
GeneralRe: Happy Birthday CodeProject! Pin
Anonymous14-Nov-02 22:27
Anonymous14-Nov-02 22:27 
GeneralRe: Happy Birthday CodeProject! Pin
Rickard Andersson2014-Nov-02 22:37
Rickard Andersson2014-Nov-02 22:37 
GeneralRe: Happy Birthday CodeProject! Pin
Ravi Bhavnani15-Nov-02 2:43
professionalRavi Bhavnani15-Nov-02 2:43 
GeneralGets the coordinates of the cursor's hot spot Pin
Eugene Pustovoyt14-Nov-02 19:51
Eugene Pustovoyt14-Nov-02 19:51 
GeneralRe: Gets the coordinates of the cursor's hot spot Pin
dabs14-Nov-02 23:23
dabs14-Nov-02 23:23 

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.