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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal RDC NewReport leaks memory????

Status
Not open for further replies.

bruce6

Programmer
Aug 23, 2005
1
US
When I run the below Visual Basic
and maxCount.Text = 60 ... RDC leaks about a meg of memory. Any suggestions???
I'm running with Crystal XI.

=========================================================

Option Explicit

Dim m_Proj As CRAXDDRT.Application
Dim m_Report As CRAXDDRT.Report

Private Sub cmdDone_Click()
Unload Me
End Sub

Private Sub cmdRunTest_Click()
Dim i As Integer

For i = 1 To maxCount.Text
Set m_Proj = New CRAXDDRT.Application
Set m_Report = m_Proj.NewReport()
Set m_Report = Nothing
Set m_Proj = Nothing
reportCounter.Caption() = i
reportCounter.Refresh
Next i
reportCounter.Caption() = "Done"
End Sub

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top