Author Topic: PowerBASIC and WCF  (Read 2713 times)

0 Members and 1 Guest are viewing this topic.

Offline Petr Schreiber

  • Full Member
  • ***
  • Posts: 183
  • User-Rate: +14/-4
PowerBASIC and WCF
« on: June 26, 2014, 07:05:34 PM »
Hi José,

this might be a strange question, but as I have seen some COM access to .NET in the past, I wonder:
Is there any way I could connect to WCF endpoint and perform some calls from PB code?


Thank you,
Petr
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2481
  • User-Rate: +204/-0
Re: PowerBASIC and WCF
« Reply #1 on: June 26, 2014, 08:05:21 PM »
You may need to write a .NET wrapper that is COM visible.

But there is not need for it, since there is a flat API:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd430466%28v=vs.85%29.aspx