function calling

hello,

using Codegear 2007, C++ builder, FastReport 4.6, having a simple .fr3 file.
there is ADOQuery in .fr3 file w/ some easy SQL query, wich works ok.


every attenpt to call functions from C++ defined in report returning variables back to C++ side throws exception 'Could not conver variant of type (NULL) into type (integer)'
(or any other type I want; not only Integer).
it's really simple report and function is simple as Result := 3;

that's BEFORE ReadyReport() call.
AFTER ReadyReport() is almost impossible to work with anything with script, not saying any attempt to use for example ADOQuery defined in report ends up EAccessViolation

I've purchased this product and it's very dissapointing, not saying almost no REAL documentation

any help appreciated, thank you

thank you

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.