>I am creating a multilingual app. in VFP. Ive been trying to use a common.h file and include this in a form. There are many forms ...
>
>No success yet to map the variables into the form though. Any suggestions/hints about using #include files would be most welcome.
Maybe this can help you. I also did a multilingual app. The approach I took is a bit different than a .h file: I created a language table containing the translation for other languages. The main key is something like language_code+form_name+full_field_name. In the init of my forms (well really in my form class), I verify if the current language is different. If yes, I loop into each fields of the form and replace the caption and tooltip with whatever is in the language table. It is pretty fast and it allow the users to translate themselve the application. It is also dynamic. No need to recompile.
If you want, I can send you the code to do this.
Eric