Howdy
I have a wierd issue. I'm not really expecting anyone to have a simple
answer. I'm not really sure wether's it a bug in my code, the OLE32 xh
interface or Outlook 2003 OLE interface
I have a little app that loops through a list of public folders in outlook
that hold appointments (they are timesheet entries)
This is basically 3 outlook calendars
We track our time in them all day every day . This little app connects to
Outlook and basically loops through each calendar with an inner loop that
loops through the appointments in each
If I run it for a day it works fine, if I run it for a fews days sometimes
it works fine. if I try and run it for a large date range the OLE return an
E_FAIL error.
The weird bit is that it fails trying to retrieve the category of the
apppointment. What makes it even weirder is when I then go to outlook and
try and look at the appointment it fails on, I cannot access the appointment
or any further on in that Calendar. If I restart Outlook all is well again,
I get a trace, here it is
**************************** Error log file ********************************
Date: 28/09/07
Time: 11:36:02
Available Memory: 324360
Current Area: 1
---------------------------- Compiler
Information -----------------------------
Xailer Version: Xailer 1.4.0 Version 1.4
Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version: 7
C/C++ Compiler: Borland C++ 5.5.1
Windows Platform: Windows XP Professional 5.01.2600 Service Pack 2
--------------------- Internal Error Handling
Information ---------------------
Subsystem Call:
Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
System Code: 16389
Default Status: .F.
Description: E_FAIL
Operation: CATEGORIES
Arguments:
Involved File:
Dos Error Code: 0
Trace Through:
TOLEAUTO:CATEGORIES (0)
OUTLOOK:CALENDARLOOP (124)
OUTLOOKSUMMARYFRM:QUERYOUTLOOK (67)
TBUTTON:ONCLICK (0)
TBUTTON:CLICK (99)
(b)XCONTROL:XCONTROL (140)
TBUTTON:COMMAND (0)
TSCROLLINGWINCONTROL:WMCOMMAND (253)
OUTLOOKSUMMARYFRM:WMCOMMAND (884)
RUNFORM (0)
TAPPLICATION:RUN (209)
MAIN (15)
**************************** Error log file ********************************
The thing is, the line it fails on, I call every time I loop. The like above
this line pulls the date out of the appointment and it doesn;t fail, this
means the appointment object should be ok.
If I restart Outlook and run the app for just the day I had the issue with
it will run fine and not crash
I don't know much about OLE so I wonder am I overloading OLE maybe,do I need
slow the app down so it doesn;t flood the OLE? Is there memory limits I need
to be aware of
Maybe Exchange isn't keeping up, that may be the cause
Something about the trace
OUTLOOK:CALENDARLOOP (124) is where I request the category
Subsystem Call:
Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
This was at least 3 OLE calls back, basically the end of the previous
appointment, why is it in the trace
Any idea, however remote would be appreaited
Nick
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
OLE Error
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
OLE Error
Just some feedback on this issue. I upgrade to the latest versions of XH and
Xailer and the problem seems to be fixed. For once it was not me...very
rare....
Xailer is 1.7.5
XH is Version: 0.99.80 Date: 2007-09-17
> Howdy
>
> I have a wierd issue. I'm not really expecting anyone to have a simple
> answer. I'm not really sure wether's it a bug in my code, the OLE32 xh
> interface or Outlook 2003 OLE interface
>
> I have a little app that loops through a list of public folders in outlook
> that hold appointments (they are timesheet entries)
>
> This is basically 3 outlook calendars
>
> We track our time in them all day every day . This little app connects to
> Outlook and basically loops through each calendar with an inner loop that
> loops through the appointments in each
>
> If I run it for a day it works fine, if I run it for a fews days sometimes
> it works fine. if I try and run it for a large date range the OLE return
> an E_FAIL error.
>
> The weird bit is that it fails trying to retrieve the category of the
> apppointment. What makes it even weirder is when I then go to outlook and
> try and look at the appointment it fails on, I cannot access the
> appointment or any further on in that Calendar. If I restart Outlook all
> is well again,
>
> I get a trace, here it is
>
> **************************** Error log file
> ********************************
>
> Date: 28/09/07
> Time: 11:36:02
> Available Memory: 324360
> Current Area: 1
>
> ---------------------------- Compiler
> Information -----------------------------
>
> Xailer Version: Xailer 1.4.0 Version 1.4
> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version: 7
> C/C++ Compiler: Borland C++ 5.5.1
> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 2
>
> --------------------- Internal Error Handling
> Information ---------------------
>
> Subsystem Call:
> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
> System Code: 16389
> Default Status: .F.
> Description: E_FAIL
> Operation: CATEGORIES
> Arguments:
> Involved File:
> Dos Error Code: 0
>
> Trace Through:
> TOLEAUTO:CATEGORIES (0)
> OUTLOOK:CALENDARLOOP (124)
> OUTLOOKSUMMARYFRM:QUERYOUTLOOK (67)
> TBUTTON:ONCLICK (0)
> TBUTTON:CLICK (99)
> (b)XCONTROL:XCONTROL (140)
> TBUTTON:COMMAND (0)
> TSCROLLINGWINCONTROL:WMCOMMAND (253)
> OUTLOOKSUMMARYFRM:WMCOMMAND (884)
> RUNFORM (0)
> TAPPLICATION:RUN (209)
> MAIN (15)
>
> **************************** Error log file
> ********************************
>
> The thing is, the line it fails on, I call every time I loop. The like
> above this line pulls the date out of the appointment and it doesn;t fail,
> this means the appointment object should be ok.
> If I restart Outlook and run the app for just the day I had the issue with
> it will run fine and not crash
>
> I don't know much about OLE so I wonder am I overloading OLE maybe,do I
> need slow the app down so it doesn;t flood the OLE? Is there memory limits
> I need to be aware of
> Maybe Exchange isn't keeping up, that may be the cause
>
> Something about the trace
> OUTLOOK:CALENDARLOOP (124) is where I request the category
>
> Subsystem Call:
> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
> This was at least 3 OLE calls back, basically the end of the previous
> appointment, why is it in the trace
>
> Any idea, however remote would be appreaited
>
> Nick
>
>
>
>
Xailer and the problem seems to be fixed. For once it was not me...very
rare....

