Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Delphi and Groupwise

ajoajo Member Posts: 40
Good Morning,

I am trying to set up a notification program that will check database tables for invalid values and send Groupwise emails if there are any problems with the data. This program runs every 15 minutes, using a timer. The program runs fine the first time--it gets the bad data, puts it in an email message, and sends the message successfully. However, it will only do this once. After it has run once, it gives an error every time it tries to run after that: 'Project [projectname] raised exception class EOleException with message 'Operation aborted'.' It seems to crash on the line:
GWUserObj := GroupWiseObj.Login('[username]','[password]');
The code to create the ComObj is:
GroupWiseObj := CreateOleObject('NovellGroupWareSession');

If anyone could offer an explanation for this problem, I would greatly appreciate it. Thanks!


Comments

  • zibadianzibadian Member Posts: 6,349
    : Good Morning,
    :
    : I am trying to set up a notification program that will check database tables for invalid values and send Groupwise emails if there are any problems with the data. This program runs every 15 minutes, using a timer. The program runs fine the first time--it gets the bad data, puts it in an email message, and sends the message successfully. However, it will only do this once. After it has run once, it gives an error every time it tries to run after that: 'Project [projectname] raised exception class EOleException with message 'Operation aborted'.' It seems to crash on the line:
    : GWUserObj := GroupWiseObj.Login('[username]','[password]');
    : The code to create the ComObj is:
    : GroupWiseObj := CreateOleObject('NovellGroupWareSession');
    :
    : If anyone could offer an explanation for this problem, I would greatly appreciate it. Thanks!
    :
    :
    From your description of the problem, it seems the program is still logged in when it runs the second time. Perhaps there is a problem with the log-out after the email was sent.
  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    ________ { http://forcoder.org } free ebooks and video tutorials about \ Scratch PHP Perl Go Java C C# C++ Visual Basic .NET Assembly JavaScript Ruby Python Swift Visual Basic R MATLAB PL/SQL Delphi Objective-C VBScript Clojure Lua Julia Dart Rust SAS COBOL Fortran D Awk Bash Lisp LabVIEW Kotlin Apex Ada Crystal Scheme Hack Alice ABAP Transact-SQL Prolog Scala FoxPro Erlang F# ML Logo \

Sign In or Register to comment.