Alright PROBLEM SOLVED..there is some problem with .net 4.0. I found this because i searched something on google for my problem, i dont remember the search i did but it returned 2 results!! one of which had a conversation, some VS guy and a user were talking about the problem he faced which was similar to mine. the VS guy agreed that indeed the problem was with 4.0 and that they will rectify the problem. Seems i wasted a lot of time.
manpreet
Best Answer
2 years ago
I have built an application in C# and also built a setup for this application. The application on setup works on all Windows 7 machines but doesnt seem to work on any XP machine.
I shall briefly describe what my application does.
The application plays a swf file on startup. The swf file has 3 buttons with separate functions. Basically on clicking these buttons it has to show certain images which are loaded from sqlite.
The problem is that the application loads the swf correctly, the swf plays completely till the end, then at the end where i have placed 3 buttons the click event does not respond to any button. i am guessing this is a problem with FSCommand and the dlls not getting registered correctly
The dlls that i have added to my setup are
Also the files present are my manifest file and .config file
I tried registering my Dlls manually using RegSrv32 C:\Interop.ShockwaveFlashObject.dll and also C:\AxInterop.ShockwaveFlashObject.dll The error i get is
The code that i am using to display my swf file is as below