vb.net - Get's bad variant type when calling com wrapper made in vb from c# -


this code dll written in vb.net, when call code vb application works fine when tries call c# (bad variant type).

ctllogon = createobject("sap.logoncontrol.1") objconnection = ctllogon.newconnection funccontrol = createobject("sap.functions") funccontrol.connection = objconnection      <---- bad variant type 

i hope can me. kind regards robert


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -