MsgAbout in Windows XP

Post Reply
User avatar
Euclides
Posts: 144
Joined: Wed Mar 28, 2007 1:19 pm

MsgAbout in Windows XP

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Euclides
Posts: 144
Joined: Wed Mar 28, 2007 1:19 pm

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Euclides
Posts: 144
Joined: Wed Mar 28, 2007 1:19 pm

Post by Euclides »

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