Recently tried the example in the HTML Help, for 'user32.lib'. It's throwing a POLINK error: Unresolved external symbol '_MessageBoxA@16'.
I am running Windows 7 (x64) so, I used 'ImportC'. Still threw the error. I commented out the 'MsgBox' example, the 'MessageBoxA' does work to an extent... Only returns the 'W' for title on the dialog and 'H' in the message.
Is this normal behavior?
Import:EndImport
Re: Import:EndImport
For windows x64 you can use import or importc!
The MessageBoxA is the ASCII Version. If you are using Unicode (PB5.60 for example) you have to use the UNICODE Version:
MessageBoxW
The MessageBoxA is the ASCII Version. If you are using Unicode (PB5.60 for example) you have to use the UNICODE Version:
MessageBoxW
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.