Santhosh PillaiGlobalization challenges... one at a time.Account Protection, Baby!- July 13, 2004 So, here I am calling up my credit card company to have my address changed (well, I tried online, and failed to login for some reason). After changing the address, she goes: &8220;do you want to add account protection to your card&8221;Me: &8220;Yes, most definitely.&8221;She: &8220;That will be $12.50 per month charged on your card.&8221;Me: &8220;Hold on, I want the account protection, and I feel that's something you should provide for your customers without charging them&8221;.She: &8220;So,.http://blogs.msdn.com/sanpil/archive/2004/07/13/181997.aspx Calling C++ Unmanaged Class from C- July 7, 2004 This may be a no-brainer, but I thought I'd post it anyway. If you have a C++ class in an unmanaged dll what is the best way to call it from C 1. You need to wrap the C++ class in a COM object or expose the class through dll exports. Managed code can call methods on COM object through COM Interop. And it can call dll exports through PInvoke. 2. There is another way to do this using PInvoke. Here is the sample code from the SDK.The best way to do this is to write a thin wrapper in MC++ around...http://blogs.msdn.com/sanpil/archive/2004/07/07/175855.aspx |