c# - Error: An unhandled exception of type 'System.BadImageFormatException' occurred in System.Windows.Forms.dll -
i trying capture frames video stream , trying use aforge library purpose. when try call of api's of library project gives me above error.
my research shows due using 32 bit windows dll on x64 or vice-versa.but have not been able find out aforge library package 64 bit windows. using x64 windows7. links or suggestions can me resolve error appreciated.
i thank every 1 contruibution..following steps solved issue...this link worked
created new solution added existing projects place appropriate config file near exe, , fill with:
<?xml version="1.0"?> <configuration> <startup uselegacyv2runtimeactivationpolicy="true"> <supportedruntime version="v4.0" sku=".netframework,version=v4.0"/> </startup> </configuration>
might well..
Comments
Post a Comment