@juanvan Nop, there's a LIB I'm accessing through a RuntimeComponent project (in C++) and then, the C# one calls access methods in that RuntimeComponent project
@juanvan That's why I'm linking 2 projects, then i have this object in C++ being called from my C# one. So far, it has worked. The only roadblock I have is that 'out' modifier which I don't know why is coming up
@KalaJ ok, now I get *"The best overloaded method match for processFrame(int,int,out byte, int) has some invalid arguments Argument 3: Cannot convert from 'System.IntPtr' to 'out byte'*
@KalaJ I have a Windows phone app that is using a RuntimeComponent (which is actually a wrapper to use a library) and now, I rebuilt the project after removing the 'outs' but...now, now the Phone app one is not finding the Runtime one after cleaning and rebuilding. Loving VS
@juanvan so if my function in C++ is like int processFrame(int width, int height, BYTE* memStream, int size); , adding 'out' to all arguments will fix it?
Hi guys! Ahm, I wonder if anyone could give me a hint as to why VS would tell me the there's something wrong with my arguments. I'm calling a function -that belongs to a C++ module- as myObj.processFrame(_writeableBitmap.PixelWidth, _writeableBitmap.PixelHeight, pnt, pixels.Length);. I don't know why it shows me this 'out' modifier in the error message.
@BenjaminDiele yups. I was making Android apps previously and that was pretty easy because everything can be found with not so much effort, it's understandable and makes sense
@MoonOwlPrince yay! Thanks!! :D @RoelvanUden that's one of my fears. I don't know why the official documentation for Windows Phones is kinda scattered and kinda duplicated but in an odd way
Hi guys, hope you're having a nice almost-summer Monday :) I'm new to WP apps and so I'm struggling a bit to add some features to my first one :( I have this static library and the header files, trying to create a DLL wrapper so I can use it in my actual app. Problem is I keep getting this: "Not a .NET assembly/ActiveX control" message. The closest thing I found was that I should add the .LIB to as a dependency but now...I'm stuck.
@thecoshman so Gravatar controls SO chat pics? I mean, yes, this pic get pulled from Gravatar but it also works fine over there. Oh well, it only looks weird with the rectangle but I can live with that
@MartinJames & @R.MartinhoFernandes So it doesn't matter that there's a value 'cause it might as well be a garbage value? Yeah, actually C++ is not my forte but this summer...well, things changed rapidly :S
Hi guys :) I'm sorry to disturb you but I have a question which is making me go crazy. Any ideas as to why"Access violation" would come up even if the reference is public, not NULL and it's only being accessed at by 1 instance of the class?