Xailer is 1.7.5
XH is Version: 0.99.80 Date: 2007-09-17
> Howdy
>
> I have a wierd issue. I'm not really expecting anyone to have a simple
> answer. I'm not really sure wether's it a bug in my code, the OLE32 xh
> interface or Outlook 2003 OLE interface
>
> I have a little app that loops through a list of public folders in outlook
> that hold appointments (they are timesheet entries)
>
> This is basically 3 outlook calendars
>
> We track our time in them all day every day . This little app connects to
> Outlook and basically loops through each calendar with an inner loop that
> loops through the appointments in each
>
> If I run it for a day it works fine, if I run it for a fews days sometimes
> it works fine. if I try and run it for a large date range the OLE return
> an E_FAIL error.
>
> The weird bit is that it fails trying to retrieve the category of the
> apppointment. What makes it even weirder is when I then go to outlook and
> try and look at the appointment it fails on, I cannot access the
> appointment or any further on in that Calendar. If I restart Outlook all
> is well again,
>
> I get a trace, here it is
>
> **************************** Error log file
> ********************************
>
> Date: 28/09/07
> Time: 11:36:02
> Available Memory: 324360
> Current Area: 1
>
> ---------------------------- Compiler
> Information -----------------------------
>
> Xailer Version: Xailer 1.4.0 Version 1.4
> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version: 7
> C/C++ Compiler: Borland C++ 5.5.1
> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 2
>
> --------------------- Internal Error Handling
> Information ---------------------
>
> Subsystem Call:
> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
> System Code: 16389
> Default Status: .F.
> Description: E_FAIL
> Operation: CATEGORIES
> Arguments:
> Involved File:
> Dos Error Code: 0
>
> Trace Through:
> TOLEAUTO:CATEGORIES (0)
> OUTLOOK:CALENDARLOOP (124)
> OUTLOOKSUMMARYFRM:QUERYOUTLOOK (67)
> TBUTTON:ONCLICK (0)
> TBUTTON:CLICK (99)
> (b)XCONTROL:XCONTROL (140)
> TBUTTON:COMMAND (0)
> TSCROLLINGWINCONTROL:WMCOMMAND (253)
> OUTLOOKSUMMARYFRM:WMCOMMAND (884)
> RUNFORM (0)
> TAPPLICATION:RUN (209)
> MAIN (15)
>
> **************************** Error log file
> ********************************
>
> The thing is, the line it fails on, I call every time I loop. The like
> above this line pulls the date out of the appointment and it doesn;t fail,
> this means the appointment object should be ok.
> If I restart Outlook and run the app for just the day I had the issue with
> it will run fine and not crash
>
> I don't know much about OLE so I wonder am I overloading OLE maybe,do I
> need slow the app down so it doesn;t flood the OLE? Is there memory limits
> I need to be aware of
> Maybe Exchange isn't keeping up, that may be the cause
>
> Something about the trace
> OUTLOOK:CALENDARLOOP (124) is where I request the category
>
> Subsystem Call:
> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
> This was at least 3 OLE calls back, basically the end of the previous
> appointment, why is it in the trace
>
> Any idea, however remote would be appreaited
>
> Nick
>
>
>
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
OLE Error
Just some feedback on this issue. I upgrade to the latest versions of XH and
Xailer and the problem seems to be fixed. For once it was not me...very
rare....
Xailer is 1.7.5
XH is Version: 0.99.80 Date: 2007-09-17
> Howdy
>
> I have a wierd issue. I'm not really expecting anyone to have a simple
> answer. I'm not really sure wether's it a bug in my code, the OLE32 xh
> interface or Outlook 2003 OLE interface
>
> I have a little app that loops through a list of public folders in outlook
> that hold appointments (they are timesheet entries)
>
> This is basically 3 outlook calendars
>
> We track our time in them all day every day . This little app connects to
> Outlook and basically loops through each calendar with an inner loop that
> loops through the appointments in each
>
> If I run it for a day it works fine, if I run it for a fews days sometimes
> it works fine. if I try and run it for a large date range the OLE return
> an E_FAIL error.
>
> The weird bit is that it fails trying to retrieve the category of the
> apppointment. What makes it even weirder is when I then go to outlook and
> try and look at the appointment it fails on, I cannot access the
> appointment or any further on in that Calendar. If I restart Outlook all
> is well again,
>
> I get a trace, here it is
>
> **************************** Error log file
> ********************************
>
> Date: 28/09/07
> Time: 11:36:02
> Available Memory: 324360
> Current Area: 1
>
> ---------------------------- Compiler
> Information -----------------------------
>
> Xailer Version: Xailer 1.4.0 Version 1.4
> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version: 7
> C/C++ Compiler: Borland C++ 5.5.1
> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 2
>
> --------------------- Internal Error Handling
> Information ---------------------
>
> Subsystem Call:
> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
> System Code: 16389
> Default Status: .F.
> Description: E_FAIL
> Operation: CATEGORIES
> Arguments:
> Involved File:
> Dos Error Code: 0
>
> Trace Through:
> TOLEAUTO:CATEGORIES (0)
> OUTLOOK:CALENDARLOOP (124)
> OUTLOOKSUMMARYFRM:QUERYOUTLOOK (67)
> TBUTTON:ONCLICK (0)
> TBUTTON:CLICK (99)
> (b)XCONTROL:XCONTROL (140)
> TBUTTON:COMMAND (0)
> TSCROLLINGWINCONTROL:WMCOMMAND (253)
> OUTLOOKSUMMARYFRM:WMCOMMAND (884)
> RUNFORM (0)
> TAPPLICATION:RUN (209)
> MAIN (15)
>
> **************************** Error log file
> ********************************
>
> The thing is, the line it fails on, I call every time I loop. The like
> above this line pulls the date out of the appointment and it doesn;t fail,
> this means the appointment object should be ok.
> If I restart Outlook and run the app for just the day I had the issue with
> it will run fine and not crash
>
> I don't know much about OLE so I wonder am I overloading OLE maybe,do I
> need slow the app down so it doesn;t flood the OLE? Is there memory limits
> I need to be aware of
> Maybe Exchange isn't keeping up, that may be the cause
>
> Something about the trace
> OUTLOOK:CALENDARLOOP (124) is where I request the category
>
> Subsystem Call:
> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
> This was at least 3 OLE calls back, basically the end of the previous
> appointment, why is it in the trace
>
> Any idea, however remote would be appreaited
>
> Nick
>
>
>
>
Xailer and the problem seems to be fixed. For once it was not me...very
rare....

