Overview
Features
Download
Documentation
Community
Add-Ons & Services

POCO can't compile in Metro App

A general discussion forum.

POCO can't compile in Metro App

Postby yieps » 17 Apr 2012, 03:53

It seems worse that POCO may not work in Metro App nor compiled when referenced in the source codes of a Metro App.

When I add some POCO's header files to a .cpp file of a Metro App, compiler reported error that some Win32 API can't be resolved.

The Metro App project is based on a Metro App sample "Hybird app DLL server authoring sample". Then I added all headers listed in the "download.cpp" sample of POCO's NET and invoked HTTPStreamFactory::registerFactory() method in the Toast::RuntimeClassInitialize method. However, errors were reported when compiling. The first one is "error C2027: use of undefined type 'Poco::Net::in_addr'" in the header file "ipaddress.h".

How to make POCO work in Metro App? As a platform independent powerful component, POCO should think of the new coming OS and the new type of application "Metro Style Application".
yieps
 
Posts: 3
Joined: 16 Apr 2012, 08:22

Re: POCO can't compile in Metro App

Postby alex » 14 May 2012, 16:25

We are thinking about it. The restrictions on the Metro style marketplace viable app are numerous. No blocking API calls are allowed; all Berkeley socket APIs are banned, you can't call CreateThread() or CreateFile() etc etc. It will take some time to get up to speed there and we have to, of course, remain compatible with the rest of the world. Contributions are welcome so if you are interested in helping, let us know.
alex
 
Posts: 1145
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: POCO can't compile in Metro App

Postby dcuccia » 26 Aug 2012, 01:48

alex wrote:We are thinking about it. The restrictions on the Metro style marketplace viable app are numerous. No blocking API calls are allowed; all Berkeley socket APIs are banned, you can't call CreateThread() or CreateFile() etc etc. It will take some time to get up to speed there and we have to, of course, remain compatible with the rest of the world. Contributions are welcome so if you are interested in helping, let us know.


Hi,

Now that Win8 has RTM'd, is there a plan for WinRT (a.k.a. Metro) support?

Thanks,
David
dcuccia
 
Posts: 1
Joined: 26 Aug 2012, 01:44

Re: POCO can't compile in Metro App

Postby alex » 10 Sep 2012, 14:22

dcuccia wrote:Now that Win8 has RTM'd, is there a plan for WinRT (a.k.a. Metro) support?


yes
alex
 
Posts: 1145
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: POCO can't compile in Metro App

Postby gfzheng » 13 Sep 2012, 04:53

alex wrote:
dcuccia wrote:Now that Win8 has RTM'd, is there a plan for WinRT (a.k.a. Metro) support?


yes


glad to hear that, thanks.
gfzheng
 
Posts: 2
Joined: 13 Sep 2012, 04:36


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest