Posted by [IP Address: 63.53.110.182] 'Michael Mitlitsky' on August 22, 2001 at 19:11:33 EST:
I am running Tools 7.5 and am accessing Excel via the delivered CreateObject, ObjectDoMethod etc PeopleCode functions. I wrote code to detect if Excel is already running by calling an external function in the win32.dll library, FindWindowA. I declared it with an alias of FindWindow. I give the method, "XLMain" as the first arg and "" as the second. Although there is no errors, the FindWindow does not return a true value even through Excel is running. I believe it has something to do with the strings I am passing to the C function in win32.dll. Does anyone know anything about this?
Thanks
Michael