I'm trying to write the TESTCOMMANDS project (from the This Party Commands tutorial in tech docs in the help, using Visual Studio Express with the Platform SDK installed, and a few tweaks to config files to allow DLL creation from the wizard), but the MessageBox command is failing (says MessageBoxW cannot convert LPSTR to LPCWSTR or something). So, to get round that compile error, I try to use LPCTSTR or LPCWSTR which then compiles up okay, but when I test it in DB-Pro, I either get an error message, or the MessageBox that pops up is full of garbled gibberish!
The 'GetValue' one works fine.
I'm certain I am doing something stupid, or maybe I've set something up wrong with VS Express.
Does anyone know what I'm doing wrong? Am I the only one who has had this problem? (I did some forum search but couldn't find anything).
Thanks.