This is a migrated thread and some comments may be shown as answers.

The converter gives error for "String*1"

3 Answers 63 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
partha
Top achievements
Rank 1
partha asked on 07 Oct 2008, 06:22 PM
I had vb code containing the line

Dim strChar1 As String*1

The C# converter didn't understand this and gave the following error

CONVERSION ERROR: Code could not be converted. Details:

-- line 6 col 26: invalid EndOfStmt

Please check for any errors in the original code and try again.

When I commented out this line, it converted fine.






3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 08 Oct 2008, 08:28 AM
Hi partha,

The asterix symbol is a special character and I suppose the converting pointers is not supported by our online converter (other free online converters does not have support for that as well). We will consider improving this aspect of the code converter in the future - thank you for drawing our attention to this detail.
  
Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
partha
Top achievements
Rank 1
answered on 08 Oct 2008, 11:17 AM
Thanks

Partha
0
Todd
Telerik team
answered on 08 Oct 2008, 03:18 PM
Hello partha,

As a quick note, our online converter uses the open source NRefactor conversion engine developed by the SharpDevelop contributors. I'd encourage you to report this issue on their forums, too, so that support can be fixed in the source open source project:


Hopefully we'll be able to provide a fix soon!

-Todd
Tags
Code Converter
Asked by
partha
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
partha
Top achievements
Rank 1
Todd
Telerik team
Share this question
or