Hi,
None of these functions return Success in our environment from executables (i have commented these lines before posting here). Am I missing something here? I have tried everything but nothing helped. Everything works fine from development though. Thanks!
// int li_Test
// MessageBox("GetCurrentDirectory( )", GetCurrentDirectory( ))
// li_Test = ApplyTheme (".\themes190\Flat Design Blue")
// MessageBox("First",li_Test)
// li_Test = ApplyTheme (".\..\themes190\Flat Design Blue")
// MessageBox("Second",li_Test)
// li_Test = ApplyTheme ("themes190\Flat Design Blue")
// MessageBox("Third",li_Test)
// li_Test = ApplyTheme ("themes190\Flat Design Blue")
// MessageBox("Third",li_Test)
// li_Test = ApplyTheme ("theme190\Flat Design Blue")
// MessageBox("Fourth",li_Test)
// li_Test = ApplyTheme ("themes190\Flat Design Blue")
// MessageBox("Fifth",li_Test)
// li_Test = ApplyTheme ("Flat Design Blue")
// MessageBox("Sixth",li_Test)
// li_Test = ApplyTheme (GetCurrentDirectory( )+"\Flat Design Blue")
// MessageBox("VII",li_Test)
// li_Test = ApplyTheme ("E:\PowerAgent\PowerBuilder Upgrade\PA19.0MainSP01\themes190\Flat Design Blue")
// MessageBox("E:\PowerAgent\PowerBuilder Upgrade\PA19.0MainSP01\themes190\Flat Design Blue",li_Test)
I just confirmed we do have 32-bit pbtheme190.dll in \32bit executables and 64-bit pbtheme190.dll in \64-bit executables.
As the 32-bit and 64-bit runtimes were created using pbpack190.exe utility that automatically included pbtheme190.dll with appropriate versions.
Thoughts?
Sanjay