View previous topic :: View next topic |
Author |
Message |
KennyT
Joined: 02 Aug 2005 Posts: 318
|
Posted: Tue Mar 15, 2011 4:17 pm Post subject: 64-bit Windows 7 and SDBG.INI |
|
|
I've been forced(!) to move to a new PC (windows7-64) and have transferred the development folders across to it, and recompiled everything OK, but when I try to run it under the debugger, I get an exception "E06D7363". On my previous 32-bit XP box, the fix for this was to add some lines to the c:\windows\SDBG.INI file:
IgnoreException-1=E06D7363
So, I've copied my SDBG.INI file across, but it hasn't made any difference. But, I realise, c:\windows may not be the correct folder to put the INI file in?
If not, where should it go?
TIA
K |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8212 Location: Salford, UK
|
Posted: Tue Mar 15, 2011 6:49 pm Post subject: |
|
|
I think that it is probably still c:\Windows but there is an API function to get it namely GetWindowsDirectory. Also the environment variable windir should be the same.
The data is obtained using the API function GetPrivateProfileString and the default path (which is the Windows directory). |
|
Back to top |
|
 |
KennyT
Joined: 02 Aug 2005 Posts: 318
|
Posted: Tue Mar 15, 2011 6:51 pm Post subject: Re: |
|
|
PaulLaidler wrote: | I think that it is probably still c:\Windows but there is an API function to get it namely GetWindowsDirectory. Also the environment variable windir should be the same.
The data is obtained using the API function GetPrivateProfileString and the default path (which is the Windows directory). |
Yep, I use those functions for my code, but what does SDBG use?
K |
|
Back to top |
|
 |
Robert

Joined: 29 Nov 2006 Posts: 457 Location: Manchester
|
Posted: Tue Mar 15, 2011 7:43 pm Post subject: |
|
|
On my PC it goes in: C:\Users\Robert\AppData\Local\VirtualStore\Windows
write access to /windows (and /program files) is virtualised |
|
Back to top |
|
 |
KennyT
Joined: 02 Aug 2005 Posts: 318
|
Posted: Tue Mar 15, 2011 10:48 pm Post subject: Re: |
|
|
Robert wrote: | On my PC it goes in: C:\Users\Robert\AppData\Local\VirtualStore\Windows
write access to /windows (and /program files) is virtualised |
Thanks Rob, that's the one!
K |
|
Back to top |
|
 |
|