The call is ambiguous between ....: '__Psz.__Psz(string)' and '__Psz.__Psz(IntPt
Posted: Wed Nov 09, 2016 9:10 am
The following code gives the error below
local pszBuffer as psz
local ptrBuffer as ptr
...
pszBuffer := psz( _cast, ptrBuffer )
The call is ambiguous between the following methods or properties: '__Psz.__Psz(string)' and '__Psz.__Psz(IntPtr)'
Currently I do not know what should be a better conversion having to use the WINAPI functions with pointers.
(Sorry for sending so many topics in so few time, perhaps you answer too quickly, it is nice to have responses so quickly, I feel important...
)
Arne
local pszBuffer as psz
local ptrBuffer as ptr
...
pszBuffer := psz( _cast, ptrBuffer )
The call is ambiguous between the following methods or properties: '__Psz.__Psz(string)' and '__Psz.__Psz(IntPtr)'
Currently I do not know what should be a better conversion having to use the WINAPI functions with pointers.
(Sorry for sending so many topics in so few time, perhaps you answer too quickly, it is nice to have responses so quickly, I feel important...
![Smile :-)](https://dt9qzg9h465rt.cloudfront.net/phpBB3/images/smilies/icon_e_smile.gif)
)
Arne