Interface result of a function a user struct

How it is possible to enter the result (or as a parameter) a user struct for example:

I've written a Plugin for Ole and now I wanna define a function with my own struct as parameter.:

something like that:
struct structStrings{

AnsiString Name;
structStrings *next;

structStrings *GetData (); or
SetData (structStrings Data);

I#m using C++ Builder and tried to put this in the TypeLibrary but it won't whether it is accepted. The error message is like: Invalid Type also I defined the struct globally.

Thanks for help...

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!