|
|
От: |
catch
|
|
| Дата: | 01.11.04 13:48 | ||
| Оценка: | |||
S> {
S> FileStream *fs = new FileStream(strFileName, IO::FileMode::Open, IO::FileAccess::Read);
S> Byte ByteArray __gc[] = new Byte __gc[(int)fs->Length];
S> unsigned char __pin *buf = &ByteArray[0]; // !!! internal error
S> int nBytesRead = fs->Read(ByteArray, 0, (int)fs->Length);
S> ExternalFunction( buf, nBytesRead );
fs->>Close();
S> }
S> {
,,,
unsigned char __pin *buf = ByteArray[0];
,,,
}