Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

String IN from VB

rahzan
New Contributor I
407 Views
I have a com-server to a VBA client.
While I think that this worked once I am unable to pass a string from VBA with intent IN (w/ or w/o by ref) to the server. upon the call VBA gives an "Autiomation error(-1)" which I know means an interface problem.

Does anyone know what settings one should use in this case?

Thanks, Tim
0 Kudos
1 Reply
rahzan
New Contributor I
407 Views
Well I'm sure that this was NOT necessary before, but null-terminating the VB string solved the problem.

Use character(*)Intent IN without by Ref.

Tim
0 Kudos
Reply