What happens when you press Ctrl+`
? Aren't you able to see it in any of the menu/right click on any function?
-Sarath.
My blog - iSpeak code
Rate the answers and close your posts if it's answered
What happens when you press Ctrl+`
? Aren't you able to see it in any of the menu/right click on any function?
-Sarath.
My blog - iSpeak code
Rate the answers and close your posts if it's answered
If you want your program to be portable, then any time you send an integer greater than 1 byte in size over the network, you must first convert it to network byte order using htons
or htonl
, and the receiving computer must convert it to host byte order using ntohs
or ntohl
. If you're sending computer may be an Intel x86, and the receiving may be a Sun SPARC, and then your program will fail if you don't use htons
.
-Sarath.
My blog - iSpeak code
Rate the answers and close your posts if it's answered
First thing is that, trust the implementation made by Microsoft. This is a very primitive function and you will have to read the documentation first. Second you can your strcpy_s or strcat_s (if you're concatenating). sprint_s is not really a choice string copy. Third your strings must be null terminated. To understand this better, I am illustrating this with a code example
char buffer\[12\]= {0};
int offset =3;
char Buffer\[50\] = "Hello World";
sprintf\_s(buffer,sizeof(buffer), "%s", Buffer);
in the above example buffer has 12 character in legnth and Hello World String contains 11 characters + null terminated. Anything less than 12 character size will raise assertion buffer too small. for sprintf_s only the number of characters being copied only matters. not really the original size of the buffers.
-Sarath.
My blog - iSpeak code
Rate the answers and close your posts if it's answered
Don't you read the file if the access is denied to delete it? Otherwise, simply try to delete the file using DeleteFile. It will give you ERROR_ACCESSDENIED return code if it fails. Alternatively you can check the File Security information Check Here[^]
-Sarath.
My blog - iSpeak code
Rate the answers and close your posts if it's answered
This might help in lot of cases, but I really wonder if C++ 11 can reduce the pain of memory mangement. In my experience, auto variables are hardly I needed for my development. but really got tired of several gotchas and memory corruption and management with C++
-Sarath.
My blog - iSpeak code
Rate the answers and close your posts if it's answered
Don't you read the file if the access is denied to delete it? Otherwise, simply try to delete the file using DeleteFile
. It will give you ERROR_ACCESSDENIED return code if it fails. Alternatively you can check the File Security information Check Here[^]
-Sarath.
My blog - iSpeak code
Rate the answers and close your posts if it's answered
It seems you want to XSD from your table. If that's your question, this[^] might help
-Sarath.
My blog - iSpeak code
Rate the answers and close your posts if it's answered
This [^] might help. Also just search in Codeproject you can find many!
-Sarath.
My blog - Sharing My Thoughts
Rate the answers and close your posts if it's answered
At least till this thing becomes popular, it gonna be a pain in the ass. Apple is a great example to invest right in the technology. They made their platform to work well with different resolutions and resources. This also leads to different issues. The apps are packed as a single per platform (iOS Unified, iOS (iPhone), iOS (iPad)) To work with different versions of devices, the developer has to pack the high resolution images along with the same app. I have an old iPhone which has non-retina display. I have an iPhone 4S with retina display. The size of app is same for both devices. In effect, I have to spend my precious storage (which is comparatively low) for the unused resources. It's true that this is irreversible the pain has to sorted out well. Also the devices are sky-high expensive. We need to wait till it's get affordable for the common people.
-Sarath.
My blog - Sharing My Thoughts
Rate the answers and close your posts if it's answered
I think a simple Google search can clarify your questions. It depends on the Email provider or server configuration to access the emails. Most of the email services provides POP3/SMTP access to the user accounts. This standard is quite old and mostly meant for old mail clients. IMAP is a modern protocol to access emails and it too has several different versions. Google Mail supports POP and IMAP. On the other hand most of the corporate Emails runs Microsoft Exchange server and can be access with POP and Exchanges protocol. MAPI is a properetiery API from Microsoft to access the Exchange Server and other mail protocols.
-Sarath.
My blog - Sharing My Thoughts
Rate the answers and close your posts if it's answered
I have a situation where some of the bugs pops up when there's a congestion in the contgious memory blocks available in the physical memory. Is there any tools to simulate this kind of situation?
-Sarath.
My blog - iSpeak Code
Rate the answers and close your posts if it's answered
Can this[^] and this[^] help you?
-Sarath.
My blog - codereflect.com
Rate the answers and close your posts if it's answered
There's an excellent article in IBM website [^] to port MFC Applications to Linux using wxWidgets[^]
-Sarath.
My blog - Sharing My Thoughts
Rate the answers and close your posts if it's answered
Windows 7-64 bit is famous for it's backward compatibility for most of the 32 bit programs. You can choose the compatibility options under the program properties. In most of the cases, it should work fine. Why don't you consider upgrading to the latest version because the product isn't supported anymore. You're forced for an upgrade by Microsoft. One day or other, you will have to take all the pain to port the code.
-Sarath.
My blog - Reflections of My Thoughts
Rate the answers and close your posts if it's answered
Your questions is not really clear. You can see the mouse state Using GetKeyState function. You can know the mouse position using GetCursorPos Check if this helps?[^]
See if your PDBs, Source file and image (exe) matches. I am not sure SOS DLL can help you with Postmortem debugging. But have a look at it[^]
-Sarath.
My blog - Reflections of my thoughts
Rate the answers and close your posts if it's answered
See CxImage's CxImageTIF[^] class.
-Sarath.
My blog - Sharing My Thoughts
Rate the answers and close your posts if it's answered
Why you can't send WM_CLOSE message to the other dialog before recreating it? BTW, why it's necessary to have CDialog->CModelessDialog>CXXXDailog/CYYYDialog?
-Sarath.
My blog - Sharing My Thoughts
Rate the answers and close your posts if it's answered
Recently all we heard about Google Switching over Windows to Mac OS X[^] in view Chinese security attack of late. The question is, how secure is Mac OS X when comparing Windows or are they making use of this situation against Microsoft? What do you think?
-Sarath.
My blog - Reflections of my thoughts...
Rate the answers and close your posts if it's answered
CString::ReverseFind[^] or if you're too much into C++, string::rfind or wstring::rfind can be used. I suggest you to use the CString version. You can find lot of string parsing functions in CString class. To find whether a monitor is a primary or secondary, you can use dwFlags parameter in the MONITORINFO structure [^]
-Sarath.
My blog - Sharing My Thoughts
Rate the answers and close your posts if it's answered