Solved

I tried to create a dll file by compiling grin.c, but Windows SDK 7.1. was not installed.

  • 11 March 2023
  • 1 reply
  • 49 views

hello,

I want to compile DLL

https://support.zemax.com/hc/en-us/articles/1500005577602-How-to-compile-a-User-Defined-DLL

but, I couldn’t download and install window SDK 7.1.

https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=8279

There is a message that
"this feature is disabled because required .net 4 framework is not installed"

as the result

 ".NET Development" cannot be selected. when i proceed without selecting it, "Installation Failed" will be appeared. Have you ever solved a problem like this?

icon

Best answer by BT.Park 12 March 2023, 07:01

View original

1 reply

I deleted and reinstalled the visual studio and the problem was solved. I used visual studio 2022 in a window 10 environment, and when I followed this link, the compilation was completed successfully.

https://support.zemax.com/hc/en-us/articles/1500005577602-How-to-compile-a-User-Defined-DLL

I knew I didn't have to install the .net4 framework.

Reply