
Originally Posted by
Tahngarthor
It appears this program may not be looking for the process correctly on x64.
I don't know very much about it but my understanding is that not much needs to be done to allow operation on an x64 system. Do you know how to make this change? (Given the source is included, it seems like it should be ok). Maybe just compiling it on an x64 system would do the trick? (is this working for anyone on a 64-bit OS?)
-edit- I had a thought, maybe you need to advance your nyzul progress at least once after starting the quest. (even if its not a multiple of 5) It could be a trigger, idk it's a long shot lol just throwing that out there.
-edit2- On my system, this for loop always fails to find the right process module:
foreach (ProcessModule pm in ps[0].Modules)
{
if (pm.ModuleName == "FFXiMain.dll")
It only finds ntdll.dll , wow64.dll , wow64cpu.dll and wow64.dll . wow64 = the emulation layer for running 32 bit applications (FFXI) on a 64 bit system. I could be wrong but it might be masking the actual ffximain.dll .
You are right, Wow64 if blocking you from reading the DLLs. But, you have it backwards! If you compile it as a 64 bit application it will break for this reason, if you leave it be it will work.
64 bit applications cannot read DLLs from 32 bit applications. You are getting this error because you have compiled WeaponChecker.exe as a 64 bit application. Perhaps by accident, because even if you use the 32 bit C# compiler, it will by default make a 64 bit anexecutable! To fix, change the first line of "run.bat" to
Code:
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\csc /t:winexe /platform:x86 *.cs
This will fix the problem, by making it compile WeaponChecker.exe as a 32 bit application.