rdmenezes / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

maybe a bug about crAddRegKeyA() #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
***NOTE*** Please do create a NEW issue per each detected bug! Do not list
all detected problems in single issue record!

What steps will reproduce the problem?
1.
 in CrashRpt.cpp
line 51: 
  nResult = crAddRegKey(_T("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer"), _T("regkey.xml"), 0);
  ATLASSERT(nResult==0);

2.
  F11 step :   nResult = 2
3.

What is the expected output? What do you see instead?
  F11 step :   nResult = 0

What version of the product are you using? On what operating system?
1.2.6 ,      xp

Please provide any additional information below.
In CrashRpt.cpp line 463
the "return crAddRegKeyW(strconv.a2w(pszDstFileName), 
strconv.a2w(pszRegKeyList), dwFlags);" maybe the first param is 
"pszRegKeyList",the second is "pszDstFileName"

Original issue reported on code.google.com by hew...@gmail.com on 10 Aug 2010 at 9:19

GoogleCodeExporter commented 9 years ago

Original comment by zexspect...@gmail.com on 11 Aug 2010 at 3:24

GoogleCodeExporter commented 9 years ago
Fixed in v.1.2.7

Original comment by zexspect...@gmail.com on 10 Oct 2010 at 2:35