Author
Topic: Scope of include files ? (Read 2020 times)

Hi Ramon..Just curious about the scope of the projects include files. - Are the include files visible to all modules and windows ?Asking as when I move my data variables ect.. into a 'private' include file which is in the include section of the project explorer, the assembler throws what seems visibility errors.

There's also another problem of accessing structure variables across modules- I set a structure variable to TRUE (1).- Pass a pointer of the structure to another modules procedure.- This procedure accesses the structure variable (via ASSUME statement) and get a FALSE (0) result ?This project assembles with no errors

Still playing with EC1.... converting the project to EC2 is a problem at the moment.I think EC2 is assuming 32bit projects to be 64bit when importing, as I cannot see this info in the project properties.

Also wondering what the effect would be if I place Include statements in each module, or just the projects main include file.

- An include file added to "Include" section of the project explorer should be visible to all windows/modules.- When passing the address of a structure to another module procedure, the structure should be read "as is".- In all my tests, converting a project to EC2 has been succesful.- If you place include statements in a module, the included file will only be visible in that module.

So, I would be very grateful if you could send me a project firing the errors you report, so that I could see the problem and fix it.