This is a PB (Powerbuilder) application I built. The compiled code works well thru PB itself but after building a standalone app, the exe crashes. I have tried every possible combination in the project painter in PB to see if it was a problem there but it isn't. I'm fresh out of ideas. Does anyone have any idea how to go about fixing this?
Here are some metrics and some information that might help. I'm not sure if all the given info is necessary but just in case you guys ask.
- I am not creating any pbr files to specify image and ico files.
- Global External Functions:
FUNCTION BOOLEAN MoveFileA(ref string from_file, ref string to_file) LIBRARY "Kernel32.dll"
FUNCTION ulong GetCurrentDirectoryA(ulong BufferLen, ref string currentdir) LIBRARY "Kernel32.dll"
FUNCTION BOOLEAN AnimateWindow(long lhWnd, long lTm, long lFlags) library 'user32.dll'
FUNCTION BOOLEAN GetUserNameA(ref string uname, ref ulong slength) LIBRARY "ADVAPI32.DLL"
FUNCTION BOOLEAN GetComputerNameA(ref string cname, ref long nbuf) LIBRARY "Kernel32.dll"
FUNCTION boolean sndPlaySoundA (string SoundName, uint Flags) LIBRARY "WINMM.DLL"
- PB Version 7.0 Build 5031
- Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: None
Here's the DrWatson log file: [this does not make any sense to me]
Application exception occurred:
App: (pid=576)
When: 21-May-03 @ 17:03:24.226
Exception number: c0000005 (access violation)
*----> System Information <----*
Computer Name: pwnage
User Name: Administrator
Number of Processors: 1
Processor Type: x86 Family 15 Model 0 Stepping 7
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: None
Current Type: Uniprocessor Free
Registered Organization:
Registered Owner: me
*----> Task List <----*
0 Idle.exe
8 System.exe
140 smss.exe
164 csrss.exe
184 winlogon.exe
212 services.exe
224 lsass.exe
380 svchost.exe
408 spoolsv.exe
440 svchost.exe
476 regsvc.exe
520 MSTask.exe
540 WinMgmt.exe
704 Explorer.exe
836 navapw32.exe
852 hpztsb05.exe
872 loadqm.exe
880 Save.exe
904 gnetmous.exe
920 Emouse.exe
940 msnmsgr.exe
952 MFNTCTL.exe
960 NkVwMon.exe
712 OSA.exe
976 FINDFAST.exe
504 winamp.exe
576 mp3renamer.exe
616 drwtsn32.exe
0 _Total.exe
(00400000 - 00512000)
(77F80000 - 77FF9000)
(77E10000 - 77E75000)
(77E80000 - 77F36000)
(77F40000 - 77F7C000)
(11190000 - 114DE000)
(10000000 - 10032000)
(75050000 - 75058000)
(75030000 - 75044000)
(78000000 - 78046000)
(77DB0000 - 77E0A000)
(77D40000 - 77DAF000)
(75020000 - 75028000)
(76B30000 - 76B6E000)
(77C70000 - 77CBA000)
(77B50000 - 77BDA000)
(775A0000 - 777E0000)
(77800000 - 7781D000)
(77A50000 - 77B45000)
(695E0000 - 69609000)
(779B0000 - 77A45000)
(77820000 - 77827000)
(759B0000 - 759B6000)
(752F0000 - 7530F000)
(77CC0000 - 77D40000)
State Dump for Thread Id 0x558
eax=01115388 ebx=01112418 ecx=00000001 edx=00000000 esi=01115290 edi=00000000
eip=00000000 esp=0012ec18 ebp=01133db0 iopl=0 nv up ei pl nz ac pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000212
function: <nosymbols>
Here are some metrics and some information that might help. I'm not sure if all the given info is necessary but just in case you guys ask.
- I am not creating any pbr files to specify image and ico files.
- Global External Functions:
FUNCTION BOOLEAN MoveFileA(ref string from_file, ref string to_file) LIBRARY "Kernel32.dll"
FUNCTION ulong GetCurrentDirectoryA(ulong BufferLen, ref string currentdir) LIBRARY "Kernel32.dll"
FUNCTION BOOLEAN AnimateWindow(long lhWnd, long lTm, long lFlags) library 'user32.dll'
FUNCTION BOOLEAN GetUserNameA(ref string uname, ref ulong slength) LIBRARY "ADVAPI32.DLL"
FUNCTION BOOLEAN GetComputerNameA(ref string cname, ref long nbuf) LIBRARY "Kernel32.dll"
FUNCTION boolean sndPlaySoundA (string SoundName, uint Flags) LIBRARY "WINMM.DLL"
- PB Version 7.0 Build 5031
- Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: None
Here's the DrWatson log file: [this does not make any sense to me]
Application exception occurred:
App: (pid=576)
When: 21-May-03 @ 17:03:24.226
Exception number: c0000005 (access violation)
*----> System Information <----*
Computer Name: pwnage
User Name: Administrator
Number of Processors: 1
Processor Type: x86 Family 15 Model 0 Stepping 7
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: None
Current Type: Uniprocessor Free
Registered Organization:
Registered Owner: me
*----> Task List <----*
0 Idle.exe
8 System.exe
140 smss.exe
164 csrss.exe
184 winlogon.exe
212 services.exe
224 lsass.exe
380 svchost.exe
408 spoolsv.exe
440 svchost.exe
476 regsvc.exe
520 MSTask.exe
540 WinMgmt.exe
704 Explorer.exe
836 navapw32.exe
852 hpztsb05.exe
872 loadqm.exe
880 Save.exe
904 gnetmous.exe
920 Emouse.exe
940 msnmsgr.exe
952 MFNTCTL.exe
960 NkVwMon.exe
712 OSA.exe
976 FINDFAST.exe
504 winamp.exe
576 mp3renamer.exe
616 drwtsn32.exe
0 _Total.exe
(00400000 - 00512000)
(77F80000 - 77FF9000)
(77E10000 - 77E75000)
(77E80000 - 77F36000)
(77F40000 - 77F7C000)
(11190000 - 114DE000)
(10000000 - 10032000)
(75050000 - 75058000)
(75030000 - 75044000)
(78000000 - 78046000)
(77DB0000 - 77E0A000)
(77D40000 - 77DAF000)
(75020000 - 75028000)
(76B30000 - 76B6E000)
(77C70000 - 77CBA000)
(77B50000 - 77BDA000)
(775A0000 - 777E0000)
(77800000 - 7781D000)
(77A50000 - 77B45000)
(695E0000 - 69609000)
(779B0000 - 77A45000)
(77820000 - 77827000)
(759B0000 - 759B6000)
(752F0000 - 7530F000)
(77CC0000 - 77D40000)
State Dump for Thread Id 0x558
eax=01115388 ebx=01112418 ecx=00000001 edx=00000000 esi=01115290 edi=00000000
eip=00000000 esp=0012ec18 ebp=01133db0 iopl=0 nv up ei pl nz ac pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000212
function: <nosymbols>
