• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 431
  • Last Modified:

Want to remove c++ .net dll dependency

I have a c++ dll that won't run under Win98.  I ran Depends.exe.  The files listed as dependencies are:

-  kernel32.dll
-  ntdll.dll
-  user32.dll
-  gdi32.dll
-  msvcr70.dll

I've been told that the msvcr70.dll dependency is related to my use of the .net compiler and that that is the probable cause of the dll not being able to run under Win98.

My question is this:  How do I remove the dependency on msvcr70.dll within c++.net?  Do I need to re-install c++ v6 to remove the dependency?

Thanks.
0
proddev
Asked:
proddev
1 Solution
 
CarlosMuCommented:
You cant remove the dependency on msvcr70.dll from a c++.net.  But you can compiled it on c++.v6.  You mention reintaling v6.  You did not had to remove studio 6 in order to install net.  The can coexist.  Unfotunately it seems that you have already done so.  I understand that it is not recomended that you install studio 6 after studio net. The other way around has no problems.

Do you have another machine, maybe a friend can loan a machine where you can install studio 6 and compile it there.  I know that this does not help much. But I dont see another solution
0
 
proddevAuthor Commented:
Actually, I just solved my own problem.  It IS possible to remove the dependency on msvcr70.dll.  What I did was to set the configuration property labeled "Minimize CRT Use in ATL" to "Yes" and that removed msvcr70.dll from the list of dependencies when I ran depends.exe.
0
 
Bob LearnedCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ/Refund

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now