- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Use character(*)Intent IN without by Ref.
Tim

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page