- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This message is for Steve L. Hi steve, I have a large dialog based program. Most of the data is initialized in the routine mainsub. Ex. DATA MODELS(46) /'ALL'/
For the 1st time everything works fine- but when I hit run 2nd time from the dialogbox, somehow all the values of the variables are not the initial values even when we check them in 'mainsub'. They look like retained values from the previous run. Obviously the results are all wrong. In the dialog box I have-
What can be done to fix this problem?
Thanks,
Dilip Paul
For the 1st time everything works fine- but when I hit run 2nd time from the dialogbox, somehow all the values of the variables are not the initial values even when we check them in 'mainsub'. They look like retained values from the previous run. Obviously the results are all wrong. In the dialog box I have-
hEvent=CreateEvent(NULL_SECURITY_ATTRIBUTES, .TRUE., .FALSE., NULL_CHARACTER) hEvent=CreateEvent(NULL_SECURITY_ATTRIBUTES, .FALSE., .FALSE., "MyEvent"C) hThread=CreateThread(NULL_SECURITY_ATTRIBUTES, 0, LOC(Mainsub), hEvent, 0, LOC(idThread))
What can be done to fix this problem?
Thanks,
Dilip Paul
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I have no idea, since I don't know how your data is initialized. If you want to send us a support request, and have version 6.5 or later, send a sample program to vf-support@compaq.com
Steve
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page