RE: Fun with .Net DLLs

2023-04-05 Thread Richard Kaye
, April 5, 2023 3:39 PM To: profoxt...@leafe.com Subject: Re: Fun with .Net DLLs NP. I don't know if you can do that from VFP because I have no experience in it. There is a free tool from M$ called VS Code that works on everything and works everywhere. I found this and you can add in the abili

Re: Fun with .Net DLLs

2023-04-05 Thread Virgil Bierschwale
t; progress is glacial… > > > > -- > > > > rk > > > > From: ProfoxTech On Behalf Of Stephen > > Russell > > Sent: Wednesday, April 5, 2023 10:21 AM > > To: profoxt...@leafe.com > > Subject: Re: Fun with .Net DLLs > > > > What

Re: Fun with .Net DLLs

2023-04-05 Thread Stephen Russell
gt; progress is glacial… > > -- > > rk > > From: ProfoxTech On Behalf Of Stephen > Russell > Sent: Wednesday, April 5, 2023 10:21 AM > To: profoxt...@leafe.com > Subject: Re: Fun with .Net DLLs > > What are you expecting in the debug/test? In my mind, I'd ma

RE: Fun with .Net DLLs

2023-04-05 Thread Richard Kaye
, April 5, 2023 10:21 AM To: profoxt...@leafe.com Subject: Re: Fun with .Net DLLs What are you expecting in the debug/test? In my mind, I'd make a console app and reference this picture dll you made. That console will act like VFP in the pass something to the DLL and receive the output in some w

Re: Fun with .Net DLLs

2023-04-05 Thread Stephen Russell
From: ProfoxTech On Behalf Of Darren > Sent: Tuesday, April 4, 2023 10:53 PM > To: profoxt...@leafe.com > Subject: RE: Fun with .Net DLLs > > Richard it is relatively simple. > > Done it many times but not for a while - I'll hunt down my notes and get > something to you

Re: Fun with .Net DLLs

2023-04-05 Thread Alan Bourke
On Wed, 5 Apr 2023, at 1:15 PM, Richard Kaye wrote: > Apparently because the solution is a "Helper" class library, > direct debugging is not possible. How you test it is to add another class library project to the solution. Then install the NUnit package (or MSTest, or one of the others). Creat

RE: Fun with .Net DLLs

2023-04-05 Thread Richard Kaye
rk From: ProfoxTech On Behalf Of Darren Sent: Tuesday, April 4, 2023 10:53 PM To: profoxt...@leafe.com Subject: RE: Fun with .Net DLLs Richard it is relatively simple. Done it many times but not for a while - I'll hunt down my notes and get something to you. Essentially it is making the .Net as

RE: Fun with .Net DLLs

2023-04-04 Thread Darren
ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Richard Kaye Sent: Wednesday, 5 April 2023 1:37 AM To: profoxt...@leafe.com Subject: RE: Fun with .Net DLLs Thanks, Alan, much appreciated. I was just going through the various build options. The 32 bit thing will be a the top of the che

RE: Fun with .Net DLLs

2023-04-04 Thread Richard Kaye
at but I'm just at the beginning of this journey. -- rk From: ProfoxTech On Behalf Of Alan Bourke Sent: Tuesday, April 4, 2023 10:36 AM To: profoxt...@leafe.com Subject: Re: Fun with .Net DLLs Richard I assume you created a project of type 'Class Library'. No you can't deb

Re: Fun with .Net DLLs

2023-04-04 Thread Alan Bourke
Richard I assume you created a project of type 'Class Library'. No you can't debug those, you need to host it in some other sort of exectuable project. To debug that you either need to add another project of a type that is executable to your solution (like a Windows Forms, WPF or Console applica

Fun with .Net DLLs

2023-04-04 Thread Richard Kaye
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.