Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgrading to C5.5

Status
Not open for further replies.

jjyxk845

Programmer
Aug 22, 2002
18
GG
When trying to upgrade a c5 app to c5.5 I get the following error.
Snytax error. Unknow procedure label at the points 'SystemParametersInfo' in the following code.
Has anyone come across this pproblem.
Please help


SystemParametersInfo( 38, 0, lCurrentFDSetting, 0 )
IF lCurrentFDSetting = 1
SystemParametersInfo( 37, 0, lAdjFDSetting, 3 )
END
Main
INIMgr.Update
IF lCurrentFDSetting = 1
SystemParametersInfo( 37, 1, lAdjFDSetting, 3 )
END
 
Ive discovered that it's caused by a product (usually but not always clarionet) overriding the builtins.clw. Unfortunately along the c5.5 path the behaviour changed so that all in all it's now fairly cloudy

If you are getting this message then add the following code snippet to your builtins.clw.

COMPILE('!--Win32',_WIDTH32_)
MODULE('win32')
SystemParametersInfo( LONG uAction, LONG uParam, *? lpvParam, LONG fuWinIni ), LONG, RAW, PASCAL, DLL(TRUE), NAME('SystemParametersInfoA'),PROC
END
!--Win32

(The middle bit is all one long line)

This should fix it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top