| |

VerySource

 Forgot password?
 Register
Search
View: 1046|Reply: 7

Anxious! !! !! runtime error 216 problems

[Copy link]

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-15 14:30:02
| Show all posts |Read mode
I encountered this problem when the form was closed!
After reading a lot of information, it was not resolved.
Form creation is like this
frm: = TFrmReport.Create (nil);
  frm.ShowModal;
  frm.Free;
No problem closing this form
Error when closing the main form! runtime error 216
The same code is beautiful in other programs!
Do not know what's going on!
It's urgent now, every time I close the main form, I will be prompted that the memory cannot be read, and then there is a runtime error 216
Sudden death!
Exactly the same code!
No problem in another project!
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-6-13 20:15:01
| Show all posts
There is no close! !
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-6-13 21:45:01
| Show all posts
Or you set a breakpoint to track! !
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-6-14 23:45:01
| Show all posts
Not trackable!
He was wrong after your form closed!
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-7-8 11:45:01
| Show all posts
There are 5 modules with this problem
Nothing else
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 Japan

 Author| Post time: 2020-7-26 16:00:01
| Show all posts
Has anyone encountered it?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-8 18:15:01
| Show all posts
I seem to have encountered it before.
You must have some resources that have not been released. You are rechecking your code
Debugging.
Reply

Use magic Report

0

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 United States

Post time: 2020-8-11 12:45:01
| Show all posts
frm:=TFrmReport.Create(self);
  frm.ShowModal;
freeandnil(frm);

Try this
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