|
If you want an application to run without a user being logged in, you need to run it as a service. The previous reply mentions a tool that m,ay assist you in this endeavor.
If it needs to run without a user being logged in, and you have the source code, my advice is to convert it to an actual service.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Search for XYNTService here in CP... it can make any application to start as a service...
Also you can create a service that launch your application.
The best option is to transform the application into a service...
Good luck.
|
|
|
|
|
hello , i am new in c++ and i am learing vs c++ MFC.how can i open MFC project in vs c++ and compile and run and want to view my window what i have wrote.i can anyone explain me detail how can i open MFC project in vs c++ 2005.i want to see my created window.
plz help.
|
|
|
|
|
goutom roy wrote: can anyone explain me detail how can i open MFC project in vs c++ 2005
Look on the File menu for an option like Open Project or something.
Good luck
|
|
|
|
|
look for a file with .sln (solution) extension or a file .vcproj (project) extension.
A Solution may contain a number of projects but a project file contains only one project. Usually there are one project per solution though.
good luck
|
|
|
|
|
hello , i dont understand what u have said.plz i am new in visual studio c++ 2005.i want to open project and add a cpp file to write c++ MFC code.now how can i open MFC project and .cpp file to write my MFC code in visual studio c++ 2005.tell me plz detail such as menu->project->--------like this.
thanks in advance.........
|
|
|
|
|
Does your copy of VS 2005 include documentation?
modified on Wednesday, July 22, 2009 5:17 AM
|
|
|
|
|
i will not read myself i will have u my minions read to me
|
|
|
|
|
There's this new thing available on the internet called google. You can enter search terms and get thousands of possible results, and it only takes about 15 seconds. that's what I did, and I came up with information DIRECTLY from Microsoft.
http://msdn.microsoft.com/en-us/library/ms235422%28VS.80%29.aspx[^]
If you don't have the mental chops necessary to perform *essential* research, maybe programming isn't your best choice of vocations.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
now John, I believe there are new rules about not being so condecending to people lacking in mental chops
Pete
|
|
|
|
|
goutom roy wrote: how can i open MFC project in vs c++
File -> Open -> Project/Solution (Ctrl + Shift + O)
Here I assume you can navigate to the appropriate directory and select either the .sln (Solution File) or the .vcproj (Project File)
goutom roy wrote: compile and run
To compile and run the project you have just opened: Shift + F5 OR Debug -> Start Without Debugging
To compile and run in Debug mode: press F5 OR Debug -> Start Debugging
And To view and work on the window (such as add buttons, sample text boxes, and other control objects) Go to the Resource Tab and look under the Dialog Sub menu.
And as everyone else above has mentioned: GOOD LUCK
|
|
|
|
|
If you have an existing MFC project you want to compile and run, select File, Open, and then Project/Solution. Visual Studio uses solution files (with the extension .sln) and project files (with the extension .vcproj). Navigate to the folder that contains your MFC project. Choose the .sln file it it exists, and the .vcproj file otherwise.
If you want to create an initial project to experiment with, select File, New, Project. In the dialog that opens, choose Visual C++ and then MFC in the tree on the left. In the list on the right, select MFC Application. At the bottom of the dialog, choose a location and a name for your project. You will then see a wizard for choosing the basic features for the application you want to create.
|
|
|
|
|
i have implemented the dfs algo in c++ using recursion but i wish to find all routes from source to destination. any good article or guidelines will helpful..i wish to do it using a link list if possible..!!!
|
|
|
|
|
This entry from wikipedia will probably help you - Depth-first search[^]
It has a python implementation with and without recursion.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Ok so i was testing my chat system by outputting some random messages which i had typed into the code, and i came across this very strange occurance..
I recreated the error with an extremely small command prompt program:-
#include <iostream>
using namespace std;
void main()
{
printf("\n");
printf("!!!!\n");
printf("????\n");
printf("??!\n\n");
printf("Why is this:- |\n\n");
printf("Also here -> ??! <-\n");
printf("\n");
getchar();
}
I swear to god this is not a wind up, it took me ages to find out why a | was appearing where i had typed "??!". Can someone please compile this program and tell me if you get the same thing happening. Im using Visual Studio 2008
Thanks,
Leigh
|
|
|
|
|
swifty666_2000 wrote: I swear to god this is not a wind up, it took me ages to find out why a | was appearing where i had typed "??!".
Search for trigraph.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Oh wow. I've never heard of that before ).
What are they for though? Or is it just some legacy thing?
Thanks very much!
|
|
|
|
|
swifty666_2000 wrote: What are they for though?
Trigraphs, sequences of three characters (introduced by two consecutive question marks), allow C programs to be written using only the ISO Invariant Code Set. You can use them in C source files with a character set that does not contain convenient graphic representations for some punctuation characters.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
|
I've got a problem with sinhronisation of a function which is called from several threads. The function do no use static variables. And there is no connection variables between threads. In debuger the aplication crashes on new or delete operators inside the function. In internet I've read that these operators are already synhronized. Please help me to find solution of the problem.
|
|
|
|
|
Are you using a multi-threaded variant of the C runtime?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I am not realy know what you mean with "multi-threaded variant of the C runtime"? If this is project settings in VC6.0 on page "Code generation", I have for "Use run-time library" defined "Debug Multithreaded DLL" and "Multithreaded DLL" for realize. If I am wrong please tell me in detail what did you mean.
|
|
|
|
|
That's what I meant - so it's obviously not that that's your problem...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I found the problem, there was "static" variables inside functions.
|
|
|
|
|
Hi,
I have built 2 MSI with same configuration. Just rebuilded. When I am comparing those 2 MSIs using MSIPackageDiff, I am getting some of the error in Binary Table.
Can someone explain me what are these changes?
Thanks & Regards,
Swapnil D. Lokhande
|
|
|
|