[Python.NET] Binary file passed to .Net object
"Alexander Masis" <[email protected]> Sat, 23 Jan 2021 00:30:12 -0000
| Newsgroups | gmane.comp.python.dotnet |
|---|---|
| Message-ID | <[email protected]> |
Hello, guys here is a prototype code:
exAsseblyRef = clr.AddReference("C:\ExamRecordHelper")
from ExamRecordHelper import *
loaderObj = ExamRecordLoader( 'MyBinaryFile.bin') <<<<<< Exception here.
On the 3d line the C# constructor ExamRecordLoader(String) is called - it can't create the object.
The actual exception is: "Column requires a valid DataType."
However, the same binary file used with native C# code: ExamRecordLoader( 'MyBinaryFile.bin') works with no errors.
Obviously something is happening when the binary file is being used by the C# class...
Any suggestions?
Thanks,
Alex.
_______________________________________________
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/
Member address: [email protected]