| 10-12-2002, 01:24 AM | #1 |
Guest | I'm able to call OpenArchive (ordinal 266) and pass in filename etc and I get back a valid handle and return code. However, when I go to call OpenFile (ordinal 268) the function returns false and the return code from GetLastError tells me the file was not found. So my question is, do I have to specify filenames in some special format when using storm.dll, or has the OpenFile function I want to call been moved to another ordinal, or what? Any ideas, hints or tips greatly appreciated! |
| 10-12-2002, 01:25 AM | #2 |
Guest | Okay so the number I mentioned for OpenFile was converted to an emoticon. It was 268. |
| 10-12-2002, 01:21 PM | #3 |
You should have a look there: http://shadowflare.ancillaediting.net/inside_mopaq/ There is some interesting stuff about Storm.dll and MPQs. Quantam may also be someone you may want to talk to: matrix.de.eu.dal.net #camsys (quantam=catafriggm) |
| 10-14-2002, 04:12 AM | #4 |
Guest | Ok, after much banging my head on my desk in frustration I finally figured it out. You have to call FileDestroy (ordinal #262) before you can successfully open a file in an MPQ. Someone please add this bit of info to the MoPaQ docs! It'll save people a lot of time in the future. |
| 10-14-2002, 05:48 PM | #5 |
If I talk to Quantam again, I'll let him know. I don't know if he will or not update it by the way. |
| 10-18-2002, 06:16 PM | #6 |
The reason it isn't mentioned in Inside MoPaQ (only the parts written by Quantam) is because the only way to use it that is shown is by using an import library. When you are using an import library to use the functions, you don't need to call that function. |
