|
|
thanx for the above code they were helpfull but I wanted the answer in c++... these codes are written in VC++ and C#... If u find anything i c++ please do inform me.. thanx..
|
|
|
|
|
hi ,
im using GetPrivateProfileSection but im able to get all the keys along with values...
but i need to get only values ....or only keys...
May i know how the above is possible..
|
|
|
|
|
Use GetPrivateProfileString
akt
|
|
|
|
|
Nope, you have to explicitely parse the returned buffer to extract them.
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]
|
|
|
|
|
See here.
"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,
Is there any way to load image from a url. I have one activex control which has been used in the web application and the application will pass an UNC path to the control. From that path, the control will load the image. The activex control has been written in vc++/MFC.
I need to load the image using the url. For eg: http://site/test.tiff. I have modified the code of the activex control and given the url, then it was failing with the error "assertion failure". My confusion is this, when I tried to open the image as url through IE, it could open, but when it is passed to the program it couldn't load.
Will you please help and provide me the way if it is possible. Is there any way to load the image instead of passing the path and directly passing the imgage itself. Any idea why it couldn't load the image from url and only it is loading from UNC path.
Thanks in Advance,
Rahul.
|
|
|
|
|
Is this control supposed to be able to load images from the internet? Is this active x control an instance of IE?
I think you ought to download the file to disk and then open it.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
Hi Sashoalm,
Thanks much for your reply. The control could load images from any unc path or local path (\\server\test\ab.bmp or c:\projects\test\ab.bmp). This is not an instance of IE.
The image files are available in the server location. But if we store that to the client, the client machine will have all the files.
My thought was like if the control could load the image from any virtual folder or url (server) then it would be much helpful. I have seen that the media player ,irfanview etc could able to load the image url in it..
Hence I believe it will be possible with the activex control written in vc++..Really appreciate if can show any way to do this.
Thanks,
Rahul.
SoftwareDeveloper(.NET)
|
|
|
|
|
Is this[^] helpful?
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 )
|
|
|
|
|
Hi Hamid,
Thanks much for your reply..I will check this and let you know if that example works for me.
Thanks,
Rahul.
SoftwareDeveloper(.NET)
|
|
|
|
|
If my answer was helpul you can give me 5.
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 )
|
|
|
|
|
Please explain why the error
<br />
class base <br />
{<br />
public:<br />
void fun1()<br />
{<br />
}<br />
<br />
virtual void call()<br />
{<br />
}<br />
};<br />
<br />
class derive:public base<br />
{<br />
public:<br />
void call()<br />
{<br />
fun1();
}<br />
<br />
void fun1(int i)<br />
{<br />
<br />
}<br />
}<br />
Regards
Anil
|
|
|
|
|
Because fun1 in derive hides the definition of fun1 in base . Use base::fun1() , like this:
class base
{
public:
void fun1()
{
}
virtual void call()
{
}
};
class derive:public base
{
public:
void call()
{
base::fun1();
}
void fun1(int i)
{
}
};
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Why the base::fun1() is needed ?
If the fun1(int i) is not there then there is no error.
Once the overload function is declare its giving the error.
Regards
Anil
|
|
|
|
|
_anil_ wrote: Why the base::fun1() is needed ?
If the fun1(int i) is not there then there is no error.
Once the overload function is declare its giving the error.
Did you even read my answer? To repeat what I said - the error's because fun1 in derive hides the definition of fun1 in base. It (fun1 in derive) is not an overload, because it's defined in a different scope than fun1 in base.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Ok Got it. Thanks.
Regards
Anil
|
|
|
|
|
With your fun1(int) in derived class you're hiding the base class fun1 . See here [^].
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]
|
|
|
|
|
hi I want to make a project on c++ dat will give the beats of tabla in fixed "taala" and "laya" can anyone help me by teachung me how to trap sound using cpp??
|
|
|
|
|
Markandaiya Harsh wrote: I want to make a project on c++ dat will give the beats of tabla in fixed "taala" and "laya"
I'm sorry but I don't understand anything of the second part of your sentence. What is a tabla, a talla and a laya ?
Please, when asking a question keep in mind that we don't have any idea of what you are trying to do. So, try to be as clear as possible when asking your question.
|
|
|
|
|
Hi Cedric,
Tabla[^] is an Indian musical instrument.
Taala and Laya are related with music. To be precise,
taala: the beat set for a particular composition (a measure of time). taaLas have cycles of a defined number of beats and rarely change within a song.
laya : The term for tempo in Indian music.
Now please answer the guy.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
Hellow,,,
any one know how to make a fuzzy logic code in C and inject it to an AVR ATMega16 mico controller???
thanx lot
|
|
|
|
|
Full code at www.cpallini.free.fuzzy.avr.codez.com.
Or you may prefer to read forum guidelines [^], before posting .
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: Full code at www.cpallini.free.fuzzy.avr.codez.com.
Sir ,Link does not work
Please its really urgentzzzzz sir..
Regards,
Sandip.
|
|
|
|
|
hi..
I want to write it by codevision ...
can any one help me???
|
|
|
|