Source engine interfaces give access violation errors
1 replies, posted
I'm trying to use Source DLLs in my code. I wrote the interface loading code. Simple functions (like date to string or Unicode to ASCII conversion) work fine, but more complicated ones (like IFileSystem::AddSearchPath) give me access violation errors, either somewhere in DLL address space, on in completely different place. Can somebody help me?
I found the error.
I called the functions from C struct instead of C++ class, so I didn't pass this pointer to ecx.
Going to move from C to C++.
Close this thread.
Sorry, you need to Log In to post a reply to this thread.