C#/ C++/ASM , small but tricky project

Ολοκληρωμένο Αναρτήθηκε Aug 4, 2009 Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

UPDATE !!! As MOST of your bidders did not understand the scope I attached the final use of the method in an [url removed, login to view] solution. NOTE !! Its about getting the INSTANCE of the class which calls a static method, NOT !! the TYPE OR METHOD INFO ! So this CAN'T be done via simple reflection as many offered ! The attached project is RAR not zip, please rename it before opening it. ALTERNATIVE !! What we try to achieve could be BETTER solved by rewriting MSIL before the jitter compiles a method. I was able to do this using the profiler API, but we CANT use the profiler API in release mode and also need to attach a real profiler for testing purposes. So if you know how to catch the jitter compile event, let me know. End of update This project is about developing a single method which retrieves the caller of a static method in C#. In simple words, below code must run: public SomeClass { public bool WasCalled=false; puplic static void SomeStaticMethod() { SomeClass _Caller=[url removed, login to view]();//the method to develop !! Caller.WasCalled=true; } public void StaticCallTest() { [url removed, login to view](); if(this.WasCalled==false) throw new Exception("you did not do your job !") } } Of course this must work in all scenarios, independent on what code was run before the call. As we will have many of those calls, code must be ultra fast. You will need access to the machines register and memory using assembler. I do not know any way to do this in NET, so a C++ dll is ok along with a C# dll importing the C++ method.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):

a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

* * *This broadcast message was sent to all bidders on Wednesday Aug 5, 2009 1:52:41 PM:

As many of you bidders did not understand the scope, I added some update and a [url removed, login to view] project demonstrating WHY we need this. As you can see from the attached project, the static method is a implicit operator method ALWAYS called from our Field class. So NO, this CAN'T be done with simple reflection. Please review the project and either place a new comment that you can do it, or remove your bid if you feel you can't solve it.

## Platform

C# on windows, using C++ and ASM to get it run

Συμβολική Γλώσσα Γλώσσα Προγραμματισμού C Γλώσσα Προγραμματισμού C# Μηχανολογία MySQL PHP Αρχιτεκτονική Λογισμικού Δοκιμή Λογισμικού

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

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

17 προτάσεις Απομακρυσμένη εργασία Ενεργό Aug 26, 2009

Ανατέθηκε στον:

DarthCoder1

See private message.

$127.5 USD σε 14 μέρες
(2 Αξιολογήσεις)
2.8

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

gmit2

See private message.

$649.4 USD σε 14 μέρες
(77 Αξιολογήσεις)
7.6
yilin

See private message.

$85 USD σε 14 μέρες
(72 Αξιολογήσεις)
5.7
danale72

See private message.

$85.85 USD σε 14 μέρες
(67 Αξιολογήσεις)
5.6
locdev

See private message.

$85 USD σε 14 μέρες
(46 Αξιολογήσεις)
5.6
gdiab

See private message.

$85 USD σε 14 μέρες
(67 Αξιολογήσεις)
5.2
watcher17

See private message.

$212.5 USD σε 14 μέρες
(13 Αξιολογήσεις)
4.8
aronsky

See private message.

$85 USD σε 14 μέρες
(18 Αξιολογήσεις)
4.4
alexdevw

See private message.

$85 USD σε 14 μέρες
(8 Αξιολογήσεις)
4.1
adeelmumtazvw

See private message.

$85 USD σε 14 μέρες
(20 Αξιολογήσεις)
4.0
backdoors

See private message.

$85 USD σε 14 μέρες
(13 Αξιολογήσεις)
3.7
jramynke

See private message.

$85 USD σε 14 μέρες
(6 Αξιολογήσεις)
3.1
pacino786

See private message.

$85 USD σε 14 μέρες
(14 Αξιολογήσεις)
3.0
arkkun

See private message.

$153 USD σε 14 μέρες
(0 Αξιολογήσεις)
0.0
honeyexpert

See private message.

$148.75 USD σε 14 μέρες
(1 Κριτική)
0.0
codeguruindia

See private message.

$170 USD σε 14 μέρες
(0 Αξιολογήσεις)
0.0
mkhaliq

See private message.

$85 USD σε 14 μέρες
(0 Αξιολογήσεις)
0.0