|
Thanks.
I just post detailed info in the thread above.
I also think something I did was wrong, and would appreciate if anyone can guide me to identify it.
Thanks
Developer
|
|
|
|
|
Hi,
Copy Tool.lib to your current working directory and then try to run the application.
|
|
|
|
|
Hungry Developer wrote: Copy Tool.lib to your current working directory
The .lib file is only used during the linking process if the DLL is implicitly linked to the application, which means that it won't make any difference where it's located once the application is built.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Hey everybody!
I am not sure if that is the right forum, but I'll give it a shot .
When setting a service to automatic startup, when does it actually starts?
Does it start before log-in, or after log-in?
And if it is after log-in, how do I make my service run before it?
Thanks!
|
|
|
|
|
Green Fuze wrote: When setting a service to automatic startup, when does it actually starts?
Before you log in and the user desktop is created.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
|
Green Fuze wrote: Does it start before log-in, or after log-in?
Services are not "log-in" dependent. They are meant to run outside of any user context. If you need something to run after a user has logged in, use the Run registry key.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Great, thanks
|
|
|
|
|
hi how to call class methods without its object(instance) and static member functions. is it possible if so how plz.... answer to me...
|
|
|
|
|
Well... let's assume there is class Dog, with the method "void Bark()".
So just create and object of that class:
Dog rexy;
Call the method:
rexy.bark();
//=============================
Now, lets assume there is a static function called
void DogsPlay(Dog d1, Dog d2). So you can call it like this:
Dog::DogsPlay(rexy, blacky);
hope it helps!
|
|
|
|
|
manjunath k reddy wrote: hi how to call class methods without its object(instance) and static member functions.
I think you missed a requirement.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
thing is assume i have class abc where it does'nt have any static member functions and i have not created an object for it (i.e not instanciated) but now i need to call one of its member function, so is it possible....
|
|
|
|
|
|
Good C++ tutorial needed, I suppose.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: Good C++ tutorial needed, I suppose.
Nah, VB needed I suppose.
led mike
|
|
|
|
|
|
|
ROTFLMAO
These things always crack me up. We have a guy round CP that has something called Plain English. Same idea
FD 20 ; drawing a line and moving Yeah, that's way easier because FD is so obvious and you don't have to learn what it means and what it actually does. The entire concept is complete lost on me, I guess I'm just an idiot.
led mike
|
|
|
|
|
class MyClass
{
public:
static void Func()
{
}
};
...
MyClass::Func();
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
You also read the question upside-down as I did....
I didn't notice until CPallini answered.
manjunath k reddy wrote: how to call class methods without its object(instance) and static member functions.
So he wants to operate on an object, but he doesn't want the object.....
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Where's the "operate on an object" part?
Heh I'm still lost
More should clear it right up...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Mark Salsbery wrote: Where's the "operate on an object" part?
Well, that's my interpretation of wanting to call class members functions that are not static without having an object....
But put in other words, as above, it becomes more obvious and amusing...
Never mind Mark, it was supposed to be funny and it doesn't depend on
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
|
Well what did you think? Some questions are really tough out here. Really.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|