Hi there,
I generate a crystal report picking data in an Oracle db via VB6.
As the "MyReport.Export" occurs, a new session is automatically created by Crystal.
When the report is done, performing :
Set MyCRApp = Nothing
Set MyCRRep = Nothing
doesn't kill the session, which is still active when I shut my VB app.
So, sessions are added each time and after a few time, I can no longer connect to Oracle : "memory leak - large pool..."
Maybe I could use "MyCRApp.LogOffServer" but I can't easily figure out what parameters I have to provide, especially for pdllName.
Can someone help me ?
Thanks in advance.
Lemox
I generate a crystal report picking data in an Oracle db via VB6.
As the "MyReport.Export" occurs, a new session is automatically created by Crystal.
When the report is done, performing :
Set MyCRApp = Nothing
Set MyCRRep = Nothing
doesn't kill the session, which is still active when I shut my VB app.
So, sessions are added each time and after a few time, I can no longer connect to Oracle : "memory leak - large pool..."
Maybe I could use "MyCRApp.LogOffServer" but I can't easily figure out what parameters I have to provide, especially for pdllName.
Can someone help me ?
Thanks in advance.
Lemox