Compiling POCO in VC++.NET and CLR support

Please post support and help requests here.
yaerek
Posts: 5
Joined: 30 Dec 2008, 10:35

Compiling POCO in VC++.NET and CLR support

Postby yaerek » 03 Jan 2009, 15:52

Howdy. I was wondering if anyone tried to compile POCO using Visual C++ .NET.
We've been using POCO with standard Visual C++ 2008 but we need to combine it with a GUI that uses .NET forms.
In other words, can POCO be built using VC++ 2008 with CLR support flag?
If it can, then what are the steps? If not, then is there a way to combine an application that uses POCO with a .NET C++ forms?

Regards and Thanks,
Yaerek

atascon
Posts: 6
Joined: 26 Jan 2009, 02:32

Re: Compiling POCO in VC++.NET and CLR support

Postby atascon » 26 Jan 2009, 02:36

/bump

guenter
Posts: 1268
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Compiling POCO in VC++.NET and CLR support

Postby guenter » 27 Jan 2009, 15:49

I haven't tried compiling POCO under C++/CLR. What has worked for me in the past is compiling POCO natively, and then writing a managed wrapper in C++/CLR that exposes a CLR interface to the interesting parts of POCO.

mre
Posts: 1
Joined: 04 Mar 2017, 07:53

Re: Compiling POCO in VC++.NET and CLR support

Postby mre » 04 Mar 2017, 10:11

I have tryed to build at least Foundation_x64_vs140.sln with /CLR, but it unfortunatly failed with
Error D8045 cannot compile C file 'src\adler32.c' with the /clr option

I would need access to a managed .NET Form (XXX::Form1^ myform) in the example HTTPFormServer.cpp. With native types this works fine.
...
HTTPFormServer app(myForm);
app.run(...)


Any suggestions?


Return to “Support”

Who is online

Users browsing this forum: No registered users and 4 guests

cron