Error -> Pic was never allocated
Author |
Message |
MyPistolsIn3D
![](http://tinypic.com/6f7cif.jpg)
|
Posted: Thu May 20, 2004 5:47 pm Post subject: Error -> Pic was never allocated |
|
|
Why am I getting this error? Whats it mean? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Dan
![](http://wiki.compsci.ca/images/archive/3/3c/20100325043407!Danspic.gif)
|
Posted: Thu May 20, 2004 6:27 pm Post subject: (No subject) |
|
|
it means the value you are sending to the pic comand is ehtere not a pic or that pic was not loaded right. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
![](images/spacer.gif) |
Pickles
![](http://www.boomspeed.com/mullets/walker.jpg)
|
Posted: Thu May 20, 2004 6:43 pm Post subject: ... |
|
|
code: | loop
cls
frenchplaney -= 5
missiley += 40
Pic.Draw (sky, 0, 0, picMerge)
Pic.Draw (frenchplane2, 100, frenchplaney, picMerge)
Pic.Draw (missile, 100, missiley, picCopy) %% this line here
View.Update
exit when missiley + 50 >= frenchplaney
end loop |
I think thats what you wanted, it looks like it hits him |
|
|
|
|
![](images/spacer.gif) |
beedub
![](http://www.boomspeed.com/hotnsizzley/bigpun_endangeredspecies_0103_loud-1.jpg)
|
Posted: Thu May 20, 2004 8:10 pm Post subject: (No subject) |
|
|
generally the problem is that the pictures arent in the same directory as ur program. Also, you need to make sure the picture is a .bmp and that u spelled the name of the file correctly. |
|
|
|
|
![](images/spacer.gif) |
Paul
![](http://i12.photobucket.com/albums/a207/paulbian/DDRDuck.png)
|
Posted: Thu May 20, 2004 8:11 pm Post subject: (No subject) |
|
|
not so in 3.11, you could have that problem in 3.11 for no reason at all, and if u restart it, it usually works. |
|
|
|
|
![](images/spacer.gif) |
MyPistolsIn3D
![](http://tinypic.com/6f7cif.jpg)
|
Posted: Fri May 21, 2004 2:44 pm Post subject: (No subject) |
|
|
Ya thx guys, problem was i forgot a "y" on "missiley". |
|
|
|
|
![](images/spacer.gif) |
|
|