|
well premlatha,the .lrn file that u have mentioned would follow a structure......
Find out the structure/class.....
then read the file thru that object.....
then open up an another file and write the the members using text formatted functions like fprintf.....
if you were to simply copy the file as it is in binary mode and then write it down in an anoter file ,all u get is a duplicate of the original file!
cheerz!
rateep
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
Does anybody know how to get share permissions?
Kelvin Chikomo
|
|
|
|
|
|
What do you mean? Can I get some help please.
Kelvin Chikomo
|
|
|
|
|
Hi folks,
Managed to put my application's icon in the system tray using Shell_NotifyIcon. Now what to i do to restore the applications main window when i double click that icon???
Confused...
God is Merciful...
|
|
|
|
|
|
Yea,thank u so much...
God is Merciful...
|
|
|
|
|
Learner2006 wrote: put my application's icon in the system tray
Here is a really easy class for handling the system tray.
System Tray[^]
|
|
|
|
|
I wanna know how to judge the status of the CD/DVD-ROM door, how do i know it is opening or closed??Could someone help? Thanks ^_^
Nothing at all.
|
|
|
|
|
|
|
|
Owner drawn wrote: Some drunken dumbass afflicted with parkinson's
Wow, poor guy, that must be terrible
|
|
|
|
|
|
|
toxcct wrote: maybe a cat is playing with it... (the mouse)
Now common man(yawning).
Jesus Loves <marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Thanks very much for your help, I were busy on my work just now and couldn't see the reply on time, i am sorry.
I tried your solution and i found it couldn't work properly.
The WM_DEVICECHANGE message is just useful while the device have actions. If the CD/DVD-ROM have disk inside, it couldn't work as what i wonder.
So I just wanna know how to judge the door, opened or closed?
Someone give me some tips that I have to SendCommand to the CD/DVD-ROM, and the return code will the me the status of it. But i don't know how to do it even i tried to see the document about "SFF Committee Information Specification for ATAPI DVD Devices" which distrubite at June 5, 2003 with the edition Rev 5.5.
|
|
|
|
|
|
Thanks, but can you sure this code will work properly??
In fact, I have tried GetVolumeInformation before, it is only can judge if there is disk inside the CD/DVD-ROM, I just wanna know the status of the door. Opened???Closed???
Thanks all the same.^_^
|
|
|
|
|
Up!Up, could someone help??;P
|
|
|
|
|
Hi,
I am using a dialog box with some property pages in it (CPropertyPage). I am using also a Next & Previous button to move my Ado Database Records.
When I am chaning record using the Next or Previous button the CComboBox.ResetContent() does not clear the Selected String (the drop down list is working fine).
It works just fine when i am using it outside a PropertyPage. What seems to be wrong ?
Regards,
sdancer75
|
|
|
|
|
hi,
does the following work?
pmyComboBox->SetEditSel(0, -1);
pmyComboBox->Clear();
verify that the code is really called (e.g. via a breakpoint) when pages are switched.
regards,
mykel
If they give you lined paper, write the other way!
|
|
|
|
|
I did not try your code but i found a solution (not very good but it works).
I use combobox.ResetContent just after i switch a page and immediatelly i use the combobox.UpdateData(TRUE) for all combo boxes in his page. After that code i can initialize all other objects.
Only with this way it works fine. Thank you anyway !
Regards,
sdancer75
|
|
|
|
|
Hai,
I am developing an application that puts data into some global memory or locations for example,clipboard.That data has to be accessed only by me.When any other application access that data,I need to find which is that application that access that data.Can any one pls tell me how to find which is that application?
Saravana Kumar
|
|
|
|
|
Instead of giving you an answer to your question, I would suggest you to change what you are trying to do. Why do you use this 'global memory' to share your data (I suppose you are using the notepad, as suggested in your post) ? There are some more efficient ways to share your data like memory mapped files and so on. I am no expert in that field (I just know memory mapped files) but I'm sure somebody here can help you to find the best way to share your data (this question has already been answered before, so...)
|
|
|
|