We are going through the same learning curve you & I. I'm using string table resources & making similar mistakes.
I guess the answer is in what you are trying to pass the resource item to. It wants an int ponter & you are giving it a char pointer & the conversion won't work.
After trying everything I could think of to solve my loadstring issue I went looking through the supplied sample projects & on examining one discovered that what I thought was a bug with the way I was defining a string was actually to do with the way I was defining the length of the string.
If you have not solved this yet let me know & I will duplicate & assist