Re: [dev] Basic Calling a DLL on windows with character array argument

2007-10-27 Thread Andrew Douglas Pitonyak
Because I received no answer, I assume that either no one knows, or no one cares. Just in case someone does care, however... I wrote a DLL that accepts a string. I can create a string in OOo containing null characters. For example: "ABC\0\0D" The DLL receives only ABC and on return, the stri

[dev] Basic Calling a DLL on windows with character array argument

2007-10-23 Thread Andrew Douglas Pitonyak
Using OOo 2.3 on Windows, I need to call a DLL from StarBasic. The argument to the DLL is a simple array of characters. Consider a super simple example: Type FOO1TYPE Dim name1 As String * 10 Dim rank1 As String * 10 End Type Type FOO2TYPE Dim name2 As String * 10 Dim rank2 As String *