-
-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cs] unable to link System.Data.dll #4151
Comments
Can confirm it doesn't work for me as well:
|
Looking at the code, IL reader encounters unknown method calling convention (0x2), which seems to be an "unmanaged" call (https://msdn.microsoft.com/en-us/library/ms231596(v=vs.110).aspx) |
another error found
result:
|
Having no knowledge to OCaml, but I just looked into the code and seems that https://github.com/HaxeFoundation/ocamllibs/blob/master/ilib/ilMetaReader.ml#L277 does handle the 0x2 to 0x4 cases. So will it work by simply adding back the cases around line 570? |
Having no knowledge of this IL I would concur. In fact this part looks like it wants to be factored out to a function which both places can call. |
Does this have to be a fatal error or could this be handled on a per-function/class basis? |
Right now, all errors in net-lib are fatal errors. I could add some resilience to dll reading, but this may mean that a wrong read could add a lot of garbage to the dll without us being able to know what exactly happened. Right now I prefer to read a lot of dlls from net-lib and make sure it reads them well, and still keep this behaviour. |
I'll make a pass on -net-lib reading for 3.3 |
@waneck is this relevant for 3.3 or should we postpone this issue? |
I run also in this issue:
used the dll: https://github.com/lordmulder/DynamicAudioNormalizer |
@lublak please, provide a direct link to dll, so that when we get to solving this issue, we know exact commit in that repo. Otherwise dll might change in future and we won't be able to reproduce. |
@RealyUniqueName okay here We Go: https://github.com/lordmulder/DynamicAudioNormalizer/releases/download/2.10/DynamicAudioNormalizer.2017-04-14.Windows-DLL.zip |
build.hxml:
results:
The text was updated successfully, but these errors were encountered: