Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OCX read memory error????

Status
Not open for further replies.

georgecym

Programmer
Oct 28, 2002
3
MX
Hi there, i am using a flash ocx with progress (9.1 C), i was trying to close a window from the event FScommand of the flash ocx but when i put APPLY "CLOSE" TO THIS-PROCEDURE the application caused an error of memory reading and Progress quit. This happened because the ocx didnt return control to Progress, is that right?? How the f**k i return control to progress??? well so i tried using a timer control that closes the window when a flag variable was set to true, and IT WORKED!!! but the hell, after 1 or 2 minutes working normally the memory read error appeared, but this time it happened just one time during the progress sesion and didnt appeared again. How can i solve this, so no memory error happens???

Is there another way to return control to progress before closing the window??????

NOTE:i used RELEASE OBJECT of the Flash ocx's com-handle before closing the window.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top