| |

VerySource

 Forgot password?
 Register
Search
View: 933|Reply: 2

About inter-module communication

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-19 11:20:01
| Show all posts |Read mode
Who knows in the 16-bit compilation
How to transfer the structure type between two modules, that is, module B uses the internal variable of student (struc type) of module A?
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 United States

Post time: 2020-4-17 17:45:01
| Show all posts
Make the "public" declaration of the variable in the called module first
In the calling module, make the "extrn" declaration of the called variable.
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-4-18 12:00:01
| Show all posts
Can open a shared memory
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list