MsgAbout in Windows XP

MsgAbout in Windows XP

Postby Euclides » Mon Aug 06, 2007 3: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
User avatar
Euclides
 
Posts: 156
Joined: Wed Mar 28, 2007 1:19 pm

Postby Antonio Linares » Mon Aug 06, 2007 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42120
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Euclides » 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
User avatar
Euclides
 
Posts: 156
Joined: Wed Mar 28, 2007 1:19 pm

Postby Antonio Linares » Tue Aug 07, 2007 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42120
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Euclides » Tue Aug 07, 2007 4:28 pm

Ok Antonio, thanks.
I will do an About Screen myself, same as in Windows 98.
Regards,
Euclides
User avatar
Euclides
 
Posts: 156
Joined: Wed Mar 28, 2007 1:19 pm


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 2 guests