```
        mpdf.create_pvf(card, mpImgBytes, mlen, L"");
        int inDoc = mpdf.open_pdi_document(card, L"");

```

I am using pdflib version 9.3.

> 
> open\_pdi\_document returns -1
> 
> 
> 

> 
> create\_pvf creates an empty file of size 0.
> Any idea on what could be wrong?
> 
> 
> 

I am running pdflib on Windows 10, using C++.