Re: Making dlls: was Re: Easy install of Visual Studio 2010 Express Editions, and a call for evaluations

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Mon, 21 Feb 2011 09:14:46 -0500

I do not know C or C++ and have no personal experience with this, but based on Google searches, it appears that the Visual Studio C++ 2010 Express command-line compiler can create 32-bit DLLs. To create 64-bit DLLs, the latest Windows SDK is also needed, combined with knowledge of environment variables and command-line parameters. The following articles were informative (note that long URLs may wrap):


Compiling into 64 bit DLLs with Microsoft VC++ 2010 Express -
http://social.msdn.microsoft.com/Forums/en/vclanguage/thread/60ec5033-4241-46a1-85d5-8458bc0d3f86

Can't build a 64-bit project with Visual C++ 2010 Express -
http://social.msdn.microsoft.com/Forums/en/Vsexpressvc/thread/4ce313a3-cb5f-43fc-bbb9-50233f8ed11b

Build settings in the VC++ GUI, and the command-line tools == madness! LOL :-) -
http://social.msdn.microsoft.com/Forums/eu/vclanguage/thread/57abe9f3-9c91-4ca8-b7c6-d06bbb94b414

Jamal

On 2/20/2011 8:55 PM, John J. Boyer wrote:
Thanks for the reassurance about cl.exe. Now how about making dlls at
the command line.

The situation is this: The work is actually for liblouis and
liblouisutdl, which will be used as native libraries in the Java-encoded
BrailleBlaster project. We have been trying to use MinGW-msys, but it
has been very troublesome. I want to explore the Microsoft compilers as
an alternate. I will have a directory containing a bunch of C modules. I
want to combine them into a dll. What additional files do I have to
create? What should be in the nmake file? Can I specify 32 or 64 bit
compilation?

John
On Sun, Feb 20, 2011 at 08:00:26PM -0500, Jamal Mazrui wrote:
John,
I think installing Microsoft Visual C++ 2010 Express Edition will
install the command-line compiler at this location by default:

c:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.exe

Jamal

On 2/20/2011 6:44 PM, John J. Boyer wrote:
Jamal,

Please refresh my memory. Does Visual C++ Express have command line cl,
nmake and so on? Is there documentation on making a dll?

Thanks,
John

On Sun, Feb 20, 2011 at 02:30:16PM -0500, Jamal Mazrui wrote:
Due to the serious accessibility problems of the web page for
downloading Express Editions of Visual Studio 2010, I have now posted
the installers for Visual Basic, Visual C#, and Visual C++ on my web
site.  The Visual Web product is not included here because it involves
more extensive pre-installation requirements.  These installers retrieve
software directly from the Microsoft web site, so one obtains the same
components either way.

Visual Basic
http://EmpowermentZone.com/vb_web.exe

Visual C#
http://EmpowermentZone.com/vcs_web.exe

Visual C++
http://EmpowermentZone.com/vc_web.exe

These installers assume that version 4 of the .NET Framework is
installed. One way of installing it is via the GotNET utility, available
at
http://EmpowermentZone.com/netsetup.exe

After installing a VS Express Edition, go to the Register dialog off the
Help menu and choose the button to get a registration key online.  After
signing into this Microsoft site, you can get a key from a resulting web
page or email message.  Copy and paste that key into the registration
dialog.

Let me suggest that this is a particularly good time for evaluating how
well different screen readers work with Visual Studio, and reporting
those observations.  The latest JAWS, NVDA, and Window-Eyes versions are
all claiming VS support.  If we find that a screen reader works better
than others in particular ways, the developers of competing screen
readers may be motivated to address their weaknesses so that they can
distinguish themselves as offering the best -- or at least equivalent --
VS support.

Jamal
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: