Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sebastiannielsen

  1. sebastiannielsen

    stream data from LWP?

    i mean LWP::UserAgent
  2. sebastiannielsen

    stream data from LWP?

    Im building a transparant antiSSL-proxy in perl. In have a: RewriteRule ^/(.*)$ /nph-netscript.cgi/$1 in the apache.conf file. If an user uploads a big file, it gets timeouted. This because first: User uploads whole file LWP uploads file to the server given in $ENV{'HOST'} LWP downloads all...
  3. sebastiannielsen

    PInvokeStackImbalance when Openprocess

    im using the value for the constant PROCESS_TERMINATE which evaluates to "1". But if that was the wrong, the function would only return a zero value (function failed), not crash application and return the error PInvokeStackImbalance.
  4. sebastiannielsen

    Personalised Logon screens...How?

    search for winlock on www.codeproject.com Download the "demo" application, you will find an DLL in the zip file. Pack this DLL along with your application. In the demo application, you will find instructions on how to call specific methods to the DLL. Some methods are about disabling...
  5. sebastiannielsen

    PInvokeStackImbalance when Openprocess

    How i do to create a 32 bit long in .NET?
  6. sebastiannielsen

    Personalised Logon screens...How?

    Or you can build your own logon application and then rename explorer.exe to logonsucess.exe, then you place your own logon application instead of explorer.exe Startup logonsucess.exe when the user has suceed logon in your application. Make sure to disable CTRL+ALT+DEL in your logon application...
  7. sebastiannielsen

    PInvokeStackImbalance when Openprocess

    I always get the error PInvokeStackImbalance when im trying to call OpenProcess in my VB 2005 application I have declared Openprocess as following: Private Declare Function OpenProcess lib "kernel32.dll" (ByVal dwDesiredAccess as long, ByVal bInheritHandle as boolean, ByVal dwProcessId as long)...
  8. sebastiannielsen

    problems with keybd_event

    Im trying to send keyevents to my server: $sendkbd = Win32::API->new('user32.dll', 'keybd_event', 'NNNN', 'V'); if ($kbd) { @dta = split("",$kbd); foreach $k (@dta) { $e = ord($k); $sendkbd->Call($e, 0, 0, 0); $sendkbd->Call($e, 0, 2, 0); } } but when im testing in notepad, the current date...
  9. sebastiannielsen

    convert letter into ASCII

    a star for you, duncdude. My VNC script is getting closer and closer to "completed" now...
  10. sebastiannielsen

    convert letter into ASCII

    I need some function, for converting letter codes into ASCII values. example: lettercode('A') should return 65
  11. sebastiannielsen

    send data to mouse/keyboard in perl?

    I need 3 subs: first: MouseClick(var1, var2) the var1 should contain 1 for left and 2 for right var2 should contain 1 for one click, 2 for hold down button and 3 for relase. The MouseClick should send mouse events to the computer perl is running on. second: SpecialKbd(var1, var2) var1 should...
  12. sebastiannielsen

    using perl imbedded in a .html page...currently using .pl to generate

    use fake paths: $path = $ENV{'PATH_INFO'}; an call to: http://www.mydomain.com/index.cgi/images/image01.jpg will cause $path to contain: 'images/image01.jpg' You must in some way replace the first / with /index.cgi/ Maybe anyone else can tell you how you replace the first / to /index.cgi/...
  13. sebastiannielsen

    Run perl.exe in Interactive WindowStation?

    I have solved the problem partially: If i run the apache from command-line, the function returns "1" and suceed. (mouse pos changes) But when im running the apache from the apache control (so its started as service), the script returns 1459 (Requires interactive windowstation) Can I in the...
  14. sebastiannielsen

    problem with LWP: "POST"

    The $req variable contains when its ready for dispatch to $ua->request: bless( {'_content' => 'ENABLE_SSH=on&ENABLE_SSH_PROTOCOL1=on&ENABLE_SSH_PORTFW=on&ENABLE_SSH_PASSWORDS=on&ENABLE_SSH_KEYS=on&ACTION=Spara','_uri' => bless( do{\(my $o = 'https://ipcop.localdomain:445/cgi-bin/remote.cgi')}...
  15. sebastiannielsen

    problem with LWP: "POST"

    buffer contains: 'ENABLE_SSH=on&ENABLE_SSH_PROTOCOL1=on&ENABLE_SSH_PORTFW=on&ENABLE_SSH_PASSWORDS=on&ENABLE_SSH_KEYS=on&ACTION=Spara' @_ contains in _set_content: [bless( {'_content' => '','_uri' => undef,'_headers' => bless( {'content-type' =>...

Part and Inventory Search

Back
Top