I'm stuck on trying generating a new version of a COM DLL with binary compatibility. I don't understand why I get this message :
'init' in the 'Logger' class module has arguments and/or a return type that is incompatible with a similar declaration in the version-compatible component.
Original definition:
Function init(aLOGDIR As String, Optional aListBox As Object, Optional aMAXLISTBOXLINES As Integer) As Boolean
Current definition:
Function init(aLOGDIR As String, Optional aListBox As Object, Optional aMAXLISTBOXLINES As Integer) As Boolean
I haven't change init
as you can see...
Here's my steps :
- First generation without compatibility
- Set up a binary compatibility in Project properties (referencing the previous generated dll with or without renaming it)
- Second generation
- Warning occurs.
Is this because a parameter is an Object
? Thanks for your help.