| |

VerySource

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

Is the OLE that has been opened after the variable released controlled by the system?

[Copy link]

1

Threads

2

Posts

3

Credits

Newbie

Rank: 1

Credits
3

 China

Post time: 2020-2-24 12:30:01
| Show all posts |Read mode
Call OLE variables in the function to open Office, such as WORD, EXCEL. After the function is executed, the system should release all variables. If Close and FreeAndNil are not called in the function, will the OS take over the OLE variables that have been opened after the function ends?

Thank you
Reply

Use magic Report

0

Threads

13

Posts

8

Credits

Newbie

Rank: 1

Credits
8

 China

Post time: 2020-5-16 16:45:02
| Show all posts
OLE is a global variable,
One method to create
One method application
One method release
Just fine
Reply

Use magic Report

1

Threads

2

Posts

3

Credits

Newbie

Rank: 1

Credits
3

 China

 Author| Post time: 2020-5-21 13:45:01
| Show all posts
The problem is after the program is closed? I want to know whether the system will automatically take over, and how to get the pointer if it takes over.
Reply

Use magic Report

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

Points Rules

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

Quick Reply To Top Return to the list