Xailer is 1.7.5
XH is Version: 0.99.80 Date: 2007-09-17
> Howdy
>
> I have a wierd issue. I'm not really expecting anyone to have a simple
> answer. I'm not really sure wether's it a bug in my code, the OLE32 xh
> interface or Outlook 2003 OLE interface
>
> I have a little app that loops through a list of public folders in outlook
> that hold appointments (they are timesheet entries)
>
> This is basically 3 outlook calendars
>
> We track our time in them all day every day . This little app connects to
> Outlook and basically loops through each calendar with an inner loop that
> loops through the appointments in each
>
> If I run it for a day it works fine, if I run it for a fews days sometimes
> it works fine. if I try and run it for a large date range the OLE return
> an E_FAIL error.
>
> The weird bit is that it fails trying to retrieve the category of the
> apppointment. What makes it even weirder is when I then go to outlook and
> try and look at the appointment it fails on, I cannot access the
> appointment or any further on in that Calendar. If I restart Outlook all
> is well again,
>
> I get a trace, here it is
>
> **************************** Error log file
> ********************************
>
> Date: 28/09/07
> Time: 11:36:02
> Available Memory: 324360
> Current Area: 1
>
> ---------------------------- Compiler
> Information -----------------------------
>
> Xailer Version: Xailer 1.4.0 Version 1.4
> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version: 7
> C/C++ Compiler: Borland C++ 5.5.1
> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 2
>
> --------------------- Internal Error Handling
> Information ---------------------
>
> Subsystem Call:
> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
> System Code: 16389
> Default Status: .F.
> Description: E_FAIL
> Operation: CATEGORIES
> Arguments:
> Involved File:
> Dos Error Code: 0
>
> Trace Through:
> TOLEAUTO:CATEGORIES (0)
> OUTLOOK:CALENDARLOOP (124)
> OUTLOOKSUMMARYFRM:QUERYOUTLOOK (67)
> TBUTTON:ONCLICK (0)
> TBUTTON:CLICK (99)
> (b)XCONTROL:XCONTROL (140)
> TBUTTON:COMMAND (0)
> TSCROLLINGWINCONTROL:WMCOMMAND (253)
> OUTLOOKSUMMARYFRM:WMCOMMAND (884)
> RUNFORM (0)
> TAPPLICATION:RUN (209)
> MAIN (15)
>
> **************************** Error log file
> ********************************
>
> The thing is, the line it fails on, I call every time I loop. The like
> above this line pulls the date out of the appointment and it doesn;t fail,
> this means the appointment object should be ok.
> If I restart Outlook and run the app for just the day I had the issue with
> it will run fine and not crash
>
> I don't know much about OLE so I wonder am I overloading OLE maybe,do I
> need slow the app down so it doesn;t flood the OLE? Is there memory limits
> I need to be aware of
> Maybe Exchange isn't keeping up, that may be the cause
>
> Something about the trace
> OUTLOOK:CALENDARLOOP (124) is where I request the category
>
> Subsystem Call:
> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
> This was at least 3 OLE calls back, basically the end of the previous
> appointment, why is it in the trace
>
> Any idea, however remote would be appreaited
>
> Nick
>
>
>
>
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
OLE Error
Nick,
Glad to read your message. Thansk for the feedback.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> escribió en el mensaje
news:[email=4702b662@ozsrv2.ozlan.local...]4702b662@ozsrv2.ozlan.local...[/email]
> Just some feedback on this issue. I upgrade to the latest versions of XH
> and Xailer and the problem seems to be fixed. For once it was not
> me...very rare....
>
> Xailer is 1.7.5
>
> XH is Version: 0.99.80 Date: 2007-09-17
>
>
>> Howdy
>>
>> I have a wierd issue. I'm not really expecting anyone to have a simple
>> answer. I'm not really sure wether's it a bug in my code, the OLE32 xh
>> interface or Outlook 2003 OLE interface
>>
>> I have a little app that loops through a list of public folders in
>> outlook that hold appointments (they are timesheet entries)
>>
>> This is basically 3 outlook calendars
>>
>> We track our time in them all day every day . This little app connects to
>> Outlook and basically loops through each calendar with an inner loop that
>> loops through the appointments in each
>>
>> If I run it for a day it works fine, if I run it for a fews days
>> sometimes it works fine. if I try and run it for a large date range the
>> OLE return an E_FAIL error.
>>
>> The weird bit is that it fails trying to retrieve the category of the
>> apppointment. What makes it even weirder is when I then go to outlook and
>> try and look at the appointment it fails on, I cannot access the
>> appointment or any further on in that Calendar. If I restart Outlook all
>> is well again,
>>
>> I get a trace, here it is
>>
>> **************************** Error log file
>> ********************************
>>
>> Date: 28/09/07
>> Time: 11:36:02
>> Available Memory: 324360
>> Current Area: 1
>>
>> ---------------------------- Compiler
>> Information -----------------------------
>>
>> Xailer Version: Xailer 1.4.0 Version 1.4
>> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version: 7
>> C/C++ Compiler: Borland C++ 5.5.1
>> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 2
>>
>> --------------------- Internal Error Handling
>> Information ---------------------
>>
>> Subsystem Call:
>> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
>> System Code: 16389
>> Default Status: .F.
>> Description: E_FAIL
>> Operation: CATEGORIES
>> Arguments:
>> Involved File:
>> Dos Error Code: 0
>>
>> Trace Through:
>> TOLEAUTO:CATEGORIES (0)
>> OUTLOOK:CALENDARLOOP (124)
>> OUTLOOKSUMMARYFRM:QUERYOUTLOOK (67)
>> TBUTTON:ONCLICK (0)
>> TBUTTON:CLICK (99)
>> (b)XCONTROL:XCONTROL (140)
>> TBUTTON:COMMAND (0)
>> TSCROLLINGWINCONTROL:WMCOMMAND (253)
>> OUTLOOKSUMMARYFRM:WMCOMMAND (884)
>> RUNFORM (0)
>> TAPPLICATION:RUN (209)
>> MAIN (15)
>>
>> **************************** Error log file
>> ********************************
>>
>> The thing is, the line it fails on, I call every time I loop. The like
>> above this line pulls the date out of the appointment and it doesn;t
>> fail, this means the appointment object should be ok.
>> If I restart Outlook and run the app for just the day I had the issue
>> with it will run fine and not crash
>>
>> I don't know much about OLE so I wonder am I overloading OLE maybe,do I
>> need slow the app down so it doesn;t flood the OLE? Is there memory
>> limits I need to be aware of
>> Maybe Exchange isn't keeping up, that may be the cause
>>
>> Something about the trace
>> OUTLOOK:CALENDARLOOP (124) is where I request the category
>>
>> Subsystem Call:
>> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
>> This was at least 3 OLE calls back, basically the end of the previous
>> appointment, why is it in the trace
>>
>> Any idea, however remote would be appreaited
>>
>> Nick
>>
>>
>>
>>
>
>
Glad to read your message. Thansk for the feedback.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> escribió en el mensaje
news:[email=4702b662@ozsrv2.ozlan.local...]4702b662@ozsrv2.ozlan.local...[/email]
> Just some feedback on this issue. I upgrade to the latest versions of XH
> and Xailer and the problem seems to be fixed. For once it was not
> me...very rare....

