SolveErrors
Delphi Programming

"Enable Runtime Themes" blocks running from external programs

13 views

Hi,

Hope someone has encountered this and can explain. Can't find it
documented.

I have several apps created in Delphi that can be called from 3rd party
programs. Recently I upgraded from an old Delphi to Delphi 2007. I am
running in XP.

When I compile with "Enable Runtime Themes", the compiled apps seem to
no longer recognize the calls from the 3-party programs. As best as I
can tell, the apps are not opening at all, as if external calls are
blocked.

EXCEPT, I can run each of my apps from the other, although to do so I
had to modify the ShellExecute command in the calling program by setting
the Handle parameter to 0 (instead of a handle variable.) So the apps
are clearly able to receive a run command from another app, but for some
reason not from the 3rd-party apps.

If I turn off "Enable Runtime Themes", everything works fine.

Any ideas?

Thanks.

Scott Hochberg
Postage $aver Software
savepostage.com



--- posted by geoForum on http://delphi.newswhat.com

More Delphi Programming fixes

Keep forward MDI Child form over other controls.After embedding a form into another form i have focus problem on my first form controls![Delphi 2007] How can i set that delphi start form # from 1(after starting a new VCL project)?Using D6, deploy app with runtime packages..package collections editor?Delphi2007 link with static C-libraryClass Completion Of Object Delphi 2007 bug