|
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.
|
|
|
|
|
Did you remember to call EnableToolTips(TRUE) in OnInitDialog() ?
"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
|
|
|
|
|
|
ListBox With ToolTip Support[^].
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 )
|
|
|
|
|
I have a SDI application using MFC 9 (VS 2008). What I have to do is to put a set of dockable panes on my main frame in the way that these panes will occupy the full space of main frame (including resizing and divider movement).
What is the right way to implement it?
|
|
|
|
|
love you, baby!
|
|
|
|