Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Can't compile Toolkit Pro 24.0.0 with /clr
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can't compile Toolkit Pro 24.0.0 with /clr

 Post Reply Post Reply
Author
Message
PeterP View Drop Down
Newbie
Newbie


Joined: 18 September 2005
Location: Australia
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote PeterP Quote  Post ReplyReply Direct Link To This Post Topic: Can't compile Toolkit Pro 24.0.0 with /clr
    Posted: 03 October 2024 at 3:55am
My Visual C++ application is compiled with /clr as it interfaces with various .Net bits.

Upgrading to Toolkit Pro 24.0.0, I immediately hit this error.
Including Xtreme Toolkit Pro
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\include\concrt.h(30,1): error C1189: #error:  ERROR: Concurrency Runtime is not supported when compiling /clr.

I read in the release notes for 24.0 about various improvements around parallelism.  I guess that is what needs the concurrency runtime.
Is there some way to turn off the concurrency features and enable /clr compilation?

Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (1) Thanks(1)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 04 October 2024 at 4:05am
I ran into the same problem. However, my /clr integration is located to one project, why I could use the XTP_PARALLEL_DISABLE define to remove this support for that particular project.

Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.