Skip to main content
Solved

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

  • March 11, 2023
  • 1 reply
  • 85 views

BT.Park

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?

Best answer by BT.Park

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.

View original
Did this topic help you find an answer to your question?

1 reply

BT.Park
  • Author
  • Single Emitter
  • 1 reply
  • Answer
  • March 12, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings