|
You would need atleast the framework for .NET to be installed if not the Visual Studio if you are using .NET API's.
You will need a installer project where you can include all the files that are to be copied on to the target machine and specify the desired locations where installation should put your files.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Please don't start a new thread when you answer a question from somebody.
shaina2231 wrote: like in my visual c++ project i m using different header files that need to be placed in include directory of visual studio so how to run application in any system (where visual studio is not installed)
If you will distribute an executable, you don't need to distribute header files.
|
|
|
|
|
Its easy..Just you need to install the VC++ Redistributables (a zip file that contains the collection of neeeded dlls) into the target system. These dlls are the runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008 installed. You can download it from MS site...
Regards,
Rane
|
|
|
|
|
Why do you reply to me ?
Anyway, it's not that easy anymore. This was valid for VC6 but for VC2005 you can't do it this way. You have to install the runtime libraries using a specific installer that can be found on microsoft website (here[^]). It is the case for VC2005, I don't know for 2008 though.
Woops, I think I misread your post. Sorry about that.
|
|
|
|
|
True..I really meant that installer(mentioned by you) available in the MS site.. Oops sorry to reply you on that thread... The Redistributable pacakage is available for visual studio 2008 also...It is available here[^]">
Regrads,
Rane
|
|
|
|
|
i want to run my visual c++ project in any system using sw installation even if there is no visual studio already installed ..so how can i do that???
|
|
|
|
|
You mean you want to make an installer for your program ? If that's the case, take a look at InnoSetup[^] (it's free). Don't forget to distribute the release versions of your programs.
|
|
|
|
|
Source code or executable ??
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
|
Its easy..Just you need to install the VC++ Redistributables (a zip file that contains the collection of neeeded dlls) into the target system. These dlls are the runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008 installed. You can download it from MS site...
Regards,
Rane
|
|
|
|
|
I hope you replied for shaina2231's question.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
Hi everybody,
how can i send sms via pocket pc with mfc code?
can you please give some idea?
thanks.
paulraj
|
|
|
|
|
U explain more briefly. i have not got it.
efhghgfffhf
|
|
|
|
|
thanks for ur reply.
i have to send/receive sms(short message service) in my application from my pocket pc phone by programmetically...(using mfc).
i am using windows mobile6.0.
thanks.
paulraj
|
|
|
|
|
|
I have a vector of millions of points that I have to sort based on their distance from the camera, in order to do that i created the following simple function object:
class PointSorter
{
public:
PointSorter()
{
points = NULL;
}
PointSorter(const PointSorter& other)
{
points = other.points;
printf("object copied");
}
PointSorter(std::vector<vl::fvec3 xmlns:vl="#unknown">* pvec==NULL)
{
points = pvec;
}
bool operator()(const unsigned int&a, const unsigned int&b)
{
return (*points)[a].z() < (*points)[b].z();
}
std::vector<vl::fvec3>* points;
};
</vl::fvec3></vl::fvec3>
then later on I do a simple
PointSorter sorter(&mypoints);
std::sort( indices.begin(), indices.end(), sorter );
</int>
this sorts the indices of my points well, the only concern is that I discovered that the object "sorter" is being copied all the time during std::sort, this shurely impact negatively the sorting performance which is already quite poor for millions of points since I have to achieve interactive frame rates for my 3d program.
Does anyone know how to pass a custom sorter object (which is not a static function) that is copied once and used all the way throughout the sorting?
Regards,
Michele
|
|
|
|
|
what about you change the code of std::sort make it use the 3th parameters pass by reference?
|
|
|
|
|
hi all,
i have one issue about how to get the boot volume drive letter in the vista and win2k8,
i need to got this letter and verify if the system info is in safe states.
i knew if i use the WMI can fix this, but the WMI take lots of time
thanks for your help
DraculaW
|
|
|
|
|
Hi all,
I m using CDateTimeCtrl.
i m try this::
CDateTimCtrl m_time;
m_time.SetFormat(" ");//in OnInitDialog();
but its not working.
how can i show blank CDateTimeCtrl?
please help me for this.
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
See here[^]
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Thanks sir its done.
but now tabstop is not working here and this control not get focus.
please help me for this.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Hello,
I am currently writing an application that is started by another process using the OpenProcess function. After this application is done, it calls TerminateProcess, which instantly closes my application.
Before my application exits, I still have to do some things, so my first question is: how can I handle the TerminateProcess call in my application, do I get a message? How do I know insinde my application that TerminateProcess has been called?
The second one: is there a better way to exit my application automatically than calling TerminateProcess?
|
|
|
|
|
Send WM_CLOSE Message to ur window
Get Handle of window with FindWindow
And Handle OnClose in Your application.
|
|
|
|
|
To expand on the other answer you got ... If your app does not have a message queue (i.e. it cannot receive a WM_CLOSE), you'll need to use some sort of signaling mechanism like a named event that can be accessed across process boundaries. You've discovered why TerminateProcess should be avoided at all costs - it leaves things in a very messy state.
Judy
|
|
|
|
|
Hey dudes! I am using VS 2005 and doing work in Visual C++ windows Applications. I am facing a prob that i have a class in which my data members are char * but when i get data from text box or edit box it is in the form of String. But i have to convert it into char*. How can i do it??
I got how to convert char * to string by COnvert::ToString(char*).
And other one problem is that when i add a class, when i add data member as String or String^ it didn't allow me. To do it which header file Should i include??
|
|
|
|