Search:
Type: Posts; User: jwalto1
Search:
Search took 0.04 seconds.
-
July 20th, 2004, 04:35 PM
Hi,
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
Hi mce,
Have you tried calling CBitmapButton::Invalidate() on the BN_* handlers. I had to use this technique on a CEdit when changing between display modes.
Jeff
-
July 20th, 2004, 04:13 PM
Hi poorni,
mc files are message files used by the mc compiler.
See here.
Jeff
-
July 15th, 2004, 01:57 PM
Hi Alin,
I was not aware that was considered a hack. I love reading Paul DiLascias.
Thanks,
Jeff
-
July 14th, 2004, 05:41 PM
Hi wbartley,
In class wizard, override the OnOK click message. Do not call the base class.
Jeff
-
July 14th, 2004, 01:39 PM
Hi rseidl,
If you choose Visual Basic as the Executable and create a new project with your control, then you can debug through Visual C++.
Jeff
-
July 14th, 2004, 01:35 PM
Hi Koolski
See below.
Jeff
////////////////////////////////////////////////////////
//
-
July 14th, 2004, 12:49 PM
Hi NoteMe,
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).
If...
-
July 13th, 2004, 06:33 PM
Hi chmanish,
#define both UNICODE and _UNICODE (and verify _MBCS is not defined).
Also, consider using _tcscspn. See...
-
July 13th, 2004, 06:28 PM
Hi Fero,
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.
Jeff
-
July 13th, 2004, 06:14 PM
Hi slv,
MFC has a sample application called TEAR that will allow you to rip web pages.
See...
-
July 13th, 2004, 05:58 PM
Hi floatingkent,
Perhaps a MFC Sample application will help you understand your task.
See...
-
July 13th, 2004, 05:37 PM
Hi gangelo,
See the following.
http://www.contextmagic.com/express-clickyes/
http://support.microsoft.com/default.aspx?scid=kb;en-us;821679&Product=ol2002
Jeff
-
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:
#include "osrng.h"
using namespace CryptoPP;
.
.
-
July 13th, 2004, 04:33 PM
Hi Michel,
PreTranslateMessage(...) may help. Here's a sample that hooks up F5 to a refresh function.
Jeff
////////////////////////////////////////////////////////
//
// Hook up F5 to...
-
July 13th, 2004, 04:18 PM
Hi ecspansion,
I did not try to run the code, but I would probably approach it as follows:
CButton** ppButton;
*pButton = new CButton[ size ];
then,
pButton[0]->Create( ... )
-
July 13th, 2004, 04:05 PM
Hi ClickHeRe,
Try below. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfcnotes_tn059.asp.
Jeff
USES_CONVERSION
WCHAR* psz = A2W( "Test" );
-
July 13th, 2004, 03:38 PM
Hi Bobby,
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.
See...
-
July 13th, 2004, 03:03 PM
Hi Larry,
Try http://www.flounder.com/checksum.htm and http://www.codeguru.com/Cpp/Cpp/algorithms/article.php/c5133/
Jeff
-
July 13th, 2004, 02:57 PM
Hi sm_ch,
Since you are using vb script, everything needs to be a VARIANT.
Return HRESULTs.
To return a value to a client, you need a [out, retval] parameter.
Use BSTRs instead of ...
-
July 13th, 2004, 02:16 PM
Hi Narik,
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
Hi loay980,
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
Hi SNikita,
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
Hi sstofka,
Have you read Q168777.
Also, Google is a wonderful reference.
Jeff
-
July 12th, 2004, 03:35 PM
Hi voonnalk,
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
|