G'day pradeep,krishna,

"I tried to execute a normal perl script when the user locks his session... "

What code were you executing?

"It worked as usual without any extra code..., "

Were you expecting it to need extra code? Please expand upon this.

"but some of the functions of win32 package are not working as expected..."

What functions are these? How did you expect them to work? How did they they actually work? Would telling us what functions did work as expected be useful for us to help you?

"Do I need to add any extra code to execute those functionalities ..??"

Add extra code to what existing code? What functionalities are you trying to execute?

"Please help in solving this."

You've basically told us that you ran unspecified code which didn't include some other unspecified code that resulted in some unspecified functions working in some unspecified way. That's hardly a problem description and certainly insufficient information to provide any sort of solution.

You need to provide answers to the questions posed as well as any other information that would help us to help you. Please follow the guidelines in "How do I post a question effectively?" when formulating your response.

-- Ken


In reply to Re: How to execute win32 functions when the user session is locked. by kcott
in thread How to execute win32 functions when the user session is locked. by pradeep,krishna

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.