|
dont send a name for the value u want to read in that case
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
How can I send a e-mail in my mfc application under WinCE?
The ShellExecute function does not exist under WinCE!
I think it works with ShellExecuteEx ?!?
But how to init. the SHELLEXECUTEINFO members ?
Any sample????
|
|
|
|
|
hi,
how to wrap a CALLBACK function into a class?
Thanks in advance.
Extreme programming. Do the No.1
|
|
|
|
|
|
I remember it used #pragmas. I've searched with the above Search box. I've tried Google. I looked in "What's New" all the way back to August. Does anyone know where it is?
Cathy
Life's uncertain, have dessert first!
|
|
|
|
|
#pragma message("this is just how to do it")
You could also take a look at my article about compiler messages[^]
...if you're under 8 or younger. Chris Maunder, the Lounge
|
|
|
|
|
Thanks! That was the article I was looking for.
Cathy
Life's uncertain, have dessert first!
|
|
|
|
|
I want to rename files using wildcards. Any good resource tell me please.
|
|
|
|
|
when I am using waitcommevent() with EV_RXCHAR,It will get twice response.why? I am so...............????*&^*%&%
|
|
|
|
|
Hi Friends,
Can anyone help me in solving this problem. I am able to run my application in Debug mode but not able to run in Release mode.
In my application(MDI application) when I try to open a file it gives "Unreferenced memory 0x000005 - Access Violation" assertion. But, the same is working fine in debug mode.
|
|
|
|
|
Try to build your realease build with debug info.
Gero
|
|
|
|
|
Try adding debugging options to your release configuration so you can track the problem in a debug session:
Compiler: /Zi (if it is an optimizing problem additional try /Od)
Linker: /debug
It is not well known that you can also debug an VC++ app in the "Release Mode" configuration, if you use the above project settings and recompile.
Because MFC and CRT in debug version has many protections against failures sometimes the release version crashes. It is almost a sign for a serious problem in your code even when it dont occur in the debug version. It is a good idea to inspect the debug output (in the debug version) for some warning/diagnostic messages (from MFC/CRT) for getting hints to the problem.
|
|
|
|
|
I have brought a Qtronix Fingerprint mouse and I would like to captrue image from the mouse. But I dont know how to do. Could any one tell me hwo to capture fingerprint image from the mouse?
Million thanks if you could help me!!!!!!!!!!!!
writeln
|
|
|
|
|
That is an external hardware device. So you will need to check with the manufacturer and find out if they provide any API functions or other tools to acquire this information.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
hmm, check to see if it appears as a camera device on your system - if so you could use DirectShow..
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
Thanks all of u!!!
Can I use TWAIN or scanner drvier to get the image??
|
|
|
|
|
How could I override painting of a static control to put some extra text up in top left corner;
_______________
|f1 |
| Static Text |
|______________|
I want the control to draw normally then have my code add the "f1" text in there.
|
|
|
|
|
There are a number of ways that you can accomplish this, however I would recommend subclassing the edit control and overriding the WM_PAINT message.
You can do this by creating a new WndProc for your static control that handles the WM_PAINT message and sends all other messages to the CallWindowProc.
Then call SetWindowLong using the handle to your static control, and set the GWL_WNDPROC parameter. You will need to cache the value that is returned, because this is the value that you will pass into CallWindowProc in order to get the default static control behavior.
Good Luck
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
I want to learn from the scratch the concept of filing in C++(of course not using MFC) . Any good resource, then please tell me
|
|
|
|
|
Shah Shahdadpur wrote:
Any good resource, then please tell me
Yes, CodeProject.com
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Try the File I/O in the SDK of MSDN.
If your writing a Windows program why won't you use the MFC CFile in this case?;)
|
|
|
|
|
hi,
i was wondering if someone could please help me on a code using arrays. If there is a given date in a year how would i compute and print how many days have passed in that year and also to compute the next day.
For example, if the date was supplied 2/3/98. i understand the null terminator is suppose to be after the day, month and year? but the output should be 61. I also understand that leap years should be taken into account as well being they occur every 4 years.
So far i have determined that i need atleast 4 functions,.. CheckLeapYear, ComputeDays, PrintDays, ComputeNextDay, and PrintNextDate.
Thank you
|
|
|
|
|
I would create an array of 12 items, to represent each of the twelve months, and then in each item in the array I would place the number of days that are in that month.
After you determine which month the requested date is in, you would cycle through your array and add up all of the days until the current month, and add the number of days that have passed in teh current month. Then like you said account for the leapyear.
The other functions that you mentioned can be derived from your data in the month array that I described.
Good Luck
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
I'm playing "Spot the homework assignment". Want to join in?
Signature space for rent. Apply by email to....
|
|
|
|
|
Jon Hulatt wrote:
I'm playing "Spot the homework assignment". Want to join in?
True, that is why I was very careful to only give suggestions for design and no code examples
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|