Touseefelahi / GigeVision

Simple GigeVision implementation, GVSP, GVCP protocol implemented
97 stars 31 forks source link

Why net5.0 #74

Closed YorkWong1995 closed 11 months ago

YorkWong1995 commented 1 year ago

hi, recently i wanna use QT to call gigevision's function, so i use a CLR program wrapped C# dll. however, VS2019 CLR dll project (face to .netframework) do not support .net5.0 because 5.0 is not LTS version And CLR dll project(face to .net core) can't be used by QT So i am wondering why use a not LTS version and can i use .net 4.5+ to run this project?

Touseefelahi commented 1 year ago

There is a branch that will work for net4.8. Check if it works for you. Btw there would be some changes to make it work for older version. Kindly, update me with the result.Sent from my iPhoneOn 16 Sep 2022, at 2:21 PM, YorkWong1995 @.***> wrote: hi, recently i wanna use QT to call gigevision's function, so i use a CLR program wrapped C# dll. however, VS2019 CLR dll project (face to .netframework) do not support .net5.0 because 5.0 is not LTS version And CLR dll project(face to .net core) can't be used by QT So i am wondering why use a not LTS version and can i use .net 4.5+ to run this project?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Touseefelahi commented 1 year ago

https://github.com/Touseefelahi/GigeVision/tree/4.8FrameworkCompatible

YorkWong1995 commented 1 year ago

I used the 4.8framework branch and it works for me, but there is a little problem When it displays at ImageControl. It displays three reduced images above the form. I am trying to find reasons now abnormal_image

here is the custom control in GigeVisonLibray.Test.Wpf

Touseefelahi commented 1 year ago

@YorkWong1995 it's is because of the display control, try changing the property IsColored to true and false and check the result.

YorkWong1995 commented 1 year ago

OK. it solved! thanks so much