On Mon, 26 Jun 2006 13:40:47 +0200, Frank G?nther <[EMAIL PROTECTED]>
>... > > >>>> > >>>> >I found a strange behaviour when I use a python-COM-Server together with >>>> >VB. >>> >>> >>> >>> Not VB, but rather VBS. They are two rather different languages. >>> >> >> >... > >Hi Tim, > >Thanks for your answer. >Actually the same problem arises if you use VB or VBA. So the difference >between VB and VBS is at least for this problem not to wide. > > I'll be darned, you're quite right. Even VB 2005 behaves this way. I checked the generated IL, and this weird behavior is definitely there. The compiled code is storing the return value in the first non-constant parameter. I've worked with COM for a long time, and I don't remember seeing that behavior written down anywhere. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32