473,781 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running inproc COM-components in a surrogate process using win32com

Hi all,

It should be possible to let inproc COM-components live in a surrogate
process (for instance in the default Dllhost.exe surrogate process, for
more info see http://msdn.microsoft.com search for: "DLL Surrogates
(COM)"). Somehow this "feature" does not seem to work when running
inproc COM-components launched within a python environment using the
win32com package (the inproc component then lives in the python.exe
process). Does anyone know whether win32com supports surrogates
processes and if so what could I done wrong? Or is there perhaps an
alternative, I use python for testing inproc COM-components so it is not
an option to let the COM-components live in the python process (if the
component under test chrashes my testenvironment will crash too).

Thanks in advance!

Regards,
Patrick
Jul 18 '05 #1
0 1384

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1293
by: Bill Belliveau | last post by:
Hello all, I’m looking for some general information about sharing the session but haven’t found any resources that confirm my conceptions. All the discusisons about sharing the session revolve around services and SQL It appears possible to run multiple servers off one servers InProc provided the stateConnectionString is configured properly, true? Also it appears if InProc is used, data does not need to be serialiazble, true?
0
1977
by: Steve Donnelly | last post by:
I have an HttpModule that gets the SessionStateModule and registers for the Start and End events. Global receives both Start and End events (both timeout and when Session.Abandon() is called), but my module receives only the Start event. SessionMode is InProc. Commenting out Global's Session_End() does not have any effect. Does anyone know why Session_End() is not called?
2
1285
by: Joseph | last post by:
Hi, I have 2 web services (WS1 and WS2). The sessionstate of WS1 is InProc and the sessionState of WS2 is Off. WS1 is calling a web method on WS2 from 2 different threads (i.e. WS1 triggered from 2 different sessions on different browsers) simultaneously. However, the called web method on WS2 is running on the same thread. Is it possible to make the web method on WS2 to run on different threads? thanks.
3
4564
by: Carpe Diem | last post by:
Hello I have an aspx page that loses Session("user") value after a few minutes even after I set <sessionState mode="InProc" cookieless="false" timeout="300"> in web.config and wrote function Session_Start() { Session.Timeout = 3000; } in global.asax
0
4749
by: --alec | last post by:
Is there a maximum recommended value for setting the timeout value in web.config section <sessionState mode="InProc" timeout="20" /> What are the possible repercussions of setting this value to high? I have a user base whose job tasks require them at times to open a asp.net page and ignore it for extended periods of time. The default value of 20 is
6
2013
by: Steven Spits | last post by:
Hi, We're thinking of moving session from inproc to a state server. My question is: should we expect a difference in performance? Is it noticeable? Steven - - -
6
2346
by: tshad | last post by:
I switched my site from InProc to StateServer a while ago which solve a problem I was having dropping my session cookies when the worker process recycles. This has been working well until today. I was looking at some sample code and found that it won't work under StateServer, but will under InProc. The message I get is:
13
2450
by: James Hunter Ross | last post by:
We love the ASP.NET "Session" concept and make good use of it. But, getting close to deployment we find we lose sessions far too often, probably due to application restarts, etc. We hope to eliminate these restarts, but we're not sure that can be achieved. (We are exploring who/what might be touching web.config or assemblies or other files in our application, but have found nothing so far.) We have some serious rewriting to do if all...
2
2817
by: teo | last post by:
I need to use the 'Session_End' event in the 'Global.asax' file. It only works if in the 'Web.config' file the 'sessionState mode' Tag is present and its value is set to "InProc" 1) I thought it was a default setting, wasn't it?
4
11204
by: wilderness | last post by:
I have a Windows 2000 Server (SP4) with .NET Framework 1.1 (with hotfixes) installed, along with .NET Framework 2 I have a Delphi .DLL that interfaces with several .aspx files as part of a member database. Each .aspx file contains categorized properties about members. The first page is named profile1.aspx, the second page profile2.aspx and so forth. NEXT and PREVIOUS buttons allow the user to move back and forth. For some unknown...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10076
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9939
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7486
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5375
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4040
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.