One way to do it is to pass a string pointer to your dll.
here is a stub function (in C) on how to do it
-------mydll.dll---------
extern "C" long _declspec(dllexport) _stdcall GetNextRecord( char* strMsg)
{
strcat(strMsg,"mystring");
return (ERROR_SUCCESS);
}
------------------------------
In your custom action (I use ISWI, so I'm not quite sure how to do this with ORCA), create the following action:
---------------------
type 131072
source mydll.dll
target NUMBER=[MYDLL]mydll::GetNextRecord(inout STRING=[MYPROPERTY])
---------------------
make sure that the string that you pass in your custom action is an inout string. I also like returning numbers to make sure that the operation is sucessful. If you don't want to do that, just change the function from long to void, and then make sure to remove the variable NUMBER in your custom action.
I omitted other steps here. I'm assuming you know how to export your dll and know how to create custom actions using dlls.
Hope this helps, let me know if you got it working.
80LPJ
ISWI user