I'm implementing a COM API for a softphone system and am having problems with a Property Get statement implementing an interface. In the Object Browser the property definition listed in the bottom panel doesn't state a return data type, thus:


Property ForceRFC3264(Value As Boolean)
read-only
Member of ZoiperAPI.IZoiperAccount


Without a return data type, is this even a valid definition?


In the API documentation it doesn't have any input parameters and says it should return a VARIANT_BOOL data type, but it won't compile when I enter:


Public Property Get IZoiperAccount_ForceRFC3264(ByVal bln As Boolean) As Boolean


I get the error: Procedure declaration does not match description...


I've tried it without the parameter but get the same error. I can't compile the class without a Property Get statement for this property, so am a bit stumped.


Could there be a problem within the API, or am I doing something wrong?


Any help would be greatly appreciated.


Matt