I'm making use of 'ShellExecute' (opening of Crystal Reports) within my Delphi 5 application. On some machines this works with no problems.
On one (lower spec) machine I get the return value 'SE_ERR_OOM' ('There was not enough memory to complete this operation') when I try to run the command from the application.
Admittedly the application is quite large (database access work) HOWEVER I am able to open the report alongside the running application using 'Crystal Reports'.
This suggests to me that the machine itself can handle the memory required but from inside the application it cannot.
Can anyone suggest why this might be ?
Can anyone suggest how to resolve this, be it still using the 'ShellExecute' command or something similar ?
Thanks in advance
Steve
On one (lower spec) machine I get the return value 'SE_ERR_OOM' ('There was not enough memory to complete this operation') when I try to run the command from the application.
Admittedly the application is quite large (database access work) HOWEVER I am able to open the report alongside the running application using 'Crystal Reports'.
This suggests to me that the machine itself can handle the memory required but from inside the application it cannot.
Can anyone suggest why this might be ?
Can anyone suggest how to resolve this, be it still using the 'ShellExecute' command or something similar ?
Thanks in advance
Steve