March 16th, 2013 07:59 AM
Our update widget is currently an old C++ app. I just want to get it to work first in VB.NET, but I think we'll port it to C++ eventually.
I'm not going to worry too much about updating all the...
March 15th, 2013 11:53 AM
I hope someone can help me here. There aren't many good code examples out there dealing with Windows Installer patches (.msp). We have an update widget that will install or apply a patch simply if...
March 26th, 2010 01:00 PM
Yeah...
I think I had to change the condition to (NumOfBytes > 0 || NumOfBytes2 > 0). Seems to be right in my testing so far. My fingers are crossed, however.
I guess I could could also go...
March 26th, 2010 09:07 AM
Here is what I did and it appears to work...
DWORD NumOfBytes = 0;
//Added new and increased Buf size...
DWORD NumOfBytes2 = 0;
char Buf[2048];
char *pNextSetting = NULL;
CString str;...
March 25th, 2010 08:42 PM
Well if I do that, how would my code look. I don't really know what to do with pNextSetting based on the following snippet from the original code...
pNextSetting = Buf;
str = pNextSetting;
March 25th, 2010 10:25 AM
ooops...
meant...
NumOfBytes = GetPrivateProfileSection("OurApp Update PlugIns", Buf2, 1024, m_OldIniPath);
March 25th, 2010 10:25 AM
If I use the Buf2 approach, do I need
DWORD NumOfBytes2 = 0;
... or can I just reuse NumOfBytes like
NumOfBytes2 = GetPrivateProfileSection("OurApp Update PlugIns", Buf2, 1024,...
March 25th, 2010 09:36 AM
Hi all,
I'm really not at all experienced with C++, but I have some changes to make in code that used to be maintained by someone else. The code that exists may not be the best, but I'm not...