FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Classic Outlook API vs Outlook 365 API
Posts: 44508
Joined: Thu Oct 06, 2005 05:47 PM

Re: Classic Outlook API vs Outlook 365 API

Posted: Thu Mar 05, 2026 09:18 PM

Dear Rick,

We just received your order, many thanks!

Is the Testoutlook.prg included in the FW samples ??

Yes it is included

that use the 365 api ??

Lailton is the one to answer it. I would suggest you to try it and lets see how it works for you :idea:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1612
Joined: Fri Oct 07, 2005 05:56 PM

Re: Classic Outlook API vs Outlook 365 API

Posted: Thu Jun 25, 2026 04:13 AM

Dear Antonio and Lailton,

Does this sample support xharbour+FWH32 or must be harbour+FWH64?

Thanks in advance,

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44508
Joined: Thu Oct 06, 2005 05:47 PM

Re: Classic Outlook API vs Outlook 365 API

Posted: Thu Jun 25, 2026 04:28 PM

Dear Dutch,

Yes, it should work with both of them 👍🏻

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1612
Joined: Fri Oct 07, 2005 05:56 PM

Re: Classic Outlook API vs Outlook 365 API

Posted: Fri Jun 26, 2026 02:46 AM

Dear Antonio,

Antonio Linares wrote:

Dear Dutch,

Yes, it should work with both of them 👍🏻

I try with FWH2512 but it got error and I comment as some post of this issue. It gone.

Error prsht.h 918 9: '#endif' before '#if
Línea 911: comentar
// #endif /* PRSHT_H */

But I got another error.

Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
testoutlook.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.

Error guiddef.h 147 11: Cannot open file: string.h

  • Linking errors *

Could you recommend to fixed it, please. I try Testoutlook.prg to use Outlook365 mail.

Thanks in advance,

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44508
Joined: Thu Oct 06, 2005 05:47 PM

Re: Classic Outlook API vs Outlook 365 API

Posted: Fri Jun 26, 2026 06:34 AM

Dear Dutch,

edit <BCC>\include\windows\sdk\prsht.h, line 911, comment out the #endif:
// #endif /* PRSHT_H */
Keep the #endif on line 918 as the guard close.

edit <BCC>\bin\bcc32.cfg :
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
-L@\..\lib\win32c\release;@\..\lib\win32c\release\psdk

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1612
Joined: Fri Oct 07, 2005 05:56 PM

Re: Classic Outlook API vs Outlook 365 API

Posted: Fri Jun 26, 2026 07:14 AM

Dear Antonio,

I still error.

Lines 159, Functions/Procedures 7, pCodes 541
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
testoutlook.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.

Error guiddef.h 147 11: Cannot open file: string.h

  • Linking errors *
Antonio Linares wrote:

Dear Dutch,

edit <BCC>\include\windows\sdk\prsht.h, line 911, comment out the #endif:
// #endif /* PRSHT_H */
Keep the #endif on line 918 as the guard close.

edit <BCC>\bin\bcc32.cfg :
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
-L@\..\lib\win32c\release;@\..\lib\win32c\release\psdk

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44508
Joined: Thu Oct 06, 2005 05:47 PM

Re: Classic Outlook API vs Outlook 365 API

Posted: Fri Jun 26, 2026 11:57 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion