Type: Posts; User: jwalto1
Search took 0.01 seconds.
July 20th, 2004, 04:35 PM
Have you looked at Creating an MFC DLL Project and the MFC DLL Wizard. The MFC DLL Wizard creates a skeleton which demonstrates exporting a class.
Code Guru has two articles on the subject....
July 20th, 2004, 04:21 PM
Have you tried calling CBitmapButton::Invalidate() on the BN_* handlers. I had to use this technique on a CEdit when changing between display modes.
July 20th, 2004, 04:13 PM
mc files are message files used by the mc compiler.
July 15th, 2004, 01:57 PM
I was not aware that was considered a hack. I love reading Paul DiLascias.
July 14th, 2004, 05:41 PM
In class wizard, override the OnOK click message. Do not call the base class.
July 14th, 2004, 01:39 PM
If you choose Visual Basic as the Executable and create a new project with your control, then you can debug through Visual C++.
July 14th, 2004, 01:35 PM
July 14th, 2004, 12:49 PM
Its been a while since my architecture class, but Intel's branch prediction algorithm is over 90% efficient (I think its actually higher than that, but I don't have a reference).
July 13th, 2004, 06:33 PM
#define both UNICODE and _UNICODE (and verify _MBCS is not defined).
Also, consider using _tcscspn. See...
July 13th, 2004, 06:28 PM
There is none. Both an Intel machine and PowerPC are IEEE compliant.
There are differences in architecture, though. The key difference is RISC vs CISC.
July 13th, 2004, 06:14 PM
MFC has a sample application called TEAR that will allow you to rip web pages.
July 13th, 2004, 05:58 PM
Perhaps a MFC Sample application will help you understand your task.
July 13th, 2004, 05:37 PM
See the following.
July 13th, 2004, 04:45 PM
Additionally, Wei Dai provides PRNG in his Crypto++ library located at www.cryptopp.com.
Typical code would look as follows:
using namespace CryptoPP;
July 13th, 2004, 04:33 PM
PreTranslateMessage(...) may help. Here's a sample that hooks up F5 to a refresh function.
// Hook up F5 to...
July 13th, 2004, 04:18 PM
I did not try to run the code, but I would probably approach it as follows:
*pButton = new CButton[ size ];
pButton->Create( ... )
July 13th, 2004, 04:05 PM
Try below. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfcnotes_tn059.asp.
WCHAR* psz = A2W( "Test" );
July 13th, 2004, 03:38 PM
Its COM. COM always returns a HRESULT (hopefully S_OK). The parameter that the client receives back (such as VB or VBScript) is passed as an [out, retval] parameter.
July 13th, 2004, 03:03 PM
Try http://www.flounder.com/checksum.htm and http://www.codeguru.com/Cpp/Cpp/algorithms/article.php/c5133/
July 13th, 2004, 02:57 PM
Since you are using vb script, everything needs to be a VARIANT.
To return a value to a client, you need a [out, retval] parameter.
Use BSTRs instead of ...
July 13th, 2004, 02:16 PM
WideCharToMultiByte () is your friend. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/unicode_2bj9.asp
Also, I would probably use CFile and a CString - its...
July 13th, 2004, 12:43 PM
It sounds like you want to do some screen scraping. I've never done it. There are some console functions that allow you to do it (read the character and attribute at a certain...
July 12th, 2004, 03:55 PM
I think the solution I would prefer is to static_cast the buffer to char* on read(). It appears to me this is harmless since each type is an octet.
> And finally, could using...
July 12th, 2004, 03:48 PM
Have you read Q168777.
Also, Google is a wonderful reference.
July 12th, 2004, 03:35 PM
These IsService() is something I use to _try_ and determine if I am a service. Its a Yes biased deterministic algorithm - it always returns an answer, and when it returns Yes, it is...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!