You know the difference between objects and primitive types yes?
You may want to look at a few intro books on C++.
As for your problem, look at the documentation for the FileListBox object, and see if there's a method that returns a C-style string.
Objects usually aren't C-strings