Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   Envelop VB runtime error (http://www.programmingforums.org/showthread.php?t=11360)

Lesliect6 Sep 19th, 2006 2:49 PM

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

Ooble Sep 20th, 2006 7:14 AM

What DLLs were required? Was it a standard EXE project?

Lesliect6 Sep 22nd, 2006 6:30 AM

Thank you Ooble you were right, I did not copy some DLLs to the WINDOWS folder that was the problem! Thaks!

Ooble Sep 22nd, 2006 6:51 AM

I was right? I didn't suggest anything. :p

Congrats on fixing the problem.

peace_of_mind Sep 22nd, 2006 1:04 PM

Ooble you're a genius.

MBirchmeier Sep 22nd, 2006 2:24 PM

Quote:

Originally Posted by Lesliect6 (Post 114751)
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

DaWei Sep 22nd, 2006 2:52 PM

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.


All times are GMT -5. The time now is 6:14 PM.

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