memory mapped file example

2020-10-03 Thread stefano cerbioni
hi guys i try to read a memory mapped file created with c++ , this is a c++ code that i have [code] #include #include #include #include #define BUF_SIZE 256 TCHAR szName[] = TEXT("MyFileMappingObject"); TCHAR szMsg[] = TEXT("Message from first process."); int _tmain() { HANDLE hMapFile;

strawberry installation TK fault

2020-11-28 Thread stefano cerbioni
hi guys anybody know why and how to resolve this issue ? C:\Users\stefano\Desktop\GuiAmu>perl GuiAmu.pl Can't locate Tk.pm in @INC (you may need to install the Tk module) (@INC contains: C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/

Re: strawberry installation TK fault

2020-11-28 Thread stefano cerbioni
> Immediately below that, you need to insert: > > #undef MAX > #define MAX(a,b) ((a)>(b)?(a):(b)) > > (The actual encGlue.c patch can be viewed at > https://www.perlmonks.org/?node_id=11121263). > > Cheers, > Rob > > > > On Sun, Nov 29, 2020 at 5:06 AM

question about change text in frame

2020-11-29 Thread stefano cerbioni
Hi guys i find in internet but nothing , how is possible change a text inside a frame ?? example i have this frame my $labeled_frame2 = $mw->LabFrame(-label => "FRAME",-labelside => "bottom")->pack(-fill => "x"); $labeled_frame2->Label(-text => "de ma de")->pack(); i try with this $labeled

question about stream data and tk

2020-12-09 Thread stefano cerbioni
hi guys i have a question is possible insert in listbox a TCP ipStream ? Does anyone have some examples about it ?? because I don't know where to start thanks

threds question with Tk

2020-12-14 Thread stefano cerbioni
hi guys i have created a script because i want a listbox and inside of them i want visualize a stream data , i understand for do that is necessary use threads first create a stream and second manages a Tk the problem is in Tk listbox appear only one time a data stream why ??, if anyone have some

socket recive problem

2021-04-02 Thread stefano cerbioni
hi i try to recive a stream string by a client (write in C++) , if i use netcat , work ok but when i use a script in perl work partially , recive "Connection recieved from $name\n";, but $name is blank , why ?? thanks this is a script use strict; use Socket; # use port 7890 as default my