TheSwamp

Code Red => .NET => ACAD with .NET8+ => Topic started by: It's Alive! on February 03, 2024, 07:10:45 PM

Title: How’s the migration going?
Post by: It's Alive! on February 03, 2024, 07:10:45 PM
I only have one C# project out there in the wild.
Thinking about porting it to C++. Have you tried any COM components?
Title: Re: How’s the migration going?
Post by: kdub_nz on February 03, 2024, 07:12:22 PM
Nope ;-)
Title: Re: How’s the migration going?
Post by: It's Alive! on February 03, 2024, 08:46:07 PM
I have an etransmit events watcher written C# and COM. I hate COM in C++ so I wrote it in C#.
Guess I should try porting first
Title: Re: How’s the migration going?
Post by: kdub_nz on February 03, 2024, 09:20:15 PM
I've been warned that if I continue to critisize  [indicate the faults of (someone or something) in a disapproving way.] VB in public I'll get a severe talking to.

I assume the same applies for COM.

though the dynamic keyword in C# makes it a little easier.

Will be interesting how it handles nullable values   :|
Title: Re: How’s the migration going?
Post by: It's Alive! on February 03, 2024, 11:14:25 PM
IKR, unfortunately I use TransmittalAddFileNotificationHandler, which is ActiveX only
Pretty painless though,  I had to manually add these to prevent VS adding subfolders to the output path.

<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>