Hi Luis,
>Unhandled exception at 0x003e003f in myapplication.exe: 0xC0000005: Access violation writing location 0x003e003e.
Download ProcExp from
http://technet.microsoft.com/pt-br/sysinternals/bb896653(en-us).aspx.
1. Run your application and wait for the crash. Do not close the dialog yet.
2. Launch Process Explorer.
3. In the list pick your application's EXE.
4. Go to View > Lower Pane View > Dlls.
5. Right click the header, choose Select Column... and pick "Base adress". Sort by the new column
In the list look for the first value that is larger than 0x3E003E (make sure that you look at the 6-digit values, there will be other valuesalso starting with 0x3 that have more or less digits). The item before the line you found is the one that causes the crash. It's probably something like 0x3D0000. Please give us the name of the file in this line.
--
Christof