Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    Jan 2006
    Finland, Hollola
    Thanked 0 Times in 0 Posts

    Using .NET Framework - how?


    I am trying to use .NET Framework in PHP.

    The component loads fine, but the component expects an array of bytes as the parameter.

    PHP Code:
    $asd = array(0);
    $v = new VARIANT($asd,VT_ARRAY);
    That does not seem to work. I have this error: Fatal error: Uncaught exception 'com_exception' with message 'Error [0x80070057] The parameter is incorrect.

    Any ideas? Using anything else except VT_ARRAY will give me "type mismatch" error, so VT_ARRAY is definitely the right choice, but I can't seem to make the parameter correct.
    Last edited by kaisellgren; 03-26-2009 at 03:20 AM.
    PHP 5 & MySQL 5 (Y)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts