Results 1 to 5 of 5

Thread: ActiveX exe so sloooowwww!!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    67

    ActiveX exe so sloooowwww!!

    I took some class modules from my standard exe and converted them into an ActiveX exe. It works as it should, except that it takes twice as long to process the data. It is not marshalling that is causing it, because there is no data being sent to or from the client and the COM object. Moreover, they are even on the same machine! There is heavy ADO usage on an Access database which is also on the same machine( but that is how it was earlier too).
    What could be causing my app to slow down so much??

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    67
    I changed the ActixeX EXE to a DLL but am still not seeing any difference in speed. So the reason is obviously nothing to do with memory space.
    Any ideas folks!! Might the threading model have anything to do? I do not think so because my app is the only one using it.

  3. #3
    Lively Member
    Join Date
    May 2001
    Location
    Jordan\Amman
    Posts
    84
    When a request come from the Client App to the COM object ,Do you initiate the Connection to the Database everytime .....or your connection is always up and your are using a connector class to share the connection ???
    Palestine will be free again ,and someday all the unjustice will be from the history.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    67
    The connection is created when the request comes. I can see where you are going and I will see if creating a connecter class makes any difference. However it is not that the request is coming every so often. In one session the client may request the COM object just once. So I am in fact creating just one connection from the COM object.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    67
    Swissa,
    I am having a tough time creating the connector class. Would you happen to have any code that could help? Muchas gracias!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width