Classic Outlook API vs Outlook 365 API

User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Classic Outlook API vs Outlook 365 API

Post by Antonio Linares »

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
User avatar
dutch
Posts: 1612
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Classic Outlook API vs Outlook 365 API

Post by dutch »

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)
User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Classic Outlook API vs Outlook 365 API

Post by Antonio Linares »

Dear Dutch,

Yes, it should work with both of them 👍🏻

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1612
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Classic Outlook API vs Outlook 365 API

Post by dutch »

Dear Antonio,

Antonio Linares wrote: Thu Jun 25, 2026 4:28 pm

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)
User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Classic Outlook API vs Outlook 365 API

Post by Antonio Linares »

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
User avatar
dutch
Posts: 1612
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Classic Outlook API vs Outlook 365 API

Post by dutch »

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: Fri Jun 26, 2026 6: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,
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)
User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Classic Outlook API vs Outlook 365 API

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply