Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why aren EXTERNAL variables visible between programs?

0
Posted

Why aren EXTERNAL variables visible between programs?

0

EXTERNAL variables are shared between statically linked programs, not libraries. In other words, if three programs declare EXTERNAL trouble, and the object files of the three programs are linked together into a single executable, a single trouble variable is referenced by all three programs, and trouble is therefore shared by all three programs. The executable can be a .EXE or a .DLL . If three programs are linked into three executables, however, all three programs has its own trouble . XuiSendMessage (g, #SetImage, 0, 0, 0, 0, 0, dir$ + “my.bmp”) .

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123