|
MFC7 and ATL7 are best buddies nowadays. At least the source code is hinting it (MFC and ATL shares a lot of code)
--
Intellectualize my blackness[^]
|
|
|
|
|
Does somebody has an idea how it is possible to change button color. I am wondering it does not have such a property.
Raima
|
|
|
|
|
I think 'WM_CTLCOLOR' is helpful to you.
|
|
|
|
|
|
Please prompt me,how to convert the raw WAV data into WMA format?
Which API fuctions are needed?
Rap off for you,for me,for our human.
|
|
|
|
|
hi,
Does movefileex (with DELAY_UNTIL_REBOOT) use registry ? I want to replace the registry hive system on restart with this function (for a backup app).
thanks for any help
regards
hari
Hari Krishnan
|
|
|
|
|
pranavamhari wrote:
Does movefileex (with DELAY_UNTIL_REBOOT) use registry ?
Yes.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Hi VC++ experts,
I want to get the full path of a file(For example c:\Mytrial\Sample\Display.txt )by just giving the file name(For example Display.txt)as input
The File may be present at anyone of the drives in my PC (Any random directory path). I want to find the full path of the file by running a C++ or VC++ code from some other drive in the same PC and giving just the file name as input( For example Display.txt ) to the code.
I tried with CFileFind class without success. Any VC++ experts help me by sending some sample code.
By
T.V.Sankar
|
|
|
|
|
Try _fullpath
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
|
Yes you can do it but in a different concept...
You can get what you want if the file is in the path.. But there could be a problem if more than one file with the same name is in the path.
Any way here is the sol.
1.Get the evironment string path
2.Seperate the string that are ; seperated for each path.
3.Look into that path.
regards.
My God is more powerfull Than Your God. (the line that divides the world)
|
|
|
|
|
While you do provide a solution to a subset of the original problem, a reliable solution is unattainable (as Michael has already pointed out).
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
I stand by my solution again. The original problem can not be solved as micheal has stated i agree with that. But no one had provided any solution. It can not be done is easy to answer but if you can provide solution for atleast part of the problem may be it is what the the original author of the question was looking for.
My God is more powerfull Than Your God. (the line that divides the world)
|
|
|
|
|
Anyone know of a function that will convert romanji (either ascii or unicode) to hiragana???
|
|
|
|
|
|
|
|
|
I have learn Programming in C for 2 years. But, i wonder how to direct the printer to print the output required?(Command in source code.)
|
|
|
|
|
You're wanting to print something, but I can't tell what. Can you elaborate?
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
My problem is like this:(C Language)
-for example to print an output as below to the monitor,
Menu
====
....
we can use the source code as below,
fprintf(stdout,"Menu");
fprintf(stdout,"====");
fprintf(stdout,"....");
-so can i print the same output using printer to produce hardcopy?
-is there any file pointer that assume to the printer, as the "stdout" been assume to monitor.
-on other hand, i also have the same problem with scanning input, isn there any specific file pointer for other input devices such as OMR, Barcode scanner, & etc.
-maybe you can show me some of the example statement in C language.
|
|
|
|
|
Anonymous wrote:
so can i print the same output using printer to produce hardcopy?
Yes, use stdprn instead of stdout .
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
when i start running the program by using file pointer call 'stdprn', problem occured where the preprocessor '# include <...>' for 'stdprn is not included in the source code. can i know which type of header file include this file pointer???
|
|
|
|
|
Admittingly, it's been over 10 years since I've used that particular stream. Back then I was using Borland C/C++ to create DOS programs. Maybe it's from that era that I remember it.
There's the off-chance that you might could use:
#define stdprn (&_iob[3])
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
I posted a thread about how to detect cdrw and MO,but it didn't get appropriate answer.I just use the way as showed below to do it.
/ **************************************************
**
BOOL GetDriveGeometry(HANDLE hDevice, PGET_MEDIA_TYPES pMediaTypes)
{
DWORD dwOutBytes;
BOOL bResult;
bResult = :eviceIoControl(hDevice,
IOCTL_STORAGE_GET_MEDIA_TYPES_EX,
NULL, 0,
pMediaTypes, MEDIA_INFO_SIZE,
&dwOutBytes,
(LPOVERLAPPED)NULL);
return bResult;
}
**************************************************
***
I can get all CD driver(including cdrom and cdrw,but just as CD driver) with GetDriveProperty.The reason why I get cdrw as CD driver because their value of
"pMediaTypes->MediaInfo[0].DeviceSpecific.DiskInfo.MediaType" all is "CD_ROM".
I want to know the driver's r/w attribute by its parameter of
"pMediaTypes->MediaInfo[0].DeviceSpecific.DiskInfo.MediaCharacteristics" ,but result is still "read only".
please give me some suggestion.
thank you.
Happy Gemini
|
|
|
|