|
I guess (I'm not an expert) going from Win32 to Windows Forms is far easier than the opposite.
GDI+ is rather user-friendly, in my opinion.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
I second you.
C++ GDI+ and C# GDI+ are very similar, one-to-one function replacement. I ported my Outline Text from C++ to C# in one day.
|
|
|
|
|
My tip: do not.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
I concur. If you must redo this demo as a C# application, write it from the ground up in C#. You'll end up with a more efficient application than if you do a straight conversion.
|
|
|
|
|
yes, I plan to go through the code and understand the logic, then rewrite it...
diligent hands rule....
|
|
|
|
|
What's it written in now?
Or, do you wish this to be a web app and hence C#?
|
|
|
|
|
Win32, written in C++. would like to convert it into C# WinApp to play around with the algorithms in it,,,
diligent hands rule....
|
|
|
|
|
Depends on the language the original was written in as well as how well-structured it is.
I would go about this by first and foremost separating business logic from plumbing. Then, by mapping the APIs used in the business logic part to .NET parts. While P/Invoking them is certainly feasible, that's only advised if the goal is defined as sticking as close as possible to the original and/or there's no corresponding .NET APIs.
|
|
|
|
|
thanks for you great experience!
diligent hands rule....
|
|
|
|
|
Not sure how we can answer that without knowing what language is it written in now?
|
|
|
|
|
Win32, written in C++.
diligent hands rule....
|
|
|
|
|
Ctrl+C Ctrl+V then start fixing the compiler errors.
Converted an ancient app to C#. The biggest problem was changing all the 1 based indexes to 0 based.
Wrote unit tests in both languages to ensure consistent behavior.
|
|
|
|
|
Repaired, uninstalled, re-installed, removed my main account, added it again, nothing worked.
And then I did some mystery move which fixed my Outlook problems.
Been at it for two hours now after these issues started yesterday... (didn't even know I had them until the end of the morning, maybe I've had them on Monday already!)
Let's just hope this'll be the last of it
|
|
|
|
|
Hope you used the MiniBug issue tracker to track all these issues
|
|
|
|
|
|
Has really unchecking the "Screw up randomly" box worked?!?!?!
WOW!
Glad you have it sorted out again.
|
|
|
|
|
Shouldn't be running MS-DOS anyway 😁
Paul Sanders.
Not that the story need be long, but it will take a long while to make it short - Henry David Thoreau
Some of my best work is in the undo buffer.
|
|
|
|
|
Piece of #$@#%^!@# Outlook!
Since yesterday I'm suddenly not receiving any emails nor is it sending any except on startup.
Even then, when I have a new email and I read it, it won't actually show up as read.
Manually clicking "Send/Receive All Folders" does absolutely nothing.
This happens for all my email accounts (I've had a similar issue about two months back, but that was just on my main email account).
Outlook doesn't close when I close it either, have to kill it using the task manager.
How can an application whose sole purpose is receiving, reading and sending emails suddenly not do any of those things!?
|
|
|
|
|
First check if your account still works (mine got cancelled because I traveled to Italy last year and someone in Microsoft thought I must be a hacker trying to access my mail).
Try to update office or even reinstalling it.
If you use IMAP, you can install Thunderbird, it's ugly, but it works... While your Outlook don't want to work, at least you can rely on this one.
Hope this helps, though I am sure you've already thought on doing that.
|
|
|
|
|
Tried running the installer again.
It now sends mail, but still doesn't receive it
I really only have one option: Fix it.
I'm still getting emails on my phone so I can restart Outlook when I see something on my phone and get the email, reply, restart again to send...
At least I'm not missing anything, but it's very strange behavior
|
|
|
|
|
Office 365? or the normal program without extra cloud services?
Check this: Repair an Office application[^] Maybe it helps you.
Otherwise, you could try activating the insider version (to force update the app).
Or, in case it's the 365 flavour you could call them to get tech support, though the first thing they require is to try the app in the first link I sent you.
Hope this helps.
|
|
|
|
|
Used the repair tool, uninstalled everything, but the same issue persists
I really don't trust tech support, that will take weeks and ultimately, I'll have to fix it myself.
No errors in the event viewer either.
How the is this even possible!?
|
|
|
|
|
agreeing with the idea of moving to Thunderbird. You can still use your phone and let Thunderbird manage desktop email.
To err is human to really elephant it up you need a computer
|
|
|
|
|
I'm an all Microsoft shop, can't really not use it
|
|
|
|
|
Is your webhost hosting your mail server?
Look up your MX records using the following:
https://www.whatsmydns.net/[^]
Set the drop list to MX (mail records) and then type in your mail host name.
You may see (as a friend of mine did) that the MX records are not registered quite properly and you don't get email and you get weird sending.
Here's a sample link with my host & email records[^].
|
|
|
|