>
> Xailer is 1.7.5
>
> XH is Version: 0.99.80 Date: 2007-09-17
>
>
>> Howdy
>>
>> I have a wierd issue. I'm not really expecting anyone to have a simple
>> answer. I'm not really sure wether's it a bug in my code, the OLE32 xh
>> interface or Outlook 2003 OLE interface
>>
>> I have a little app that loops through a list of public folders in
>> outlook that hold appointments (they are timesheet entries)
>>
>> This is basically 3 outlook calendars
>>
>> We track our time in them all day every day . This little app connects to
>> Outlook and basically loops through each calendar with an inner loop that
>> loops through the appointments in each
>>
>> If I run it for a day it works fine, if I run it for a fews days
>> sometimes it works fine. if I try and run it for a large date range the
>> OLE return an E_FAIL error.
>>
>> The weird bit is that it fails trying to retrieve the category of the
>> apppointment. What makes it even weirder is when I then go to outlook and
>> try and look at the appointment it fails on, I cannot access the
>> appointment or any further on in that Calendar. If I restart Outlook all
>> is well again,
>>
>> I get a trace, here it is
>>
>> **************************** Error log file
>> ********************************
>>
>> Date: 28/09/07
>> Time: 11:36:02
>> Available Memory: 324360
>> Current Area: 1
>>
>> ---------------------------- Compiler
>> Information -----------------------------
>>
>> Xailer Version: Xailer 1.4.0 Version 1.4
>> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version: 7
>> C/C++ Compiler: Borland C++ 5.5.1
>> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 2
>>
>> --------------------- Internal Error Handling
>> Information ---------------------
>>
>> Subsystem Call:
>> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
>> System Code: 16389
>> Default Status: .F.
>> Description: E_FAIL
>> Operation: CATEGORIES
>> Arguments:
>> Involved File:
>> Dos Error Code: 0
>>
>> Trace Through:
>> TOLEAUTO:CATEGORIES (0)
>> OUTLOOK:CALENDARLOOP (124)
>> OUTLOOKSUMMARYFRM:QUERYOUTLOOK (67)
>> TBUTTON:ONCLICK (0)
>> TBUTTON:CLICK (99)
>> (b)XCONTROL:XCONTROL (140)
>> TBUTTON:COMMAND (0)
>> TSCROLLINGWINCONTROL:WMCOMMAND (253)
>> OUTLOOKSUMMARYFRM:WMCOMMAND (884)
>> RUNFORM (0)
>> TAPPLICATION:RUN (209)
>> MAIN (15)
>>
>> **************************** Error log file
>> ********************************
>>
>> The thing is, the line it fails on, I call every time I loop. The like
>> above this line pulls the date out of the appointment and it doesn;t
>> fail, this means the appointment object should be ok.
>> If I restart Outlook and run the app for just the day I had the issue
>> with it will run fine and not crash
>>
>> I don't know much about OLE so I wonder am I overloading OLE maybe,do I
>> need slow the app down so it doesn;t flood the OLE? Is there memory
>> limits I need to be aware of
>> Maybe Exchange isn't keeping up, that may be the cause
>>
>> Something about the trace
>> OUTLOOK:CALENDARLOOP (124) is where I request the category
>>
>> Subsystem Call:
>> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
>> This was at least 3 OLE calls back, basically the end of the previous
>> appointment, why is it in the trace
>>
>> Any idea, however remote would be appreaited
>>
>> Nick
>>
>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
OLE Error
Nick,
Glad to read your message. Thansk for the feedback.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> escribió en el mensaje
news:[email=4702b662@ozsrv2.ozlan.local...]4702b662@ozsrv2.ozlan.local...[/email]
> Just some feedback on this issue. I upgrade to the latest versions of XH
> and Xailer and the problem seems to be fixed. For once it was not
> me...very rare....
>
> Xailer is 1.7.5
>
> XH is Version: 0.99.80 Date: 2007-09-17
>
>
>> Howdy
>>
>> I have a wierd issue. I'm not really expecting anyone to have a simple
>> answer. I'm not really sure wether's it a bug in my code, the OLE32 xh
>> interface or Outlook 2003 OLE interface
>>
>> I have a little app that loops through a list of public folders in
>> outlook that hold appointments (they are timesheet entries)
>>
>> This is basically 3 outlook calendars
>>
>> We track our time in them all day every day . This little app connects to
>> Outlook and basically loops through each calendar with an inner loop that
>> loops through the appointments in each
>>
>> If I run it for a day it works fine, if I run it for a fews days
>> sometimes it works fine. if I try and run it for a large date range the
>> OLE return an E_FAIL error.
>>
>> The weird bit is that it fails trying to retrieve the category of the
>> apppointment. What makes it even weirder is when I then go to outlook and
>> try and look at the appointment it fails on, I cannot access the
>> appointment or any further on in that Calendar. If I restart Outlook all
>> is well again,
>>
>> I get a trace, here it is
>>
>> **************************** Error log file
>> ********************************
>>
>> Date: 28/09/07
>> Time: 11:36:02
>> Available Memory: 324360
>> Current Area: 1
>>
>> ---------------------------- Compiler
>> Information -----------------------------
>>
>> Xailer Version: Xailer 1.4.0 Version 1.4
>> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version: 7
>> C/C++ Compiler: Borland C++ 5.5.1
>> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 2
>>
>> --------------------- Internal Error Handling
>> Information ---------------------
>>
>> Subsystem Call:
>> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
>> System Code: 16389
>> Default Status: .F.
>> Description: E_FAIL
>> Operation: CATEGORIES
>> Arguments:
>> Involved File:
>> Dos Error Code: 0
>>
>> Trace Through:
>> TOLEAUTO:CATEGORIES (0)
>> OUTLOOK:CALENDARLOOP (124)
>> OUTLOOKSUMMARYFRM:QUERYOUTLOOK (67)
>> TBUTTON:ONCLICK (0)
>> TBUTTON:CLICK (99)
>> (b)XCONTROL:XCONTROL (140)
>> TBUTTON:COMMAND (0)
>> TSCROLLINGWINCONTROL:WMCOMMAND (253)
>> OUTLOOKSUMMARYFRM:WMCOMMAND (884)
>> RUNFORM (0)
>> TAPPLICATION:RUN (209)
>> MAIN (15)
>>
>> **************************** Error log file
>> ********************************
>>
>> The thing is, the line it fails on, I call every time I loop. The like
>> above this line pulls the date out of the appointment and it doesn;t
>> fail, this means the appointment object should be ok.
>> If I restart Outlook and run the app for just the day I had the issue
>> with it will run fine and not crash
>>
>> I don't know much about OLE so I wonder am I overloading OLE maybe,do I
>> need slow the app down so it doesn;t flood the OLE? Is there memory
>> limits I need to be aware of
>> Maybe Exchange isn't keeping up, that may be the cause
>>
>> Something about the trace
>> OUTLOOK:CALENDARLOOP (124) is where I request the category
>>
>> Subsystem Call:
>> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
>> This was at least 3 OLE calls back, basically the end of the previous
>> appointment, why is it in the trace
>>
>> Any idea, however remote would be appreaited
>>
>> Nick
>>
>>
>>
>>
>
>
Glad to read your message. Thansk for the feedback.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> escribió en el mensaje
news:[email=4702b662@ozsrv2.ozlan.local...]4702b662@ozsrv2.ozlan.local...[/email]
> Just some feedback on this issue. I upgrade to the latest versions of XH
> and Xailer and the problem seems to be fixed. For once it was not
> me...very rare....

