How to pass data (string or pic x(100) ) from Net Express .exe to Visual Cobol .dll

[Migrated content. Thread originally posted on 05 August 2011]

SI 2527714

Client has a query:
How to pass data (string or pic x(100) ) from Net Express .exe to Visual Cobol .dll and pass it back again.

I cannot find a demo or sample that is readily available that shows how to do this. Does anyone know if there is a demo available that I can use to provide the client, instead of creating something from scratch(trying to)? I do not think it is too relevant that it has to be a Visual Cobol .dll , unless you know if this would cause problems.. please let me know if this is a bad practice.

Many thanks,
Kim