FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper MsgAbout in Windows XP
Posts: 159
Joined: Wed Mar 28, 2007 01:19 PM
MsgAbout in Windows XP
Posted: Mon Aug 06, 2007 03:07 PM

hi all!
Anybody noticed the MsgAbout function not working on Windows XP ?
Works fine in Windows 98. Tested with FW 2.4.
I made some search and found this VB declaration:

Private Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA"
(ByVal hwnd As Long, ByVal szApp As String, ByVal szOtherStuff As
String, ByVal hIcon As Long) As Long

Tried with:

DLL32 FUNCTION MsgAbout(hDC AS LONG, cTx1 AS LPSTR, cTx2 AS LPSTR, hIco AS LONG) AS LONG PASCAL FROM "ShellAboutA" LIB "shell32.dll"

Called in program with MsgAbout(oWnd:hWnd, "AAAA", "BBBB")

Does not work either. What I am doing wrong ?
TIA
Euclides

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MsgAbout in Windows XP
Posted: Mon Aug 06, 2007 05:59 PM

Euclides,

MsgAbout() does not work for 16 bits applications in XP neither in Vista.

With FWH, MsgAbout() works fine in both XP and Vista.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 159
Joined: Wed Mar 28, 2007 01:19 PM
MsgAbout in Windows XP
Posted: Tue Aug 07, 2007 11:59 AM

Hi Antonio, I know it works with FWH.
The case is an old system in a old machine who was just updated to Winows XP and the customer made a written complain about the missing MsgAbout screen.
In DOS if I write "RUNDLL32 shell32, ShellAboutA", it shows the About Screen.
There is no way to make it with a DLL32 call with FW 16?
Regards
Euclides

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MsgAbout in Windows XP
Posted: Tue Aug 07, 2007 04:00 PM

> In DOS if I write "RUNDLL32 shell32, ShellAboutA", it shows the About Screen.

Thats not DOS 16 bits. Its a true 32 bits console window.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 159
Joined: Wed Mar 28, 2007 01:19 PM
MsgAbout in Windows XP
Posted: Tue Aug 07, 2007 04:28 PM

Ok Antonio, thanks.
I will do an About Screen myself, same as in Windows 98.
Regards,
Euclides

Continue the discussion