advapi32 reference...

BlitzMax Forums/BlitzMax Programming/advapi32 reference...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well i am really stuck with this one. I have tried all type's of reference's ect, nothing seem's to work
Extern "Win32"
Function RegCloseKeyA( hKey:Int ) = "RegCloseKey@4"
End Extern

Local hCurKey:Int
RegCloseKeyA( hCurKey )

Error: undefined reference to `RegCloseKey@4'

When i opened "advapi32.a" in the lib folder it had "RegCloseKey@4" too so i dont understand this Error/Bug.