>
> Xailer is 1.7.5
>
> XH is Version: 0.99.80 Date: 2007-09-17
>
>
>> Howdy
>>
>> I have a wierd issue. I'm not really expecting anyone to have a simple
>> answer. I'm not really sure wether's it a bug in my code, the OLE32 xh
>> interface or Outlook 2003 OLE interface
>>
>> I have a little app that loops through a list of public folders in
>> outlook that hold appointments (they are timesheet entries)
>>
>> This is basically 3 outlook calendars
>>
>> We track our time in them all day every day . This little app connects to
>> Outlook and basically loops through each calendar with an inner loop that
>> loops through the appointments in each
>>
>> If I run it for a day it works fine, if I run it for a fews days
>> sometimes it works fine. if I try and run it for a large date range the
>> OLE return an E_FAIL error.
>>
>> The weird bit is that it fails trying to retrieve the category of the
>> apppointment. What makes it even weirder is when I then go to outlook and
>> try and look at the appointment it fails on, I cannot access the
>> appointment or any further on in that Calendar. If I restart Outlook all
>> is well again,
>>
>> I get a trace, here it is
>>
>> **************************** Error log file
>> ********************************
>>
>> Date: 28/09/07
>> Time: 11:36:02
>> Available Memory: 324360
>> Current Area: 1
>>
>> ---------------------------- Compiler
>> Information -----------------------------
>>
>> Xailer Version: Xailer 1.4.0 Version 1.4
>> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version: 7
>> C/C++ Compiler: Borland C++ 5.5.1
>> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 2
>>
>> --------------------- Internal Error Handling
>> Information ---------------------
>>
>> Subsystem Call:
>> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
>> System Code: 16389
>> Default Status: .F.
>> Description: E_FAIL
>> Operation: CATEGORIES
>> Arguments:
>> Involved File:
>> Dos Error Code: 0
>>
>> Trace Through:
>> TOLEAUTO:CATEGORIES (0)
>> OUTLOOK:CALENDARLOOP (124)
>> OUTLOOKSUMMARYFRM:QUERYOUTLOOK (67)
>> TBUTTON:ONCLICK (0)
>> TBUTTON:CLICK (99)
>> (b)XCONTROL:XCONTROL (140)
>> TBUTTON:COMMAND (0)
>> TSCROLLINGWINCONTROL:WMCOMMAND (253)
>> OUTLOOKSUMMARYFRM:WMCOMMAND (884)
>> RUNFORM (0)
>> TAPPLICATION:RUN (209)
>> MAIN (15)
>>
>> **************************** Error log file
>> ********************************
>>
>> The thing is, the line it fails on, I call every time I loop. The like
>> above this line pulls the date out of the appointment and it doesn;t
>> fail, this means the appointment object should be ok.
>> If I restart Outlook and run the app for just the day I had the issue
>> with it will run fine and not crash
>>
>> I don't know much about OLE so I wonder am I overloading OLE maybe,do I
>> need slow the app down so it doesn;t flood the OLE? Is there memory
>> limits I need to be aware of
>> Maybe Exchange isn't keeping up, that may be the cause
>>
>> Something about the trace
>> OUTLOOK:CALENDARLOOP (124) is where I request the category
>>
>> Subsystem Call:
>> Outlook.Application:GETNAMESPACE:GETDEFAULTFOLDER:FOLDERS:IT EM:ITEMS:FINDNEXT
>> This was at least 3 OLE calls back, basically the end of the previous
>> appointment, why is it in the trace
>>
>> Any idea, however remote would be appreaited
>>
>> Nick
>>
>>
>>
>>
>
>