Devam Ediyor

Convert .exe file to COM dll, contribute to open source proj

Convert .exe file to COM dll, contribute to open source project.

I will pay for your work, and your work will be contributed to an open source project.

The open source project in question is [url removed, login to view]

It is a project that lets you convert Html into Pdf based on the WebKit rendering engine used in the Chrome and Safari browsers.

I want to contribute to the windows version.

Currently the windows version compiles into an .exe file called wkhtmltopdf.exe.

I want this to be compiled into a COM/COM+ dll file instead, no .exe, just a .dll file with one method in the COM API called generatePdf. Or even better I want the API to be wrapped in a dotNet API.

wkhtmltopdf is currently compiled for windows with the MinGw C++ compiler (see [url removed, login to view])

The current [url removed, login to view] file takes a lot of command line arguments, in the dll I want these commandline arguments to be passed as a string.

I want the wkhtmltopdf API call to return an object with the following properties

- ExitCode (to check for errors)

- StandardOut (IMPORTANT: to get pdf as bytesting instead of writing as a file, used with the command line argument "-" instead of a file name)

- StandardError (for error finding)

I Imagine that the final output of the project will be the files:

- [url removed, login to view]

- [url removed, login to view]

- [url removed, login to view]

- [url removed, login to view] (only new windows file)

A successfull completion of this project means that I can

- add the above files to a ASP.Net websites Bin folder

- create a .aspx file where I can get the pdf version of for example [url removed, login to view] by this C# code


[url removed, login to view] pgr = [url removed, login to view]("[url removed, login to view] -"); //here I can pass other command line arguments from wkhtmltopdf

if([url removed, login to view] != 0 || [url removed, login to view]!=2){

throw new InvalidOperationException("Error generating Pdf, ErrorCode:" + [url removed, login to view] + ", Error:" + [url removed, login to view])


byte[] pdfFile = [url removed, login to view]

// pdfFile now contains the pdf file version of [url removed, login to view]


It is important that this can be done without the need for execute rights to any folders in the Asp.Net website.

When you can do this, I will consider the project complete.

The resons I want a dll instead of an exe are:

- In a shared hosting environment like a lot of smaller websites use, you do not have permisson to run .exe files. So a lot of users can't use wkhtmltopdf

- On windows, if you want to convert a lot of html, running an .exe file repeatedly costs a lot more resources than running an API call to a dll repeatedly

It is important that you document excately what you have done, so we can contribute your work to the wkhtmltopdf open source project, and the dll you create can be part of future updates to the wkhtmltopdf project


wkhtmltopdf: [url removed, login to view]

manual for wkhtmltopdf: [url removed, login to view]~jakobt/[url removed, login to view]

information on compiling with windows: [url removed, login to view]

The line:

if(pgr.ErrorCode != 0 || pgr.ErrorCode!=2){

should read:

if(pgr.ErrorCode != 0 && pgr.ErrorCode!=2){

Beceriler: .NET, ASP, C# Programlama, C++ Programlama

Daha fazlasını gör: convert exe file dll file, convert exe file dll, convert exe dll, wkhtmltopdf dll, convert exe dll net, convert exe files dll, convert dll exe asp net, convert exe bin file, convert dll file exe file, exe file convert dll file, wkhtmltopdf net, convert exe dll windows, convert dll net com dll, wkhtmltopdf throw invalidoperationexception, convert exe file dotnet, net html pdf open source wkhtmltopdf dll, open source convert pdf exe, wkhtmltopdf dotnet, create exe file dll, wkhtmltopdf net example, convert exe dll example, convert command line exe dll, writing to a file in c, writing folders, writing com

İşveren Hakkında:
( 2 değerlendirme ) Vallensbæk, Denmark

Proje NO: #740913

Bu iş için 11 freelancer ortalamada $359 teklif veriyor


please check p.m.b, thanks.

in %bids___i_period_sub_35% gün içinde350%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(43 Değerlendirme)

Hello, ready to start.

in %bids___i_period_sub_35% gün içinde500%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(6 Değerlendirme)

Hi sir, I can do this. I have exprience of compile [login to view URL] to 7zip.dll. :-) Thanks, Aking

in %bids___i_period_sub_35% gün içinde420%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)

Hi, We at Chipleaf Pvt Ltd have adequate knowledge of the work and we can complete your work in time frame, as per requirement [login to view URL] have 50 Developer Team( c#),30 Developer Team(Java,J2ME,J2EE),40 Deve Daha Fazla

in %bids___i_period_sub_35% gün içinde280%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

Hello, this project is quite interesting project for me.

in %bids___i_period_sub_35% gün içinde400%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

We are com and com+ development experience for more details pmb.

in %bids___i_period_sub_35% gün içinde500%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(6 Değerlendirme)

Quite simple. Let me do it for you.

in %bids___i_period_sub_35% gün içinde300%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)

Hello Sir, I am ready to start this work. Thanking you

in %bids___i_period_sub_35% gün içinde400%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

HI...check your pm.....

in %bids___i_period_sub_35% gün içinde250%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

Let me do it for you

in %bids___i_period_sub_35% gün içinde250%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

I have intimit knowlange of the project (since I am the author). I have also create COM objects before. The hard part of this is to get the static QT compilation to work with the DLL. I have done extensive testing wi Daha Fazla

in %bids___i_period_sub_35% gün içinde300%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)