onn trying to create a surface which uses an existing buffer i get the following linker error:
- Code: Select all
1unresolved 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)1 lines; 0 keywds; 0 nums; 3 ops; 1 strs; 0 coms Syntactic Coloring v0.4 - Dan East
I do not get this error on using the following method:
- Code: Select all
1static Surface* Create( unsigned width, unsigned height );1 lines; 3 keywds; 0 nums; 5 ops; 0 strs; 0 coms Syntactic Coloring v0.4 - Dan East
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
