?
Solved

Want to remove c++ .net dll dependency

Posted on 2003-02-19
4
Medium Priority
?
421 Views
Last Modified: 2008-02-01
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
Comment
Question by:proddev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 6

Expert Comment

by:CarlosMu
ID: 7985213
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
 

Accepted Solution

by:
proddev earned 0 total points
ID: 7990533
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 9645143
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question