I would like to get a month name with the function VarMonthName (oleaut32.dll) but this code doesn't work:
The function doesn't return any error but doesn't work properly. What must I do? The fourth parameter must be BSTR type. How to convtert LPSTR to BSTR?
.data szMonth byte 10 dup(0) .code start: invoke VarMonthName, 1, 0, 0, addr szMonth ret end start