Re: [racket] absolute path bug

2010-10-10 Thread 김태윤
hello thank you for your replying does your code works in your environment properly? it works properly when I run without compiling but when I try to compile, sort of error occur. so I change my style to (define hero (bitmap "location of image")) but it doesn't works either in other computer unless

Re: [racket] absolute path bug

2010-10-10 Thread Stephen Bloch
It sounds like what you really want is an .exe file that contains the image directly, so you don't have to worry about what directory the .exe file or the .bmp file are in. Fortunately, DrRacket recognizes images as literals: you can just copy and paste an image into the source code. So if I w

[racket] absolute path bug

2010-10-10 Thread 김태윤
hello thank you for your replying and effort I am sorry to say like this unfortunately the following code working same as (bitmap "run.bmp") it means 1. sourcefile is in c:\ 2. run.bmp is in c:\ 3. make exe 4. it works! 5. but.. when I change both run.bmp and exe to other folder, it doesn't work 6