Re: [python-win32] Missing memory de/allocation in com server causes APPCRASH?

2013-12-12 Thread Roger Upole
I'm guessing you have a 32/64 bit problem, as most XP installs are 32-bit. I'd take a closer look at hServer, since handles are pointer-sized (4 bytes on 32 bit and 8 bytes on x64). Roger "Wedel, Jan" wrote in message news:47ee7f193edc7e468e74bb0acfb17929011692c...@ex10mbox1b.hosting.inetse

Re: [python-win32] Missing memory de/allocation in com server causes APPCRASH?

2013-12-12 Thread Wedel, Jan
Ok, being pretty desperate, I tried a few ways of returning the data until I got it partially working. 1. I returned null pointers: return POINTER(OpcDa.tagOPCITEMRESULT)(), POINTER(HRESULT)() Obviously, it did not return any sensible data, but it did not crash! The client actu