Hi mayur,
basically i want to integrate the PDF2SWF functionality into my C++ JNI
library which will be accessed through Java application.
giving a system call to execute the exe will not give me full control over
opration. So i was thinking about somehow converting the exe into library
which i can load into my application and give  it runtime call. i managed to
do so by making some changes into the makefile generated by configure
script. ( using -shared flag ) and exporting the main funtion in pdf2swf.c
file
but the problem is the code has lot of exit(1) statement on which kills JVM.


can you put some light on this problem. is the code not designed to be used
inside JVM enviroment. So it is just intended to be used as standlone
exedcutable program ?

Thanks
Sachin

On 6/26/09, Mayur Thakor <[email protected]> wrote:
>
> Hi Sachin,
>
> Although its a command line tool you can easily integrate all these in
> different scripting languages.
>
> Here we have integrated the exe in our .Net application to runtime convert
> the PDF to SWF.
>
> If this is what you are looking for, I've a ready reference to me which I
> can provide.
>
> Regards,
> Mayur Thakor
> ADOBE Flex Developer
> Gateway Technolabs Pvt. Ltd.
>
>
>  On Fri, Jun 26, 2009 at 3:11 PM, sachinchakote 
> <[email protected]>wrote:
>
>> hi
>> I have downloaded and compiled the source code of SWFTOOL . It by default
>> generates EXE  of pdf2swf program.
>> but i want to programatically generate  SWF  from PDF for which i am
>> looking for a library version of it.
>>
>> Is it available ?  or can we buid a library from the available source code
>> itself ?
>>
>> --
>> With regards
>> Sachin Chakote
>>
>> "The quickest way to double your money is to fold  it in half and put it
>> back in your pocket"
>>
>
>
>
> --
> Regards,
> Mayur Thakor
>
>
>


-- 
With regards
Sachin Chakote

"The quickest way to double your money is to fold  it in half and put it
back in your pocket"

Reply via email to