Shoey
How can I use a precompiled C/C++ dll in a C# project?
Maybe. I'm not familiar at all with pointers other than what I've read doing this. The debug info printout is reliant on was a string pointer and I couldn't find info on getting that working. I don't think they were used as pointers but there were also LPSECURITY_ATTRIBUTES, LPSTARTUPINFOW, and LPPROCESS_INFORMATION variables. I tried replicating them with struct and using the table linked above but that didn't really work either, just giving me memory access errors all around.
21 replies
How can I use a precompiled C/C++ dll in a C# project?
I am familiar enough with C to manipulate the example executable and get it to set up the VFS and launch a desired executable. Maybe I could write the GUI in C# and have it save the file system structure to a text file, then use a C executable as an in-between that can have the text file and the executable to launch with the VFS passed as arguments?
21 replies
How can I use a precompiled C/C++ dll in a C# project?
I understand the .h files in the includes folder in the example are setting up functions using the dll to be used in the main code but I'm not sure how I could translate what that shows over to C#.
21 replies