Hello, I am trying to do something that is very tricky, i desperately want to know if what i am trying to do is remotely possible or not? I have listed the steps that i intend to carry out in the code.
1. Embed the Perl Interpreter in a host application (written in C++) which is a windows service. This makes sure that the perl script that i run is in the same process / task. (This is possible) 2. Execute a perl script using the embedded perl interpreter. (This is possible) 3. Pass an object(C++ Object created in the windows service) pointer to this perl script using a win32 pipe or as a "command line argument". (This is what i want to know) 4. The perl script calls an extension (written in C). It passes this object pointer to the extension. (This is what i want to know) 5. The extension uses the object pointer to call a method on the object and return to the perl script. (This is what i want to know) Attached is a jpg that illustrates what i am trying to do, the thread embeds the perl interpreter, it then starts running the perl script which calls an extension, the extension calls a C++ objects methods using an object pointer, the bold lines indicate the flow starting from the thread, Any insight if this is possible at all? or am i shooting in the dark? thanks in advance, regards, aditya
<<attachment: ScriptEngine.jpg>>
**************************Disclaimer************************************************** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ****************************************************************************************
