Hi,
I have an external method (created with PowerBasic) that gets a string pointer as an input parameter, like below:
Declare Function ExternalFunction LIB "name.dll" ALIAS "SomeAlias" (ByRef strName As CString) As Integer
When I call this method, if my Cstring variable (in this case "strName ") has less than 140 characters and does not contain a new line character then
appears as empty in the external method.
If the strName variable has more than 140 characters and also contains a new line character, then everything works just fine.
Anyone can explain this please?
Any help is appreciated!!!!
Real Studio 2011, Release 4, on Windows 7.[/quote]