Click here to Skip to main content
15,914,360 members
Home / Discussions / COM
   

COM

 
GeneralRe: Use connection point in Dll. The process that load the Dll can not quit completely. Pin
chengliang7-Dec-03 15:20
chengliang7-Dec-03 15:20 
GeneralRe: Use connection point in Dll. The process that load the Dll can not quit completely. Pin
Heath Stewart8-Dec-03 2:21
protectorHeath Stewart8-Dec-03 2:21 
Generalneed the header file for wsnprintf() signature Pin
derik_konark29-Nov-03 23:56
derik_konark29-Nov-03 23:56 
GeneralRe: need the header file for wsnprintf() signature Pin
Roger Stewart9-Dec-03 9:01
professionalRoger Stewart9-Dec-03 9:01 
GeneralType of Control Pane Pin
Danis Solovyov27-Nov-03 22:33
sussDanis Solovyov27-Nov-03 22:33 
GeneralDrag & Drop Pin
K-ballo27-Nov-03 15:43
K-ballo27-Nov-03 15:43 
GeneralRe: Drag & Drop Pin
Prakash Nadar27-Nov-03 16:09
Prakash Nadar27-Nov-03 16:09 
GeneralVB COM problem Pin
andyhk9527-Nov-03 15:03
andyhk9527-Nov-03 15:03 
Hi..

I have built a dll file using Visual Basic 6.0 and registered it in
Component Services as a Server Component. Because the dll will run
for more than 1 hour (approximately in about 85 minutes). The
component can be called by ASP or EXE (built using VB also).

The problem will come if there is more than one client application
(could be ASP or EXE) call the component at the same time (for
example 2 ASP request and 2 EXE file). Each client application will
need to call the dll file and process the data (either
insert/delete/retrieve records) based on their own data submitted by
the user, so the data for first client application should not be
processed by the second client application.

But after doing the testing, I realized that somehow the first client
will processed the data for second client application. And also
another strange thing is the latest caller will be processed and
finished first. For example, If the component is called by first EXE,
then 2 seconds later there is another call from second EXE. The
second EXE will be processed and finished first, the first EXE will
wait until the second EXE finished to continue the process.

Does anyone have same experience before? Or is this a limitation of
component built using VB? Also what is the advantage of registering the component (dll file) in multiple Application (Package).
Any suggestions will be appreciated.

Thanks,
Andy
GeneralRe: VB COM problem Pin
Brian Shifrin1-Dec-03 7:07
Brian Shifrin1-Dec-03 7:07 
GeneralRe: VB COM problem Pin
andyhk951-Dec-03 13:39
andyhk951-Dec-03 13:39 
GeneralTOM (Text Object Model) Pin
Andre123427-Nov-03 6:00
Andre123427-Nov-03 6:00 
GeneralThread/ COM Connection point Pin
benglish7225-Nov-03 17:49
benglish7225-Nov-03 17:49 
GeneralProblem solved, thanks! Pin
benglish7225-Nov-03 18:35
benglish7225-Nov-03 18:35 
GeneralProblem with Custom COM object in implementation of Interface Pin
bryces25-Nov-03 16:08
bryces25-Nov-03 16:08 
Generalworking with New Enum... Pin
rajdawg25-Nov-03 15:09
rajdawg25-Nov-03 15:09 
Generalconstants in IDL file Pin
srikanthos25-Nov-03 1:23
srikanthos25-Nov-03 1:23 
GeneralCEdit in COM Pin
Tomaz Rotovnik24-Nov-03 20:48
Tomaz Rotovnik24-Nov-03 20:48 
GeneralRe: CEdit in COM Pin
Tomaz Rotovnik24-Nov-03 21:02
Tomaz Rotovnik24-Nov-03 21:02 
GeneralRe: CEdit in COM Pin
Tomaz Rotovnik24-Nov-03 22:57
Tomaz Rotovnik24-Nov-03 22:57 
Generalusing serverxmlhttp from a service or existing process Pin
noahsarf24-Nov-03 8:30
noahsarf24-Nov-03 8:30 
GeneralIID_... but no CLSID_... Pin
Xteuk24-Nov-03 4:46
Xteuk24-Nov-03 4:46 
GeneralRe: IID_... but no CLSID_... Pin
Mike Dimmick24-Nov-03 5:31
Mike Dimmick24-Nov-03 5:31 
GeneralRe: IID_... but no CLSID_... Pin
Xteuk24-Nov-03 22:13
Xteuk24-Nov-03 22:13 
GeneralMultiThreaded OutProc Server Pin
TroLoo22-Nov-03 7:22
TroLoo22-Nov-03 7:22 
GeneralRe: MultiThreaded OutProc Server Pin
valikac24-Nov-03 5:49
valikac24-Nov-03 5:49 

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.