[prev in list] [next in list] [prev in thread] [next in thread] 

List:       swftools-common
Subject:    Re: [Swftools-common] is there any Library version of pdf2swf code
From:       sachinchakote <sachinchakote () gmail ! com>
Date:       2009-06-27 5:41:38
Message-ID: bef4518a0906262241n7d761323ie4199e6874db78b9 () mail ! gmail ! com
[Download RAW message or body]

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 <mayurthakor@gmail.com> 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 <sachinchakote@gmail.com>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"

[Attachment #3 (text/html)]

<div>Hi mayur,</div>
<div>basically i want to integrate the PDF2SWF functionality into my C++ JNI library  \
which will be accessed through Java application.</div> <div>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</div>

<div>but the problem is the code has lot of exit(1) statement on which kills JVM. \
</div> <div>  </div>
<div>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 ? </div> <div>  </div>
<div>Thanks </div>
<div>Sachin <br>  </div>
<div><span class="gmail_quote">On 6/26/09, <b class="gmail_sendername">Mayur \
Thakor</b> &lt;<a href="mailto:mayurthakor@gmail.com">mayurthakor@gmail.com</a>&gt; \
wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px \
0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <div>Hi Sachin,</div>
<div>  </div>
<div>Although its a command line tool you can easily integrate all these in different \
scripting languages. </div> <div>  </div>
<div>Here we have integrated the exe in our .Net application to runtime convert the \
PDF to SWF. </div> <div>  </div>
<div>If this is what you are looking for, I&#39;ve a ready reference to me which I \
can provide.</div> <div>  </div>
<div>Regards,</div>
<div>Mayur Thakor</div>
<div>ADOBE Flex Developer</div>
<div>Gateway Technolabs Pvt. Ltd.<br><br>  </div>
<div><span class="e" id="q_1221dbcd12de5d4f_1">
<div class="gmail_quote">On Fri, Jun 26, 2009 at 3:11 PM, sachinchakote <span \
dir="ltr">&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" \
href="mailto:sachinchakote@gmail.com" \
target="_blank">sachinchakote@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; \
BORDER-LEFT: #ccc 1px solid">hi <br>I have downloaded and compiled the source code of \
SWFTOOL . It by default generates EXE   of pdf2swf program.<br> but i want to \
programatically generate   SWF   from PDF for which i am looking for a library \
version of it. <br><br>Is it available ?   or can we buid a library from the \
                available source code itself ? <br clear="all"><font \
                color="#888888"><br>
-- <br>With regards<br>Sachin Chakote<br><br>&quot;The quickest way to double your \
money is to fold   it in half and put it back in your \
pocket&quot;<br></font></blockquote></div><br><br clear="all"> \
<div></div><br></span></div>-- <br>Regards,<br><span class="sg">Mayur \
Thakor<br><br><br></span></blockquote></div><br><br clear="all"><br>-- <br>With \
regards<br>Sachin Chakote<br><br>&quot;The quickest way to double your money is to \
fold    it in half and put it back in your pocket&quot; 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic