Vista apps from D7


Are there any problems writing Vista-compatible apps with D7 Will the applications adopt the Vista look, minimise to the task bar properly, and so on
Posted On: Tuesday 27th of November 2012 12:57:43 AM Total Views:  316
View Complete with Replies

RELATED TOPICS OF Delphi Programming PROGRAMMING LANGUAGE




Please think with me about redesign of localized apps [long]

and girls I need some people to think with me on redesigning localization into an existing app. I'm stuck... I hope this discussion benefits others with similar problems. CURRENT SITUATION: We have a routine that is constantly getting called from desktop apps and services: GetLanguageString(FormName,ObjectName) This ('GLS') routine retrieves the data through a DLL (we can access the code in the DLL via a type library) from an archaic file structure. Based on a global CurrentLanguage setting the strings are retrieved from different files. In the OnCreate of all dynamically created forms/dialogs calls to GLS populate the .captions, .texts etc. WHAT WE WANT - We want to replace the languages files - We want to replace the DLL which is a CPP app that we cannot maintain. - Since we already have all translations 'indexed' by FormName,ObjectName we would like to extend this to ApplicationName,FormName,ObjectName. This way we can write a webapp with DB storage which shows screenshots of the forms and lets translators do their work. We can write code to export from that DB into our new language structures that we design now. - Currently whenever the coders add new components, dialogs etc. they have to update the language files separately. An extraction process from the code into the DB would be much easier. We can write that ourselves if necessary. I think we do not need the full resource extraction that many localization tools use (overkill) WHAT DOES SEEM TO BE A GOOD IDEA - If we can keep the GLS function that makes rewriting the code easier. - I looked at resource strings, putting them in a DLL, then switching DLLs. This looks elegant but I could not make it work together with the other requirements. WHAT DOES NOT SEEM TO BE A GOOD IDEA - The translation tools from later Delphi versions make new forms in subdirs. We don't want to maintain multiple forms. ADDITIONAL INFO - The apps are currently in Delphi 6 Personal. The planned upgrade path *after* these changes is D2007 Win32 Enterprise first, then Tiburon with full Unicode in the future. - In-house DB storage would be in MSSQL. We do not use/distribute any database with the apps. I realize this is a lot of text. If you made it to here, thanks ;-) Which direction do you suggest we investigate
VIEWS ON THIS POST

212

Posted on:

Saturday 22nd September 2012
View Replies!

Can't execute internet explorer and inkball on new desktop in vista

Hi all, I tried to execute internet explorer and inkball on new desktop in vista,but it didn't work with error messages 'You must be an administrator to open Internet Explorer on this desktop. To open Internet Explorer, right-click the Internet Explorer icon, and the click "Run as administrator"' for internet explorer and 'InkBall is not working on your computer right now. Restart your computer and then try again. If the problem persists, contact your system administrator.' for InkBall. I could execute both programs normally on default desktop. Here's my code : program launcher; {$APPTYPE CONSOLE} uses SysUtils, windows; var hOriginalThread : HDesk; hOriginalInput : HDesk; hNewDesktop : HDesk; ProcessInfo : TProcessInformation; aAppName : string; StartupInfo : TStartupInfo; sa : TSecurityAttributes; begin hOriginalThread := GetThreadDesktop(GetCurrentThreadId()); hOriginalInput := OpenInputDesktop(0, FALSE,GENERIC_ALL); hNewDesktop := CreateDesktop('vstDesktop', nil, nil, 0, GENERIC_ALL, nil); SetThreadDesktop(hNewDesktop); SwitchDesktop(hNewDesktop); FillChar(StartupInfo,Sizeof(StartupInfo),#0); StartupInfo.cb := Sizeof(StartupInfo); StartupInfo.dwFlags := STARTF_USESHOWWINDOW; StartupInfo.wShowWindow := SW_SHOW; StartupInfo.lpDesktop := 'vstDesktop'; CreateProcess(nil, 'c:\Program Files\Internet Explorer\iexplore.exe', nil, nil, false, NORMAL_PRIORITY_CLASS, nil, nil,StartupInfo, ProcessInfo); if ProcessInfo.hProcess 0 then begin WaitForSingleObject(ProcessInfo.hProcess, INFINITE); CloseHandle(ProcessInfo.hProcess); ProcessInfo.hProcess := 0; end; FillChar(StartupInfo,Sizeof(StartupInfo),#0); StartupInfo.cb := Sizeof(StartupInfo); StartupInfo.dwFlags := STARTF_USESHOWWINDOW; StartupInfo.wShowWindow := SW_SHOW; StartupInfo.lpDesktop := 'vstDesktop'; CreateProcess(nil, 'c:\Program Files\Microsoft Games\inkball\inkball.exe', nil, nil, false, NORMAL_PRIORITY_CLASS, nil, nil,StartupInfo, ProcessInfo); if ProcessInfo.hProcess 0 then begin WaitForSingleObject(ProcessInfo.hProcess, INFINITE); CloseHandle(ProcessInfo.hProcess); ProcessInfo.hProcess := 0; end; // Restore original desktop SwitchDesktop(hOriginalInput); SetThreadDesktop(hOriginalThread); // Close the Desktop CloseDesktop(hNewDesktop); end. What could be wrong
VIEWS ON THIS POST

220

Posted on:

Saturday 22nd September 2012
View Replies!

How to embed a vista manifest in EXE?

anyone know how to embed a vista manifest in an existing exe
VIEWS ON THIS POST

173

Posted on:

Saturday 22nd September 2012
View Replies!

Font.color don't change on d2007/vista

What's happening is very strange. On my Delphi 2007 enterprise registered version (updated to the last) installed on Vista Business sp1 I can't change the font color of many standard vcls like TRadioGroup, TCheckBox and others. Anyone who have experienced something like this Suggestions
VIEWS ON THIS POST

219

Posted on:

Tuesday 25th September 2012
View Replies!

2007 vista aeroglass support? something missing...

, Ok... I played with doing some glass forms over the weekend and while its easy to extend glass beyond the border of a frame.. what good is it... if you place buttons, labels, etc on the form they dont draw correctly. Searching the internet for solutions i read that it has something to do with delphi not using gdi+ or having support for WPF for drawing on the forms correctly. Will D2008 correct this or am i missing something obvious.
VIEWS ON THIS POST

287

Posted on:

Tuesday 25th September 2012
View Replies!

delphi application on vista

Hi I have application made in Delphi 2007 on XP and on XP is working perfectly but on vista it wont start I get the error message Project1.exe has stopped working what should I do
VIEWS ON THIS POST

319

Posted on:

Saturday 29th September 2012
View Replies!

turbo delphi and vista64

stevel I have recently bought a new notebook from Dell with Vista (should have taken the XP option) for 645 inv VAT and have installed both D6 & D2006 on it. Things seem to work OK. Roy Lambert
VIEWS ON THIS POST

293

Posted on:

Saturday 6th October 2012
View Replies!

2007 vista aeroglass support? something missing...

, Ok... I played with doing some glass forms over the weekend and while its easy to extend glass beyond the border of a frame.. what good is it... if you place buttons, labels, etc on the form they dont draw correctly. Searching the internet for solutions i read that it has something to do with delphi not using gdi+ or having support for WPF for drawing on the forms correctly. Will D2008 correct this or am i missing something obvious.
VIEWS ON THIS POST

167

Posted on:

Tuesday 16th October 2012
View Replies!

Embarcadero Delphi apps

Are one or more of the Embarcadero products written in Delphi An old newsgroups post by Damian Marquez from 2003-01-18 state that Embarcadero ER/Studio is a Delphi app. Is it true Doei RIF
VIEWS ON THIS POST

84

Posted on:

Tuesday 16th October 2012
View Replies!

developing on vista machine

Because it can take two to three hours to install delphi and the upgrades and 3rd party components on vista, I'm hoping someone who is doing it can answer a couple of questions. 1. When working on vista, does uac ...
VIEWS ON THIS POST

119

Posted on:

Thursday 15th November 2012
View Replies!

I need a snazzier UI for my Delphi apps

I write Win32 apps using Delphi. Skype is written in Delphi. My apps look "pedestrian". Skype looks cool. I need some one, who... maybe doesn't even know programming hardly at all, but knows all the property settings, bitmaps, color pallets, ...
VIEWS ON THIS POST

111

Posted on:

Thursday 15th November 2012
View Replies!

Why would this code fail on Vista? (Open file for read using SYstem.Resetraises error 104 on vista)

Warren Postma wrote: > What on EARTH is happening when you call Reset() that causes it to > raise a permission exception on Vista Wild guess: probably a sharing lock. Use SysInternals FileMon to be sure. -- Craig Stuntz [TeamB] ...
VIEWS ON THIS POST

342

Posted on:

Tuesday 27th November 2012
View Replies!