Visual Basic 6.
Project type is an ActiveX DLL
I have a class: IOutput_Script_Factory which is intended as an abstract interface. It defines one method:
Public Function CREATE_INSTANCE(ByVal sType As String) As IOutput_script
Its Instancing type is set at PublicNOtCreatable
I then have a concrete implementation class: Output_Script_Factory:
Private Function IOutput_Script_Factory_CREATE_INSTANCE(ByVal sType As String) As Ioutput_script
iT too is PublicNotCreatable
The problem is, the DLL won't compile. I get a VB Error:
Object module needs to implement 'CREATE_INSTANCE' for interface 'IOutput_Script_Factory'
What's going on here? my object module does implement the expected interface.. granted, there's no code in there just yet, as I'm just putting the skeletons together.. but even if i put something in there I get the same error. I must be missing something obvious but I can't figure out what.