Hello Thierry,
onn trying to create a surface which uses an existing buffer i get the following linker error:
I do not get this error on using the following method:
I conclude from this that the method for using an existing buffer is not exported or the signature in the header file doesn't match it. I would like to use that method so that i do not have to copy an already existing buffer to the surface.
Regards,
Chris
onn trying to create a surface which uses an existing buffer i get the following linker error:
- Code:
unresolved external Symbol "public: static class PHAL::Surface * __cdecl PHAL::Surface::Create(unsigned short *,unsigned int,unsigned int,unsigned int)" (?Create@Surface@PHAL@@SAPAV12@PAGIII@Z)
I do not get this error on using the following method:
- Code:
static Surface* Create( unsigned width, unsigned height );
I conclude from this that the method for using an existing buffer is not exported or the signature in the header file doesn't match it. I would like to use that method so that i do not have to copy an already existing buffer to the surface.
Regards,
Chris