Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

APP.exe has generated errors and will be closed by windows

Status
Not open for further replies.

randall2nd

Programmer
May 30, 2001
112
US
EVERY time I try to run my executable I am getting the error
APP.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created.

It will run and perform as expected inside Powerbuilder, but when I build the executable and then try to run it I always get the above error.

I am working on Powerbuilder 7.0 and Windows 2000 Professional.

I open the Project,
Executable File Name=App.exe,
Rebuild = Full,
Machine Code is checked,
Optimization=Speed,
Library= App.pbl and is checked
I click on Build, it finishes Ok, but when I go to the directory and click on App.exe, the error above pops up immediately. I think I have tried every combonation I could for these settings.

Any ideas on what I am doing wrong, What else should I try? Randall2nd
 
Well I found the problem, when I was sent the files for this app I was also sent the dll's to make it run. Well apparrently it was built using 7.0.3 and I only have 7.0.

I did run in to a nother problem though.
Putting a datawindow object on the window makes the window not open.

I have put messages in to the application.open event before and after the line "OPEN(w_app_form)" and they both up. So, I know that the event is functioning. I removed the datawindow object from the window and the window cam up fine. I put a defualt datawindow object back on the window and ran it, and agian no window.

It shows up fine if I run the app from inside PB but when I build it and then try to run the App.exe no window.

Please help. Randall2nd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top