ProFoxers, I've started down the road of attempting to create a DLL in C# using VS2019. Here's the problem I'm trying to solve.
I want to retrieve the current orientation value from a JPG. If it exists, I want to rotate the image to that value. Finally I want to set/delete the orientation tag. I found a lovely .Net code sample that describes the problem and appears to do exactly what I want. You can see the source here: <https://www.ryadel.com/en/change-image-orientation-iphone-andor-android-phone-pics-net-c/> Now assuming this code works, the trick is how to get it into a DLL that I can call from VFP. I've created a Helper class project in VS; got it to build the DLL cleanly and that's where I start running into a brick wall. I used a white paper from Doug Hennig as a guideline on how to invoke from a PRG using wwDotNetBridge and InvokeStaticMethod. Sadly all I've been gotten from that call is a NULL. Then I tried to debug using VS and it tells me I can't debug a Helper DLL; I have to add an executable thing-a-ma-jig to the project. (As you can see my VS knowledge is a bit...lacking.) Tips, tricks and tutorial hints gratefully accepted. I'm happy to get more into actual code once I have enough of a foundation to actually discuss this intelligently. 😊 -- rk _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/mn2pr10mb34074617dd0ae748b6c0d78dd2...@mn2pr10mb3407.namprd10.prod.outlook.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

