in reply to Win32::OLE objects

I'm not sure if the errors I see are from copying and pasting incorrectly, but your code above seems to be missing a few $ symbols.

$LogObj->LogMessage($LogObj->{AppName}... $mylog = LogInit('LSEUI', 'UI', $thisloglevel);

Using strict and warnings will alert you to similar errors.

You should also check to see if the Win32::OLE call succeeds; if it returns an undefined object you'll have trouble.

Replies are listed 'Best First'.
Re^2: Win32::OLE objects
by anselmomh (Initiate) on May 06, 2005 at 19:29 UTC
    ya sorry i updated it so that LogMessage has the missing $ for $LogObj->{AppName} but my code already had it so that doesnt help me :(