Need help converting code.

Posts 16–17 of 17 · Page 2 of 2
Reason your iBytesRead didnt work is because it wasn't an Int, but a GC Pointer to an int, hence why the cast makes it work (in plain C++ you'd have a int *iBytesRead; and then to use the value you'd have to dereference it like int x = *iBytesRead; )

For your filestream issue - your download location is a folder but you don't specify a filename from what i can see. Try tacking on a filename
Quote Originally Posted by B1ackAnge1 View Post
Reason your iBytesRead didnt work is because it wasn't an Int, but a GC Pointer to an int, hence why the cast makes it work (in plain C++ you'd have a int *iBytesRead; and then to use the value you'd have to dereference it like int x = *iBytesRead; )

For your filestream issue - your download location is a folder but you don't specify a filename from what i can see. Try tacking on a filename
All this time that's all i was missing, i love you B1ackAnge1, Marry meh! <3
Posts 16–17 of 17 · Page 2 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us