Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

My program is windows forms application with swf inside it. I have such c# code:

string invokeXmlString = "<invoke name=\"" + methodName + "\" returntype=\"xml\"><arguments><string>" +
response + "</string></arguments></invoke>";
if ( !string.IsNullOrEmpty( this.FlashApplication.Movie ) )
{
   this.FlashApplication.CallFunction(invokeXmlString);
}

And I'm getting System.AccessViolationException on this line:

if ( !string.IsNullOrEmpty( this.FlashApplication.Movie ) )

Can someone help me with solving this issue? Or at least pointing me where can I find solution to this.

Thanks in advance!

share|improve this question
    
remove the if part and try , string.IsNullOrEmpty shouldn't give that error. –  Rameez Ahmed Sayad Jul 12 '13 at 12:59
    
ok, I'll try that, thanks for help! but why is this happening? –  jfgi Jul 15 '13 at 7:36
    
The flash file might be having restrictions for IIS user. –  Rameez Ahmed Sayad Jul 16 '13 at 6:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.