[aspectc-user] Parameter Capturing
Pericles Leng Cheng
pcheng at cs.ucy.ac.cy
Thu Apr 27 12:45:23 CEST 2006
Dear all,
I would like to know how I can capture a parameter from a function that I am
intercepting. I am attaching a simple program where I have 3 files (the main
file, a simple time class and the aspect.) I create a queue of times and
pass it to a function that prints them out. I need my aspect to intercept
the printing function and capture the parameter so that I can print the
values in a different way. The program works fine without the aspect but as
soon as the aspect is inserted I get a message that it encountered a fatal
error and wants to send the information to Microsoft.
I would appreciate all the help you could provide me,
Pericles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20060427/23f0ed99/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myAspect.ah
Type: application/octet-stream
Size: 266 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20060427/23f0ed99/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myTime.h
Type: application/octet-stream
Size: 108 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20060427/23f0ed99/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: application/octet-stream
Size: 435 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20060427/23f0ed99/attachment-0002.obj>
More information about the aspectc-user
mailing list