I've got a questuion: i have exe program which creates window(non MFC) and this programm loads dll, which creates another window. Both windows have edit controls. I need to do followng: as far as i change text in edit in dll window, i need to output same text in edit in exe window. There is a pointer (char*) in dll where i store text which is to be output in dll edit. How to access to this pointer from exe window (and make this pointer common for both windows - something like buffer). Probably I need to declare this pointer as dllexport but I don't know how to work with it then. Please somebody give example of solving such problem (using imported variables!). Thanks