SystemParametersInfo problems

T

Toxalot

I'm using SystemParametersInfo and get the following error

can't find dll entry point SystemParametersInfo in user32

My declare line is as follows

Declare Function SystemParametersInfo Lib "user32" _
(ByVal uAction As Long, ByVal uParam As Long, _
ByRef lpvParam As Any, ByVal fuWinIni As Long) As Long

OS is WinXP SP2

Any ideas?
 
T

Toxalot

I was missing the Alias. I added that and it works great now.

Declare Function SystemParametersInfo Lib "user32" _
Alias "SystemParametersInfoA" (ByVal uAction As Long, _
ByVal uParam As Long, ByRef lpvParam As Any, _
ByVal fuWinIni As Long) As Long

Jennifer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top