Log all the calls made in DLL

Hi Gurus,

I’m having a ruby code which registers a dll and makes calls to the
methods available in the dll (built in C++).

For an example:

  1. Ruby Code calls method ABC() which is present in DLL (say xyz.dll).
  2. In turn, ABC() method internally calls DEF() which is also present in
    the same DLL.

So I want this call logs via my ruby code. So my output should be like
this:

xyz:ABC() -> xyz:DEF() and so on.

Is there any possible way to do it from Ruby?

Regards,
Vimal Raj

-----Messaggio originale-----
Da: Vimal Selvam [mailto:[email protected]]
Inviato: marted 27 dicembre 2011 08:46
A: ruby-talk ML
Oggetto: Log all the calls made in DLL

Hi Gurus,

I’m having a ruby code which registers a dll and makes calls to the
methods
available in the dll (built in C++).

For an example:

  1. Ruby Code calls method ABC() which is present in DLL (say xyz.dll).
  2. In turn, ABC() method internally calls DEF() which is also present in
    the
    same DLL.

So I want this call logs via my ruby code. So my output should be like
this:

xyz:ABC() → xyz:DEF() and so on.

Is there any possible way to do it from Ruby?

Regards,
Vimal Raj


Posted via http://www.ruby-forum.com/.


Caselle da 1GB, trasmetti allegati fino a 3GB e in piu’ IMAP, POP3 e
SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f

Sponsor:
ING DIRECT Conto Arancio. 4,20% per 12 mesi, zero spese, aprilo in due
minuti!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid921&d)-12