Hi Erel,
Thanks for the reply. Sorry for the confusion, actually, I dont mean compiling it. I meant loading it to B4PPC.
I was doing the normal structure using Layout.Explicit in C#, but, I didnt declare unsafe in the C#. I managed to compile it in C#. Use the dll file in b4PPC. When I call the dll, it prompt me error saying that cannot load the library. I checked in the b4PPC forum and noticed that Agraham was doing the same thing as well, but, using unsafe mode. I believe he managed to create the dll and use that in his code.
Hence, my question is that do I really need to do an unsafe mode in my code to be able to load the dll in b4PPC. Seems like b4PPC rejected that coding.
Please advise.
Thanks