Can you try the test code from VBScript - NOT VB. It would then look just like the Python one: test.vbs: t = CreateObject("TestDll16.test") n = t.makeN( 23 ) t.val( n,n ) See how that goes. Mark.