This was posted a while ago on the advanced board. Does anyone know anything about the error 0x8 (out of memory error) caused by wglUseFontOutlines? I'm using a very simple call;

if (wglUseFontOutlines(MainhDC, 0, 256, 256, 0.0f, 0.1f, WGL_FONT_POLYGONS, NULL) == FALSE) {
... etc ...

this happens whatever I do to the numbers in the call, even if I reduce it to one single character or copy the example out of the MSDN website verbatim (with non-NULL final parameter). Something strange is going on.

Surely this is common enough to have happened to plenty of other people? wglUseFontBitmaps works fine, and I have a nice graphics card (128Mb) and plenty of RAM so neither of those is a problem.

Any solutions?

Cheers,
Col