|
did you give the libpath to your
Project Settings\Link\Additional library path ?????
if not then give the library path here
-- modified at 3:32 Tuesday 25th July, 2006
|
|
|
|
|
ok~ i'll give it a try.... and... like i said i have other library files to include as well... so how am i going to do it?
-- modified at 3:48 Tuesday 25th July, 2006
Alright i've tried it.... but still, i can't get it
how abt i send u my program to have a look at it?
i really need help in this... Please help Thanks
-- modified at 3:49 Tuesday 25th July, 2006
|
|
|
|
|
it will be good if u copy all the lib u want to link to one folder and give that path in the Additional include Directory.
nave
|
|
|
|
|
erm........ well that's what i did.... all the library files, i put them into a folder called "include" and the "include" folder i put it in the folder where my .dsw, .cpp, .h files are.....
|
|
|
|
|
and how did you give the path in project setting?
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
I have dialogbox and a menu. I want a menu item to be checked and unchecked when it is clicked. I tried OnUpdate...(CCmdUI* cmd) but its not showing the tick mark. and even its not disabling the menu item when i am disabling it.
How do this? Please help.
Thank you.
KIRAN PINJARLA
|
|
|
|
|
|
Did you tried
cmd->SetCheck();
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
I am writing a code for updating the version of file in the System.
some sample code
/*
//Version changed
strVersion.Replace(" " , "");
what parameter i should put there
janan
|
|
|
|
|
ningthemcha wrote: strVersion
what type of variable strVersion is!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hai to all,
i need c++ code for replacing a word with new word in a file
can any one help me
B.Lakshmipathi Rao
|
|
|
|
|
|
Thanks for ur replay
but i need c++ code not MFC
B.LakshmipatiRao
|
|
|
|
|
|
|
I want to change Caption of Dialog from source code .
Someone can help me ?
|
|
|
|
|
::SetWindowText (m_hWnd ,"Anshuman");
|
|
|
|
|
Call
SetWindowText( "Hiiiiiiii" );
in OnInitDialog()
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
in the property window you can set Caption for your dialog
|
|
|
|
|
WhiteSky wrote: in the property window you can set Caption for your dialog
But he wants to change Caption of Dialog from source code
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
see me wrote: n OnInitDialog()
some thing special about OnInitDialog!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
its not problem So SetWindowText(...)
|
|
|
|
|
Hello All,
I have freed the memory which was allocated using malloc.
Is there any utility or function in C to check whether the memory is freed or not.
int *a;
a=(int *)malloc(2*sizeof(int));
a[0]=1;
a[1]=2;
free(a);
Even after free function the value of a[0] and a[1] is same (i.e 1 and 2).
I am using Turbo C. I have doubt whether memory is freed.
Thanks in advance.
|
|
|
|
|
Just because you free memory doesn't mean it doesn't exist anymore. It depends on the OS and the heap. For example, heaps often cache blocks that have just been free to be recycled if a compatible request comes in soon after. Let your heap do its thing and trust in its wisdom.
Steve
|
|
|
|
|
MaHeSG wrote: I have doubt whether memory is freed.
Actually memory is free & goes to OS free mamory heap. But ur pointer still point that memory address. U can read that address. But if u want to write something that exception is generate.
For further conferation allocate same amount of mem after free some mem. OS allocate same mem block for that. A before free if u allocate then provide different mem block.
regards,
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|