How to change Visual C++ 6.0 project type?

X

xhm

Hi:

I am trying to practice Visual C++ 6.0 DLL coding, but I had selected
a wrong project type in the beginning and have completed coding, and
found errors during linking. In stead of a DLL project type, I
selected console application incorrectly. Can anyone tell me how to
change the project type in Visual C++ 6.0?

Thanks a lot.
 
X

xhm

Recreate the project, however you should get a proper C++ compiler, VC6 is
well broken and the express version of latest VC++ is free.

/Leigh

Thanks a lot for the help, Leigh.

I am considering just changing the project type (instead of recreating
a new project) if possible, because sometimes I may have big project
that I may select wrong. I have tried several places in the Visual C+
+, like, from menu 'project->setting', or right click on the project
name and select 'property' but didn't find the way to change it.

Thanks for the information on VC express too. I will try that.
 
X

xhm

Recreate the project, however you should get a proper C++ compiler, VC6 is
well broken and the express version of latest VC++ is free.

/Leigh

Leigh, I just googled visual studio express. There are some versions,
like 2010 trail version is free (but the non-trail one may not be free
I am afraid), and there are 2008 version. Can you tell me which
version is the one you recommended?

Thanks.

xhm
 
X

xhm

I purchased VS2008 professional (which is good) but have not used the
express versions but they have to be better than the old and broken VC6.
Lots of people seem to recommend the VC++ express if you cannot afford to
buy the full version.

/Leigh

Thanks Leigh. I will try VC++ express 2008.
 
B

Bo Persson

xhm said:
Thanks Leigh. I will try VC++ express 2008.

Do that for a starter. If you are using any MFC in your code, you will
have to get a Standard Edition upgrade, which is not free but not too
expensive either.

The 2010 version is still in Beta, and will not be released for
another couple of months.



Bo Persson
 
B

BGB / cr88192

Andy Champ said:
I think you'll find it will open your VC6 project and upgrade it. You
can then create your new DLL project in the same solution and drag the
files across. No typing. So less errerrs :)

personally, I prefer Makefiles...


partial reason:
one would not have to add all of them to a project, or fiddle with and
possibly have to re-add them later, ...
all this can matter some if their file-count happens to be well into the
thousands (as can happen in projects in the Mloc range...).

then again, maybe MS has addressed the issues of Mloc projects in VS, but I
have not personally had enough reason to use it to check...
 
J

John H.

I am trying to practice Visual C++ 6.0 DLL coding, but I had selected
a wrong project type in the beginning and have completed coding, and
found errors during linking. In stead of a DLL project type, I
selected console application incorrectly. Can anyone tell me how to
change the project type in Visual C++ 6.0?

I would agree that the easiest approach is to create a new project and
add in the files.
You might be able to hack it out the other way though. One thing you
will probably need to do is in Project > Settings > Link > General
add /dll to the end of the Project Options edit. To be thorough about
it, I suggest creating an empty console project, an empty dll project,
diff the two .dsp files and apply the differences to your project.

For future reference, this kind of question might be better asked in a
group like microsoft.public.vc.ide_general.
 
L

Larry

I suggest creating an empty console project, an empty dll project,
diff the two .dsp files and apply the differences to your project.

Can DLL project be created with VC++ EE??

thanks
 
B

Balog Pal

Larry said:
Can DLL project be created with VC++ EE??

Yes. It can build anything. Though it does not include the frameworks (MFC,
ATL).
A year ago the Professional edition was available for 90 day trial, that is
the complete thing with all the stuff imaginable, not sure if MS revoked it
due to the next version's arrival.

There are also other editions, check the comparision chart on the webpage.
 
X

xhm

Yes. It can build anything. Though it does not include the frameworks (MFC,
ATL).
A year ago the Professional edition was available for 90 day trial, that is
the complete thing with all the stuff imaginable, not sure if MS revoked it
due to the next version's arrival.

There are also other editions, check the comparision chart on the webpage..

Thanks everyone's warmful help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,961
Messages
2,570,131
Members
46,689
Latest member
liammiller

Latest Threads

Top