Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 19th, 2006, 2:49 PM   #1
Lesliect6
Programmer
 
Join Date: Aug 2005
Posts: 68
Rep Power: 3 Lesliect6 is on a distinguished road
Envelop VB runtime error

Hello!

I don't know how familiar you are with this, but I'll give it a try.
I am using the free compiler Envelop Visual Basic, and I want to create a math program. After having succesfully tested it, I wanted to test it on another computer, to see if there were any bugs. I copied a number of dlls required, and when I executed the program I got the error message : "Abnormal program termination." And it won't work. I had the same configuration on the two PCs, all the necessary files were there, yet it doesn't work. The only thing which isn't the same is that the original PC OS is Win XP home, the other Win XP Professional. Could you help me?

Leslie
Lesliect6 is offline   Reply With Quote
Old Sep 20th, 2006, 7:14 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
What DLLs were required? Was it a standard EXE project?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Sep 22nd, 2006, 6:30 AM   #3
Lesliect6
Programmer
 
Join Date: Aug 2005
Posts: 68
Rep Power: 3 Lesliect6 is on a distinguished road
Thank you Ooble you were right, I did not copy some DLLs to the WINDOWS folder that was the problem! Thaks!
Lesliect6 is offline   Reply With Quote
Old Sep 22nd, 2006, 6:51 AM   #4
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I was right? I didn't suggest anything. :p

Congrats on fixing the problem.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Sep 22nd, 2006, 1:04 PM   #5
peace_of_mind
Professional Programmer
 
peace_of_mind's Avatar
 
Join Date: Sep 2004
Location: Hell if I know most of the time
Posts: 435
Rep Power: 4 peace_of_mind is on a distinguished road
Send a message via MSN to peace_of_mind Send a message via Yahoo to peace_of_mind
Ooble you're a genius.
__________________
Amateurs built the ark
Professionals built the Titanic

peace_of_mind is offline   Reply With Quote
Old Sep 22nd, 2006, 2:24 PM   #6
MBirchmeier
Hobbyist Programmer
 
Join Date: Oct 2005
Posts: 211
Rep Power: 3 MBirchmeier is on a distinguished road
Quote:
Originally Posted by Lesliect6 View Post
Thank you Ooble you were right, I did not copy some DLLs to the WINDOWS folder that was the problem! Thaks!
I'm not familiar with best practices on DLL's but isn't it better to keep/run them from the executable's directory rather than copying them into the windows directory? It just seems like it's opening up the opportunity for artifacts being left behind on the computer.

-MBirchmeier
MBirchmeier is offline   Reply With Quote
Old Sep 22nd, 2006, 2:52 PM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Given the outcome of bad coding and disorganization, it is probably better to keep your own .dll locally. The original idea, though, was to provide code reusability. You could even modify an existing .dll provided that you modified it in such a way that it was backwards compatible (didn't break anything that used it before). It didn't work well. Fortunately, the growth in mass-storage capabilites has allowed us to survive having ten-jillion copies of simple functions.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C# corruption!!! Kilo C++ 32 May 21st, 2006 8:44 PM
Masm rsnd Assembly 4 May 20th, 2006 9:05 PM
libraries matko C 1 Jan 22nd, 2006 2:12 PM
Runtime error R6034 Polyphemus_ C++ 4 Nov 27th, 2005 5:14 AM
Mono Runtime error. pr0gm3r C# 8 Oct 12th, 2005 3:10 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:32 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC