| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| *I have an app written in D7 that refuses to run on XP Pro x64 or Vista x64. It dies with "The application has encountered a problem and must close..." and it does this before anything shows. The app doesn't do anything particularly fancy but it does use 125+ forms. I've done about all I know to do make it UAC compliant, even adding a UAC manifest. In the project dpr the first thing it does is to determine the path to the installed app using ParamStr(0), followed by the path to 'user\Application Data' folder using SHGetSpecialFolderLoction. With this latter path it reads a bool value from an ini file to decide whether to display a splash screen. It then displays or doesn't display the splash screen depending on the return bool. The app doesn't even get to the splash screen display. I thought maybe there was something going on in an initialization section in one of the units 'used' in the dpr but I can't see anything that looks suspicious. Can someone point me in the direction I should be looking? Thanks HarryS --- posted by geoForum on http://delphi.newswhat.com |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.