Inject icon into exe file without temp files(repost)(repost)

Ακυρώθηκε Αναρτήθηκε Dec 18, 2008 Πληρώθηκε κατά την παράδοση
Ακυρώθηκε Πληρώθηκε κατά την παράδοση

We need to be able to change the icon of an exe.

The task is very simple.

Consider the following:

byte[] exeFile;

byte[] newIconFile;

we now want a function like this:

byte[] changeIcon(byte[] exeFile, byte[] newIconFile)

This function should return the bytes of the exe file with the new icon injected into it.

Its VERY important that no data what so ever is written to disk. No temp files allowed.

A previous coder tried to solve it here on rentacoder but did not solve it.

His comments:

"I need to use theese 3 Windows API methods (BeginUpdateResourceW,

UpdateResourceW and EndUpdateResourceW) which all need a file name."

So if you bid for this make sure you know how manipulate resources within an EXE file.

For example of exe file and icons that we want to be able to work with, see attached ZIP-file.

## Deliverables

* * *This broadcast message was sent to all bidders on Saturday Dec 20, 2008 1:45:38 PM:

To everyone. THere have been a lot of questions from you on this bid that shows that you are all talented coders that know that this in fact is not so trivial as it first seems. I will answer all you questions trough this broadcast message since many of you have asked by many of you. 1. "Why cant we use a temp file or write to disk?" Answer: This code will be executed on a webserver, the application will take an uploaded file (still in memory from web POST operation) and create an encrypted zip/exe file in MEMORY and return this new file as a download. We can NOT write anything to disk because our server ISP does not allow it. Further more they do not allow impersonation either so we can not run the application under a context/user that has file write access. 2. "What language can we use". Answer: We need to be able to call this piece of code from the ASP.net web application, prefered language is therefore C#, managed c++ or VB.net, we can not use COM technology, therefore NO unmanaged languages. 3. "New Icon has different size and it will not work with the old resource table in the exe. what should we do?" Answer: Solve it, any way you want. just solve it :) 4. "Do you need error checking?" Answer: Yes of course! if you for some reason can not return a valid EXE the function should not corrupt the exe data, simply leave it untouched. Please feel free to ask more questions. Also we will extend the bid request time til after x-mas. Best regards.

Γλώσσα Προγραμματισμού C# Μηχανολογία Microsoft MySQL PHP Αρχιτεκτονική Λογισμικού Δοκιμή Λογισμικού Windows Επιφάνεια Εργασίας

Ταυτότητα Εργασίας: #3482349

Σχετικά με την εργασία

7 προτάσεις Απομακρυσμένη εργασία Ενεργό Jan 9, 2009

7 freelancers κάνουν προσφορές κατά μέσο όρο $61 για αυτή τη δουλειά

brianstanek

See private message.

$85 USD σε 5 μέρες
(53 Αξιολογήσεις)
5.5
risu

See private message.

$74.8 USD σε 5 μέρες
(36 Αξιολογήσεις)
5.0
zenecisvw

See private message.

$42.5 USD σε 5 μέρες
(33 Αξιολογήσεις)
5.0
waymanpk

See private message.

$63.75 USD σε 5 μέρες
(15 Αξιολογήσεις)
4.5
flrenzi

See private message.

$68 USD σε 5 μέρες
(6 Αξιολογήσεις)
4.0
flylobster

See private message.

$40.8 USD σε 5 μέρες
(6 Αξιολογήσεις)
3.2
ThePicaso

See private message.

$51 USD σε 5 μέρες
(3 Αξιολογήσεις)
0.4