PDA

View Full Version : MsiGetProductInfo and ERROR 234



SU-Nikolai
08-26-2005, 08:59 AM
hi guys,

I'm trying to get properties from another installed application. I'm using MsiGetProductInfo, but it doesn't work!!


Does anybody have an example of how to use the method??


Currently I'm getting an Error 234. I don't know what that means.... does anybody?

_doog_
08-26-2005, 09:25 AM
234 More data is available. ERROR_MORE_DATA

propably a buffer too small

SU-Nikolai
08-30-2005, 02:07 AM
Don't you have an example of how to use it?

My buffer schuld me ok...

_doog_
08-30-2005, 08:22 AM
post your code snippet and we can look at where the error lies

PhilWilson
08-30-2005, 12:18 PM
My bet is that that you're passing in zero as the final parameter, but it's supposed to be the size of the buffer. If you pass in zero, it always returns that error and tells you (in the same parameter returned) what size the buffer needs to be.