Page 1 of 1

MsgAbout in Windows XP

Posted: Mon Aug 06, 2007 3:07 pm
by Euclides
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

Posted: Mon Aug 06, 2007 5:59 pm
by Antonio Linares
Euclides,

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

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

Posted: Tue Aug 07, 2007 11:59 am
by Euclides
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

Posted: Tue Aug 07, 2007 4:00 pm
by Antonio Linares
> 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.

Posted: Tue Aug 07, 2007 4:28 pm
by Euclides
Ok Antonio, thanks.
I will do an About Screen myself, same as in Windows 98.
Regards,
Euclides