This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot access global Variable

Hallo,
in the module with "main()" I declare a global variable of typ: param_konfiguration (structure)

param_konfiguration xdata p_konfiguration;

In an other file I try to access this structure (I import the symbol with "extern").
The program compiles but I cannot access this variable.

My code (in: ini.c):

p_konfiguration.logAnzahl = 0;


does not do anything :/

Other members aren't accessible too and contain (?) garbage.
Any ideas?
(I'm using this global Variable mainly with RS232 transfers)

Parents Reply Children
No data