Narrow width layout Medium width layout Full-screen width layout    Small text Medium text Large text    Color Palette Selector      Search
Register  |  
Forum policy    

These Discussion Forums are dedicated to discussions on Sophis products. Some are private, you shall be connected to see their content.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to Sophis products.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Publishing information for insider trades or other illegal trading is forbidden and will be reported,
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Private messaging between users is enable. If you already put a message on forums, a registered user can send you a private message by clicking on the username link, and thus on the "Message User" link on the "Private Messaging" row. The messages can be read by clicking on the Inbox button of the toolbar.

 
Forums    
 
  Forum  Development  General  Loading the API on all pool processes of IIS
Previous Previous
 
Next Next
New Post 10/2/2008 10:09 PM
  Philippe Bonneau
254 posts
www.ebsys.fr
1st Level Poster


Loading the API on all pool processes of IIS 

Hi,

Thanks to a friend, in order to load the API on all processes declared in the pool application of IIS (Internet Information Server), the right way is to override the HttpApplication.Init() and HttpApplication.Dispose()  methods, and not the Application_Start and Application_End as I did it on the resource samples.

The article describing the different methods of HttpApplication on MSDN is there: http://msdn.microsoft.com/en-us/library/ms178473.aspx

On managed C++, the right way to override the Init() and Dispose() methods are the following ones:

  • Init:  virtual void Init() override;
  • Dispose: virtual ~Global(); // corresponds to the HttpApplication::Dispose method and where Global inherits from HttpApplication

Rgds,
Philippe

 
New Post 10/2/2008 10:11 PM
  Philippe Bonneau
254 posts
www.ebsys.fr
1st Level Poster


Re: Loading the API on all pool processes of IIS 

Of course, I will put on the resources a new version of ITQWebService asap.

 
Previous Previous
 
Next Next
  Forum  Development  General  Loading the API on all pool processes of IIS
 Syndicate  

Copyright 2007-2008 by Ebsys  | Terms Of Use | Privacy Statement  | Skin by Speerio