Illegal Type Conversion

Blitz3D Forums/Blitz3D Programming/Illegal Type Conversion

Boiled Sweets(Posted 2005) [#1]
Ouch!

Something is not right here, any thoughts?

I have a .decls file entry...

api_SystemParametersInfo% (uAction%, uParam%, lpvParam*, fuWinIni%) : "SystemParametersInfoA"

I call it like this...

api_SystemParametersInfo(20, 0, gen_screenshot_filename$, 1)

But I get illegal type conversion when compiling.

The weird thing is this used to work fine prior to my hard disk crash and subsequent rebuilt. The source hasn't changed, the decls hasn't changed.

ANY THOUGHTS GURUS?


Rook Zimbabwe(Posted 2005) [#2]
Aside from "Evil Faries" my only other thought is this
 lpvParam*, 
should this not be a $ as well? I ask because I have never seen * as a variable idnetifier... If I am wrong or ignorant I apologize...
-RZ


Boiled Sweets(Posted 2005) [#3]
Oops!

Thanks Rook! you are todays guru.