When I use the preprocessor command @SAMPLE, compiled programs refuse to run. They run from the IDE just fine. Replacing with LoadSample() seems to fix the problem. (When using Hollywood 4.8, this was not a problem)
Using Hollywood 5.0 under Windows 7
@SAMPLE won't run when compiled in Hollywood 5.0
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: @SAMPLE won't run when compiled in Hollywood 5.0
Can't reproduce this here. I compiled the Bouncing Ball example which uses @SAMPLE for Windows and it works just fine. What is the error message?
Re: @SAMPLE won't run when compiled in Hollywood 5.0
No error message. Just won't run when compiled. (Runs from IDE without a problem)
I'm thinking it has something to do with the samples themselves, now that I've confirmed that the Bouncing Ball example will compile and run properly under Hollywood 5.0.
These same samples that I have been using under Hollywood 4.8 without a problem won't run when compiled under Hollywood 5.0 when using @SAMPLE. Switching to LoadSample() solves the problem in all cases anyway.
Again, I think it's the data itself. Just odd that it works in the IDE and not the compiler.
I'm thinking it has something to do with the samples themselves, now that I've confirmed that the Bouncing Ball example will compile and run properly under Hollywood 5.0.
These same samples that I have been using under Hollywood 4.8 without a problem won't run when compiled under Hollywood 5.0 when using @SAMPLE. Switching to LoadSample() solves the problem in all cases anyway.
Again, I think it's the data itself. Just odd that it works in the IDE and not the compiler.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: @SAMPLE won't run when compiled in Hollywood 5.0
Strange, can you upload a sample that causes this behaviour so that I can see what's wrong there?
Re: @SAMPLE won't run when compiled in Hollywood 5.0
Sorry, I don't see where to upload on this forum.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: @SAMPLE won't run when compiled in Hollywood 5.0
It's not possible to upload it directly to this forum but you could use a public file hoster or send it to me via email.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: @SAMPLE won't run when compiled in Hollywood 5.0
Thanks for sending the sample. I can reproduce this now. It's clearly a bug and will be fixed.