I've created a component that I want to make available as shareware.
I want to be able to detect (As many other shareware components do) if the program using my component, is running from within delphi, or if it is the .exe file that is running on its own, ie not from within delphi?
Ie no registration message displayed while running from within delphi IDE.
When then run in an *.exe, wihtout Delphi IDE, then must not be functional anymore, and display a message saying that this version is unregistered, and needs to be registered first.
How do I test for this from within my component.
My component must be fully functional at 'design time', and when run from within delphi, but not when the compiled *.exe containing the component is run on its own.
Thanks in advance