|
Have you actually taken the snippet of your working code.
I don't see a ; after the class declaration.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
I get a quite different error:
error C2512: 'std::basic_ostream<_Elem,_Traits>' : no appropriate default constructor available
That, after all, looks quite reasonable.
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]
|
|
|
|
|
yes this is a part of my working code
and i have just pasted the part where i am having error
|
|
|
|
|
I suppose you're replying to the wrong reply...
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]
|
|
|
|
|
I don't get your error with VC++ or gcc, either when I add a semi-colon to the end of the class definition or not. I get other errors, but not the one you've got. You're likely not posting sufficient of your code to expose the error.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
actually, above code was just a part of the actual code
and i just wanted to know how to use static variables defined in header files in .cpp files
posting actual code isn't possible as it is very long and this code is then used by another library...
so i just pasted the part where i was having error...
i found the error that ostream doesn't have any constructor that takes no parameters...
now i am guessing that code is OK but there might be some linking problems...
thanks all for your help
|
|
|
|
|
I have write a program ,which can run on local computer .but it can't access to remote ad.
this is my first question ,please help me.thank you
|
|
|
|
|
|
Becuase we are human not robot and you need to wait.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
Hamid. wrote: Becuase we are human not robot and you need to wait.
I am working on Hamid Version 2.0 Robot, who will watch for question coming on vc++ forum and answer it instantly....
But i don't know how to create it hand
"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
|
|
|
|
|
ljz888666555 wrote: why no one help me?
After 3 minutes ? C'mon, this is not a chat, it is a forum.
And if you want to increase your chances of getting an answer, I suggest you read the posting guidelines at the top of this forum.
|
|
|
|
|
actually we don't understand your question, briefly describ actually what do you want?
"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
|
|
|
|
|
sorry,I have writen a progma.It can runs on service computer which have installed AD.
But ,if it runs other computer ,it can't access the service's AD.
|
|
|
|
|
What is AD?
"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
|
|
|
|
|
Do you know ldap ? AD is active directory
|
|
|
|
|
I know what is LDAP, also AD. but dude you have let me know you are working on AD i.e. Active Directory.
anyways, does you application reside on remote computer or you running application on your computer and trying to access remote computer through it.
"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
|
|
|
|
|
ljz888666555 wrote: but it can't access to remote ad.
Why not? Is this supposed to be a helpful question? What have you done to isolate the problem?
"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
|
|
|
|
|
Hi all. I'v got a problem like this:
I have a array(BYTE* pData) with a dozen of 0 and 1,now,I want to send this data to the soundcard and play!
What can I do?
Do I have to set the format(44kHz16BitStereo)? Is the function of waveOutOpen will do?
Thanks!
|
|
|
|
|
you have to do a lot of stuff. Use the search boc for further details...
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Well you have first to pack the data as a WAV file (see for instance [^]) and then you may use the PlaySound function [^].
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]
|
|
|
|
|
Thanks for your reply! I will try!
|
|
|
|
|
I need to have two list boxes with a tool tip for the text on the same dialog.
How to handle this.
Thanks.
|
|
|
|
|
Two list boxes in the same window will be having file names in them.. I need to show the path of the file name as a tool tip when user clicks on any file name on the List box.
|
|
|
|
|
|
I have this with me.. It doesn't work when there are two list boxes on the same window.. Only one of the list box will show the tool tip and not the other.
|
|
|
|