フォーラム: OpenMIDIProject forum (スレッド #38839)

Compiled Sekaiju with VS2015 Community :-) (2017-08-11 20:48 by sig-ex #80165)

Just playing around...

Unlike earlier Express editions, the community editions actually have MFC in them.
There are many warnings, and I have to make little modifications on the code. Also download the other MIDIxxx. libraries.

Particularly, I have to modify SekaijuToolBar.cpp. Visual Studio also did some automatic upgrades to the new version.

afxThemeHelper.h seems to be not included in the current VS Community editions. So I removed its #include line.

The methods in CThemeHelper that rely on afxThemeHelper have similar equivalents in uxtheme.h, so I just deleted "CThemeHelper::" in a few lines, to the supposedlly call the ones from uxthemehelper. Of course, I don't know if these replacement functions have identical behaviour. But at least, they don't give compiler errors anymore.

There's also an issue with "ON_NOTIFY_REFLECT ", but it appears this can be ignored as discussed here

https://social.msdn.microsoft.com/Forums/vstudio/en-US/7a012ba0-dad8-4644-810f-68f2ff94572f/vs-2015-c-compile-error-extra-text-after-expected-end-of-number?forum=vcgeneral

Apparently there's no problem with Japanese fonts, unlike when I tried a long time ago with an earlier VS version (possibly Express). It could also be due to my PC settings allowing Japanese fonts.

I still have to copy some DLLs from the current Sekaiju to make the newly compiled one run. These seems to be the language/localization DLLs.

Kuzu,

I'm not a C++ expert (yet :-P), but I think you would apperciate the recent VS community editions. Intellisense makes a lot of things easier.

I also hope more people might help in the amazing Sekaiju project, if using a compiler that is now free for everyone.

Cheers!

メッセージ #80165 への返信×

ログインしていません。投稿を区別するために投稿者のニックネームをつけてください(ニックネームの一意性は保証されません。全く別の人も同じ名前を利用することが可能ですので本人であることの特定には利用できません。本人であることを保証したい場合にはログインして投稿を行なってください)。 ログインする

Re: Compiled Sekaiju with VS2015 Community :-) (2017-08-13 18:26 by kuzu #80170)

Thank you for using Sekaiju.

Now I'm considering Sekaiju to move from VS2008 standard edition to VS2015 (or later) community edition in the future's version because perhaps Windows10 will not support VS2008 and VS2015's MFC is pay for free. Then, your writing and reserching will help me so much to move smoothly. Thank you for testing and writing a lot of information. When I moved Sekaiju from VC4.0++ to VS2008, it took for over one year. MFC's undocumented class was diffrent in each version, especially around theme and printing.

But, in Japan, company is very very hard, which is known as "karoshi". I've been exhausted, these day's I have no holiday, so I don't have enough time to improve Sekaiju. At now, only bug fix and small update will be done. Please don't expect so much. But someday I'll make VS2015 version.
#80165 への返信

メッセージ #80170 への返信×

ログインしていません。投稿を区別するために投稿者のニックネームをつけてください(ニックネームの一意性は保証されません。全く別の人も同じ名前を利用することが可能ですので本人であることの特定には利用できません。本人であることを保証したい場合にはログインして投稿を行なってください)。 ログインする

Re: Compiled Sekaiju with VS2015 Community :-) (2017-08-14 18:22 by sig-ex #80172)

You're welcome Kuzu and thanks to you for making Sekaiju in the first place! :-D

I just tried copying the VS2015 project to another machine with VS2017 Community and it also compiled. But first VS 2017 asked to install extra SDKs (since I made a custom minimal install when I first installed VS2017 in that PC) and to "retarget" the project.

I'm actually more of a C# programmer, so I didn't plan to develop native Win32/MFC programs at first. But I'm starting to learn C++ development, due to C# limitations. Also I might still prefrer VS2015 over VS2017 since many third party library makers still don't fully support VS2017. But that might not be a problem with Sekaiju since it doesn't seem to rely too much on other third party components.

There are 83 warnings in VS2017, that had to do with unsafe C++ functions and functions that will eventually be depreciated. This was VS2017 community on a Windows 10 machine. The earlier one was V2015 community on a Windows 7 machine.

Well, I hope Microsoft will not abandon Win32/MFC in favor of "universal" apps. There's just so much to lose from the already existing great Win32 programs, like Sekaiju.

I hope your situation soon improves from your current karoshi situation.

Cheers

[Reply To Message #80170]
> Thank you for using Sekaiju.
>
> Now I'm considering Sekaiju to move from VS2008 standard edition to VS2015 (or later) community edition in the future's version because perhaps Windows10 will not support VS2008 and VS2015's MFC is pay for free. Then, your writing and reserching will help me so much to move smoothly. Thank you for testing and writing a lot of information. When I moved Sekaiju from VC4.0++ to VS2008, it took for over one year. MFC's undocumented class was diffrent in each version, especially around theme and printing.
>
> But, in Japan, company is very very hard, which is known as "karoshi". I've been exhausted, these day's I have no holiday, so I don't have enough time to improve Sekaiju. At now, only bug fix and small update will be done. Please don't expect so much. But someday I'll make VS2015 version.
#80170 への返信

メッセージ #80172 への返信×

ログインしていません。投稿を区別するために投稿者のニックネームをつけてください(ニックネームの一意性は保証されません。全く別の人も同じ名前を利用することが可能ですので本人であることの特定には利用できません。本人であることを保証したい場合にはログインして投稿を行なってください)。 ログインする