The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

cippyboy (1) [Avatar] Offline
#1
A 2 in 1 post, here goes :

First, I'm using a System:smilierawing::Image in a property grid to select an image, and then I need to get that filename, it surely stores it somewhere since if you browse again, it will initialize the OpenDialog with the last filename. I checked all the documentation and didn't found anything related to that.

BTW do you know any Forms Designer property grid value type that can browse files ? Besides browsing Images I couldn't find anything else.

Second, I have a C++ string array like : char Text[][]={ "one" , "two" };

And a function needs a char ** as a parameter; It seems that under managed compilation I can't typecast char[][] to char** properly, as if the Text variable from above was compiled as managed something. If I try to do it for simple arrays, it works ok, but with 2 dimensional arrays it screws up.

Is there any documentation on how native types are converted to managed types ?

Thanks in advance.