I have downloaded http://www.microsoft.com/downloads/details.aspx familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en. To let me redistribute my applications, but I don't understand how to use this. I installed it and I was given no instructions on how to use it.
Please help,
Wilko

What now? - x86
BigBro
Yes.
That is unless you want to rewrite your entire app from scratch, avoiding the use of CLR whenever you're tempted to use it. For C++ Express this pretty much means you'll have to ditch the entire user interface and resort to the command line only. I don't know about you, but I'd rather ask the user to download/install the .NET framework than lose the ability to create a user interface.
nokushi0
UnKnown Nick
GenericName1
If you are using .NET you have to install the .NET Framework 2.0.
If you are not using .NET you can linka the CRT statically, than you can execute the exe as it is.
macupryk
selotz
I am using .NET I think.
And what do you mean by install in to their machine
DogCatFish
Well i would like to know how to now make it so my program standsalone which was the whole point of getting it.
I thought that it would enable me to make me exe work on a pc without c++ and all of the dlls.
How would I do this
Charlie Babbage
andyywu
JoseMiguel
In Visual Studio, open your project properties -> Configuration Properties -> General -> Common Language Runtime Support. If it contains "/clr", then you are using .NET.
Alternatively, you can pass your executable through a command prompt (assumes your app is called yourapp.exe):
C:\>type C:\apps\yourapp.exe|findstr MSCOREE
if all you get is "Line 7 too long", then it's not a .NET app. If you get something else, with a long line that contains "MSCOREE" and a bunch of '.'s in it, then it probably is a .NET.
lvandiest
Then I tried the other method and here is a screenshot of what it shows at http://www.ociax.com/images/vcpp.gif
LuckyStarfo
I tried one method and got the below
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
E:\Documents and Settings\Wilko>c;\/
'c' is not recognized as an internal or external command,
operable program or batch file.
E:\Documents and Settings\Wilko>c
'c' is not recognized as an internal or external command,
operable program or batch file.
E:\Documents and Settings\Wilko>C:
C:\>C;
'C' is not recognized as an internal or external command,
operable program or batch file.
C:\>C:/app/cmb.exe|findstr MSCOREE
'C:' is not recognized as an internal or external command,
operable program or batch file.
C:\>C:\app\cmb.exe|findstr mscoree
C:\>type C:\app\cmb.exe|findstr MSCOREE
FINDSTR: Line 248 is too long.
FINDSTR: Line 250 is too long.
FINDSTR: Line 250 is too long.
FINDSTR: Line 250 is too long.
FINDSTR: Line 250 is too long.
FINDSTR: Line 250 is too long.
FINDSTR: Line 250 is too long.
UnmanagedCode.u7..CaSystem.Security.Permissions.SecurityPermissionAttribute, msc
UnmanagedCode.CaSystem.Security.Permissions.SecurityPermissionAttribute, mscorli
b, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..T..SkipVer
ification...Pu..........fu...0......................Xu........_CorExeMain.MSCORE
E.DLL...RSDS£!e.%▌c@¢╜J$x╟ |....e:\documents and settings\wilko\my documents\vis
ual studio 2005\projects\cmb base\release\CMB Base.pdb..........................
........(..C....H..C....`..C....................x..C....E..C....................
..C.......................C................ ...╪................... ...Φ....
............... ...°................... ........i..Φ...Σ........n..(...Σ.......(
N.."...Σ.......LN..R...Σ.......(... ...@...........C.........................C..
C...CC.C...C.C.CC..CCC....... .. ... . ... . . .. ..........................
........................................wwwwwwwwwwwwwwp.DDDDDDDDDDDDDDp.
p. p. p. p. p.
p. p. p. p. p.
p. p. p. p. p.
p. p. p.eeeeeeeeeeeeeap.DDDDDDDDDDDDDDp.LLLLLLLL
LN..Itp.................DDDDDDDDDDDDD@..........................................
....... ....C...C...C...C...C...C...C...C...C...C...C...C...C...C
...C...C...C...C...C...C...C...C...C....... (....... ................
.....................C..C...CC.C...C.C.CC..CCC....... .. ... . ... . . .. ..
........wwwwwwwDDDDDDDGO °GO °GO °GO °GO °GO °GO °GO
°GHeeeeeeGL......G.DDDDDD................. ..C............................
....................... .. ........ ......Φ.............(.....PA<assembly xml
ns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
C:\>
Artyom
Run it on the other user's machine. Once done, your app should now work on the other person's machine.
Question: are you using .NET/CLR
Rajaraman Soundararajan
In the native world you can link the CRT and MFC (if you use it) staticaly. In this case you just copy the exe file.