You are viewing our Forum Archives. To view or take place in current topics click here.
16203 XNotify Help
Posted:

16203 XNotify HelpPosted:

XeMario1
  • New Member
Status: Offline
Joined: Jul 04, 201311Year Member
Posts: 3
Reputation Power: 0
Status: Offline
Joined: Jul 04, 201311Year Member
Posts: 3
Reputation Power: 0
Hello TTG,

I need help with XNotify.

I'm getting these errors:

Error 1: argument of type "PHANDLE" is incompatible with parameter of type "UINT32"
Error 2: argument of type "HANDLE" is incompatible with parameter of type "UINT32"


These errors are coming from this code:

UINT32 resolveFunct(char* modname, UINT32 ord)
{
        UINT32 ptr32 = 0, ret = 0, ptr2 = 0;
        ret = XexGetModuleHandle(modname, (PHANDLE)&ptr32);
        if(ret == 0){
                ret = XexGetProcedureAddress((HANDLE)ptr32, ord, &ptr2);
                if(ptr2 != 0)
                        return(ptr2);
        }
        return(0);
}


I would greatly appreciate some help
#2. Posted:
F3ARLE55Modding
  • New Member
Status: Offline
Joined: Mar 23, 201311Year Member
Posts: 9
Reputation Power: 0
Status: Offline
Joined: Mar 23, 201311Year Member
Posts: 9
Reputation Power: 0
Are you coding in c++?
And is it for a MW2 Menu?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.