I am converting DUnit tests to DUnitX tests using C++ Builder 10. I have a test that verifies that an exception is thrown, and I see that WillRaise() is available for this in DUnitX. WillRaise() takes as an argument an anonymous method which bcc32 doesn't support. Can someone show an example of the C++ syntax required by WillRaise(), or am I correct that this can't be done with bcc32?
Thanks!