Running the script isn't really embedding. I want to be able to embed
the server and at the same time expose objects from my C++ code as
python objects for the web app to use. I agree with IPC being a
viable option but I want to run this as one process.
Thanks, Andy
On May 18, 8:20 pm, Jason Brower wrote:
> That would have to depend at what level you need to do that
> integration. For example, starting web2py from your application is very
> easy, you can just run the script to start the server.
> When I have to integrate with something, I like to actually just create
> a communication layer between them.
> Best Regards,
> Jason
>
> On 05/18/2011 08:24 PM, j2kvideo wrote:
>
>
>
> > Hi All,
>
> > I was wondering if it would be possible to embed web2py within a C++
> > application. I have embedded python before in C/C++ applications to
> > run a script etc so I am assuming that there maybe a way to embed
> > web2py in another C++ process.
>
> > Thanks in advance, Andy