Hi Community,
I reached out to Azure support via twitter and they suggested I post in here, for any help that might come my way.
I have a .Net5 Isolated function that is running some proprietary c++ dll's, that I have compiled as 64 bit, these run perfectly happy on my local debugging session, i.e --dotnet-isolated-debug, the code runs perfectly fine and I decided to pipeline everything and deploy the function and everything works except for one small snag.
One of the dll's can be called and invoked fine, the other dll gives me the dreaded Invalid image format which from my previous expereince is trying to run a 64 bit dll inside a 32 bit process or vice versa.
If I change the runtime on the function to 32 bit both dll's fail to load which is what I expect to happen, when I change back to 64 but runtime I thought this should be fine but when dll loads and the other does not.
On the dll's I have configured them for CLR support and I the Framework version is set to 4.6.2.
I used sigcheck and that seems to confirm that all of the dll's are 64 bit as I expected and I'm actually not quite sure what to do now and was hoping to maybe get some suggestions to look at, I'm so close with this and I'm just trying to get that final hurdle done.
Any hints or things to look at in terms of the dll's would be much appreciated as I don't think there is anything else I cna configure in the function runtime.
thanks
Michael