fixed unresolved external symbol for CreateBuffer()