Home > Software engineering >  Mapx draw Point problem: run to the Point. The CreateDispatch (PNT) GetClsid ()); The pop-up "i
Mapx draw Point problem: run to the Point. The CreateDispatch (PNT) GetClsid ()); The pop-up "i

Time:02-06

Which senior can guide to have excuse me?
(version mapx4.0, vs2010)

//!!!!! To this one is out of the event functions 
GUID GUID.
Guid=Pnts. GetClsid ();//!!!!!! This one is out of the

Pnts. CreateDispatch (guid);

I put this code into the,

Found that event function performs to Pnts. GetClsid () dropped out,

CodePudding user response:

In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
  • Related