mohbb22
asked on
COM error
Hi, we built a delphi COM components and I got this error on runtime:
"cannot debug project unless a host application is defined. Use the Run|Parameters..dialog box"
Thanks
"cannot debug project unless a host application is defined. Use the Run|Parameters..dialog box"
Thanks
This is normal. You just can't run a COM object/dll.
ASKER
can the error be because I checked the Include Type Library Box when creating the COM object?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I think you didn't understand me well...I built a COM Object and I used in in another application. (ie. I didn't compile the DLL itself). During compilation this application works fine but I RUn it I ge the error.
ASKER
I think you didn't understand me well...I built a COM Object and I used in in another application. (ie. I didn't compile the DLL itself). During compilation this application works fine but I RUn it I ge the error.
ASKER
I think you didn't understand me well...I built a COM Object and I used in in another application. (ie. I didn't compile the DLL itself). During compilation this application works fine but I RUn it I ge the error.
That message means that Delphi can't run the compiled application. Nothing more.
So what kind of project is it?
So what kind of project is it?
ASKER
It's a COM project..we are trying to build a COM Component .
Right now we are facing another error of:
Project RSATesting.exe raised exception class EAccessViolation with message 'Access Violation at address 00447847' in module 'RSATesting.exe' . Write of address '0000000' . Process stoped. Use Step or Run to continue.
note: TRSATesting is the application using the COM we built.(the COM is an RSA algorithm program)
Note: also that we are not using any pointers.
Right now we are facing another error of:
Project RSATesting.exe raised exception class EAccessViolation with message 'Access Violation at address 00447847' in module 'RSATesting.exe' . Write of address '0000000' . Process stoped. Use Step or Run to continue.
note: TRSATesting is the application using the COM we built.(the COM is an RSA algorithm program)
Note: also that we are not using any pointers.