Program won't run but will build and run

I have a simple program that I have made with a COM object included. The program tries to run, the IDE goes through the motions but no exe starts. I can run the exe without problems using the build button and double clicking the exe.

Nothing is reported on the Errors pane.

I’ve tried closing and re-opening the IDE but that didn’t fix it, any other pointers?

Thanks in advance

Perhaps when running in the IDE it thinks you external objects are in a different location that when it is compiled? Just guessing here

[quote=267659:@JulianS]I have a simple program that I have made with a COM object included. The program tries to run, the IDE goes through the motions but no exe starts. I can run the exe without problems using the build button and double clicking the exe.

Nothing is reported on the Errors pane.

I’ve tried closing and re-opening the IDE but that didn’t fix it, any other pointers?[/quote]

How do you include the COM object ?

@Michel Bujardet I use the insert activex component from the menu and picked it off the list.

@Dave S I’m not sure how to check where it thinks the reference is. Any pointers?

Thanks for some pointers guys.

I came back to this after a break. Rebooted, problem fixed.