Greetings,
im writing a simple chat application,
in this one, i wish to make a 'buddy' list. (comparable to msn messenger)
My 1st attempt was using a List-view control.
(allowing me to make a 'list' and add diferent icons)
All when well, except for the moment i wanted to do a right click menu...
how can i switch from c++ to c my hole (new) project ? *1
how can i determine the asm optimization ? *2
*1, ie use .c files (from the vc 'new' menu) and use C intead of c++
*2, my application will only run on a x type of cpu
how can i tell this to the compiler, to optimize for this type of cpu...
lets say i have this simple regex
"aYEPb" to "bYEPa"
$r =~ s/a(.+?)b/b$1a/gi;
now how can i do
"aYEcNOPEcPb" to "bYEPc"
hope im clear,
thanks for the help
<--
---------------------------------------
someone knowledge ends where
someone else knowledge...
hi just a question regarding home made modules :
lets my module is :
package somemodule;
sub somesub { print $_[0]; }
1;
so the script :
#!perl -W
use somemodule;
somemodule::somesub('hello');
will print hello
ok how can i make my module abort compilation if
in somesub $_[0] is not defined...
Greetings all,
Im having a trouble with a perl/Tk app of mine
im trying to ...well let me explain first
$nb is a Notebook widget
$entry is a Entry widget ($p1->Entry ...)
so im trying to set the focus on $entry each time
$p1 is raised i thought it would have been easy ...
but i didn't found a...
hi
i was just wondering if any of u know how
to configure back a Entry widget 'show' ?
let me explain :
i have an entry box (no show option on declare)
then i 'protect' this field on user request
sub { $entry_widget->configure(-show => '*'); }
now all data entered in the $entry_widget are *
(but...
I need to get my self i book and
i dont want to pay for only 10 pages ...
the book im seeking is a book that speeks :
- of perl (dah)
- Networking application (tcp/ip) (client/server)
- in the world of win32 (NT)
any one have a tip ?
i looked a this one below but ..only one chapter...
# hi , im having problems with fork on :
# nt , perl 5.6.1 built for MSWin32-x86-multi-thread
# the fork is in a simple sender/receiver 'client'
# the bug :
# when the 'client' send a message it freeze
# server dosen't receive until abort of client ????
# below are the bogus parts....any tip...
hi
i also asked my question in this thread616-277750
i was just wodering if any one ever been "auto shutdown" ?
this has happened to me twice
losing data.. (win2k create a FOUND.00x folder..)
- is anybody know if there is a auto-shutdown on cpu overheat?
- if so is there a...
hi
i was just wodering if any one ever been "auto shutdown" ?
this has happened to me twice
losing data.. (win2k create a FOUND.00x folder..)
- is anybody know if there is a auto-shutdown on cpu overheat?
- if so is there a "datafile" or something telling me what is going...
hi
i just want to know how to center a tk application
or get the screen width & height
curently i use a geometry method to place it on the screen
use strict;
require Tk;
use Tk;
my $main = new MainWindow
# ...
$main->geometry('+30+100');
#...
---------------------------------------
someone...
1:
on my 2kpro machine...
print $^O; # returns MSWin32
how can i be sure the client os is 2k ?
2:
how can i use the Open($Register,$hkey) here
to display all sub directory also.
this must also apply to GetKeys & GetValues methods
here what i got (this dont do sub! please optimize my...
i wanted to show someone....
now im the one needing help [lol]
on perl -c "find.pl syntax OK"
on run infinite time those two error
Use of uninitialized value in numeric eq (==) at C:\Documents and Settings\Administrator\Desktop\fin
d.pl line 30, <stdin> line 2.
Use of uninitialized...
can someone show me how to create a circle
NOT using some image tricks...
thanks ---------------------------------------
someone knowledge ends where
someone else knowledge starts
lets say u do
$value = system($command);
it will return a 0 or 1 depending if it succed
so i was wondering how to store
@value = ?????('perl -c $file');
# so that $value[0] contain the 1st error and so on...
thanks again (...i keep saying that to u guys [lol])...
im trying to get the 'dos buffer height' max
i have read C:\Perl\html\site\lib\Win32\Console.html
and dont seem do get it done...
what i am to achive is like this example
#!perlpath
$file; # lets say there is 3000 lignes in this file
open(FILE, "$file") || die "\ndead $!"...
in perl is there some variables like 'batch' %windir% ?
if so can someone point me to some doc of available vars
thnka again ---------------------------------------
someone knowledge ends where
someone else knowledge starts
lets say u have a program
than does x time a operation
how can show i progress (like " 12 % done " etc..)
without doing something like :
&do_operation;
print "1 % done";
&do_operation;
print "2 % done";
etc...
cause this could b false (say the operation are not the...
lets sat tomoromow i win the loto
can someone show me a link to buy freak servers
multiple cpu, xxxG rams etc.
thanks
someone knowledge ends where
someone else knowledge starts
if i have a cgi that somewhere in the code
open a file , read it , return the value
if two users request my cgi will there be a problem
like file violation or something
if so can some point the route to resolve this ?
thanks
someone knowledge ends where
someone else knowledge starts
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.