|
Rank: Member Groups: Member
Joined: 1/11/2012 Posts: 27
|
Hi,
I find myself using Mono on os x and need to render some HTML. Having added the reference to EO.Pdf.dll, I've used the following:
HtmlToPdf.ConvertHtml(@"This is test", outputFileName);
Which results in the following error:
Error CS0584: Internal compiler error: Method not found: 'EO.Pdf.PdfPage.a'. (CS0584) (EOPdfTest).
This works in Monodevelop under windows. I know it's a bit of an unusual one but I'll be lost if I can't use my favourite PDF tool for my project! What can I do to work through this issue? Many thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
You can't use our product with Mono on OSX. Our product is strictly for Windows. It replies on a lot of Windows API to function.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/11/2012 Posts: 27
|
Aha! That's a shame! Thanks anyway. Still the best PDF tool in the business! :)
Mark
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
As a workaround, you might want to host a web service on a Windows system, then call into that web service from your OSX machine. That can be done with Mono easily and since the actual conversion is done on Windows machine, you won't have any problem either.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/11/2012 Posts: 27
|
Good idea. I'm actually developing in MonoTouch (IOS) and a 16MB dll probably wouldn't have been ideal to deploy to mobile devices. I think it's possible to render PDF's directly within IOS but it's much more painful than just rendering nice HTML and generating a PDF from it. The offline generation is something I'll definitely consider :)
Cheers
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Yes. HTML to PDF is definitely much easier. :)
|
|