Type: Posts; User: Scrambler
Search took 0.03 seconds.
February 20th, 2005, 06:42 AM
Hi to all!
Can anybody help me in writing a fax program. I need to send/receive faxes via mobile phone. Solution must be platform-independent (PC, PocketPC and my own device will communicate a...
September 28th, 2004, 03:19 AM
Yes, I know. But sometimes some messageboxes is a quicklier solution than debugging the release build.
And I can say more - in my current project there was a problem like this - i tried to debug...
September 28th, 2004, 03:14 AM
Your function VehicleSale() requires 5 parameters. You declared it youself!
So, pass 5 parameters to it and everything will be ok.
September 28th, 2004, 03:09 AM
Sounds like "Help me, my code works fine in debug, but not in release. Any ideas?"... If you will not provide your code - probably nobody can help you.
The only thing I can suggest - is to add...
September 28th, 2004, 12:52 AM
Here is a cite from letter, I wrote sometime to one man:
There are 2 projects in this archive. If you will build them - you
will have 2 .dll files and 2 corresponding .lib files.
September 28th, 2004, 12:44 AM
You can use GetFileAttributes() function. Search the forum, thread with question like yours were here... not so far...
September 28th, 2004, 12:40 AM
You should use dlgFile.GetPathName() instead of dlgFile.GetFileName().
September 27th, 2004, 10:54 AM
You can try this, but I'm not sure - does Windows support icons larger than 48x48 pixels? BTW, what do you need such icons for?
September 27th, 2004, 01:58 AM
Also look at my article - it can be useful to you.
September 26th, 2004, 04:10 PM
It's all because of double - is a binary fraction. But not any decimal fraction can be represented via binary fraction.
September 24th, 2004, 07:05 AM
May be it is simplier to execute command "net share shared_name=c:\shared_path" or "net share shared_name=c:\shared_path /unlimited" or "net share shared_name /delete" (using ShellExecute() for...
September 24th, 2004, 07:04 AM
You can create window WITHOUT WS_CAPTION style. And allocate as much area for caption, as you want. Then you should handle it's paint in WM_NCPAINT message handler. And to handle mouse you should...
September 24th, 2004, 05:50 AM
Please show the declaration of your variables. If contour and image6 variables are allocated in stack - it is expected behavior. Try to move them into heap. For example replace
September 24th, 2004, 04:34 AM
Use SystemParametersInfo() function with SPI_SETNONCLIENTMETRICS parameter. See MSDN for details.
September 24th, 2004, 04:24 AM
Take a look to OnSetFocus() handler. It has a parameter - pointer to the CWnd, that previosly had focus. If this pointer is not null - you can call it's SetFocus() function.
September 23rd, 2004, 10:33 AM
You got integer division in your code. Then compiler casts it to float. Try to use floating point division:
Text.Format("%.2f MB/sec", (float)(Variable/(1024.0*1024)) );
Use divisor of 1024.0...
September 23rd, 2004, 05:32 AM
Keyword class here isn't a class. It means data type class. AFAIR you can use keyword typename instead of class. But don't confuse, there will not be any classes. Class here is just a placeholder for...
September 23rd, 2004, 03:39 AM
mynfred, take a look to the GetClassName() API function. It takes a handle and gives you a class name. For edit box class name will be "EDIT" and so on. Don't forget to use case-insensitive string...
September 23rd, 2004, 03:23 AM
EPalm, first of all there is a problem with your struct.
#pragma pack(push, 1)
unsigned short a;
unsigned char b;
unsigned char c;
September 14th, 2004, 02:45 AM
The easies way is to open menu resource in resource editor, find your menu item, select it. Then press ctrl-w - it will open class wizard. In class wizard you'll see your handler function seleted -...
September 14th, 2004, 02:39 AM
In addition to words above I want to notice that if you have derived your class from one of standart classes and added some variables to it - you shouldn't pass handle, you should pass pointer, or...
September 14th, 2004, 02:35 AM
Try following sequence:
SetFilePointer(hFile, 1024*1024*1024, NULL, FILE_BEGIN);
SetFilePointer(hFile, 0, NULL, FILE_BEGIN);
I don't checked this, but I think that it...
September 14th, 2004, 02:24 AM
In additions to cilu's words I can suggest you to install MFC source code. Then you can see where memory was allocated in specified files. It can give you a clue.
September 10th, 2004, 06:07 PM
It is neither MS-specific, nor standart feature. If you want such behavior - you should do it by youself.
0) Catch middle mouse click. Set some variable to 1 - it will indicate scrolling mode. Call...
September 9th, 2004, 03:31 PM
In expression if(A&B==B) there are 2 operations.
First is bitwise-and - &. Let for example A=01010101 (binary) and B=00111100. Bitwise-and result is a byte/word/dword (depending on operands) in...
Click Here to Expand Forum to Full Width