Abridged summary of comp.lang.tcl@googlegroups.com - 30 updates in 7 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 30 updates in 7 topics

comp.lang.tcl mailing list
Alexandru <[hidden email]>: May 15 02:03AM -0700

Hi,
 
I have a C extension for Tcl which is compiled using:
 
Compile in console C:\msys\msys.bat:
cd "C:/mingw-w64/mingw64/bin"
gcc C:/c2tcl_src/checksum.c -shared -o C:/c2tcl_src/checksum.dll ...more
Harald Oehlmann <[hidden email]>: May 15 11:14AM +0200

Am 15.05.2019 um 11:03 schrieb Alexandru:
 
> Any idea, how to solve this?
 
> Many thanks!
> Alexandru
 
a) be sure that the Windows extension is compiled with Unicode enabled:
#define _UNICODE ...more
Alexandru <[hidden email]>: May 15 02:29AM -0700

Am Mittwoch, 15. Mai 2019 11:15:01 UTC+2 schrieb Harald Oehlmann:
 
> WinAPICallWitStringArgument( (TCHAR *)Tcl_DStringValue(& sPar1) );
 
> Hope this helps,
> Harald
 
Hi Harald, thanks for the ...more
Harald Oehlmann <[hidden email]>: May 15 01:08PM +0200

Am 15.05.2019 um 11:29 schrieb Alexandru:
>> Harald
 
> Hi Harald, thanks for the quick help.
> I would like to try the "#define _UNICODE" first, but where should I set this option? I'm not really ...more
Alexandru <[hidden email]>: May 15 04:24AM -0700

Am Mittwoch, 15. Mai 2019 13:08:15 UTC+2 schrieb Harald Oehlmann:
 
> place it above #include <windows.h>
 
> > I also tried to integrate your code snippet but I get an error about the ...more
Alexandru <[hidden email]>: May 15 04:33AM -0700

Am Mittwoch, 15. Mai 2019 13:08:15 UTC+2 schrieb Harald Oehlmann:
 
> place it above #include <windows.h>
 
I found C:\mingw-w64\mingw64\x86_64-w64-mingw32\include\windows.h and added #define ...more
Alexandru <[hidden email]>: May 15 04:48AM -0700

Am Mittwoch, 15. Mai 2019 13:08:15 UTC+2 schrieb Harald Oehlmann:
 
> No, "WinAPICallWitStringArgument" is your api-call to open the file.
 
 
Look like your code snippet is working now. ...more
Rich <[hidden email]>: May 15 02:15PM

> the checksum function. I did some research an found
> Tcl_DStringResult but this also returns a Tcl_DString... How can I
> convert the types here?
 
You /may/ want to look at the manpage for ...more
Alexandru <[hidden email]>: May 15 08:57AM -0700

Am Mittwoch, 15. Mai 2019 16:15:51 UTC+2 schrieb Rich:
> > convert the types here?
 
> You /may/ want to look at the manpage for the Tcl_FSGetNativePath()
> C level function.
 
...more
Rich <[hidden email]>: May 15 04:28PM

>> C level function.
 
> Thanks Rich but I don't see how that function could help in
> converting Tcl_DString to a normal string.
 
It does not, it replaces your dstring mess.
...more
Ralf Fassel <[hidden email]>: May 15 07:05PM +0200

* Rich <[hidden email]>
--<snip-snip>--
| >> You /may/ want to look at the manpage for the Tcl_FSGetNativePath()
| >> C level function.
| >
| > Thanks Rich but I don't see how that ...more
Alexandru <[hidden email]>: May 15 11:11AM -0700

Am Mittwoch, 15. Mai 2019 18:28:11 UTC+2 schrieb Rich:
> mistaken, seems to be your request. You've got a Tcl string that you
> want to obtain a suitable char * style string for passing to open() ...more
Rich <[hidden email]>: May 15 07:30PM

>> fopen().
 
> Okay, so from the help I read "Tcl_FSGetNativePath(pathPtr) ". What
> is pathPtr? is it the pointer to a C string? Or is it objv[1]? I
 
Passing in a Tcl_Obj pointer seems to ...more
Ralf Fassel <[hidden email]>: May 15 12:57PM +0200

* Markus Elfring <[hidden email]>
| > The only point where your code reads from the connection
| > (proc handle_connection) just appends what was read to a global TSV variable ...more
Markus Elfring <[hidden email]>: May 15 05:15AM -0700

> …, so all data of one connection come in one big chunk, …
 
This should happen here so far.
 
 
> Do you have control over the remote side?
 
Yes. - I constructed also the test data provider ...more
Ralf Fassel <[hidden email]>: May 15 06:12PM +0200

This:
 
proc finished {} ...

thread::mutex lock $sm
 
try \
{
if [tsv::exists ${context} ...more
Markus Elfring <[hidden email]>: May 15 11:42AM -0700

> sounds fishy to me.
 
Why?
 
This code part can indicate also an implementation detail where
I am occasionally struggling with unexpected software behaviour.
 
 
 
> lock
> while test ...more
tombert <[hidden email]>: May 14 09:49PM -0700

> for a few small scripts, far from stretching its the limits)
 
> --
> {ricardo from kozmate.net}
 
... oldish ... haa!
...more
[hidden email]: May 14 09:51PM -0700

> There are some distributions listed at the TCLers wiki:
> https://wiki.tcl-lang.org/page/Binary+Distributions
 
Yes, I know them. Thank you anyway. It seem, that for the future, I have to switch ...more
[hidden email]: May 14 09:58PM -0700

Am Mittwoch, 15. Mai 2019 06:49:45 UTC+2 schrieb tombert:
> ... oldish ... haa!
 
Ancient! :-) - No, seriously, I appreciate all these packages. ActiveTcl was just, what I was used to, when I had to ...more
Arie van Wingerden <[hidden email]>: May 14 11:19PM -0700

On this page https://www.activestate.com/products/activetcl/ there is a red hyperlink saying "Download ActiveTcl Community Edition", which leads to the installation buttons. It appears you need to ...more
[hidden email]: May 14 11:30PM -0700

Am Mittwoch, 15. Mai 2019 08:19:03 UTC+2 schrieb Arie van Wingerden:
> On this page https://www.activestate.com/products/activetcl/ there is a red hyperlink saying "Download ActiveTcl Community ...more
Aldrick <[hidden email]>: May 14 11:26PM -0700

The only ladies of U.S Declares discovered his affiliates about the Online, and vice versa.
 
Free Sign up Now: http://freeonlinedatingsites.strikingly.com/
...more
Alexandre <[hidden email]>: May 14 11:29PM -0700

find a women for fuck tonight near me
 
Join Now: http://freeonlinedatingsites.strikingly.com/
...more
Aldrich <[hidden email]>: May 14 11:25PM -0700

will send the email to you each week or month.
 
Click Now: http://freeonlinedatingsites.strikingly.com/
...more
heinrichmartin <[hidden email]>: May 14 02:21PM -0700


> > Hmm, are you suggesting another Tcllib module, the "bitfield" or
> > "bitarray" module?
 
> Perhaps this could be part of the core [array] command.
 
Actually, ...more
[hidden email]: May 14 03:52PM -0700

On Tuesday, May 14, 2019 at 2:21:08 PM UTC-7, heinrichmartin wrote:
> Actually, https://www.tcl-lang.org/cgi-bin/tct/tip/418.html already describes an API.
 
This tip is 7 years old, is there any ...more
Rich <[hidden email]>: May 14 11:56PM

>> Actually, https://www.tcl-lang.org/cgi-bin/tct/tip/418.html already
>> describes an API.
 
> This tip is 7 years old, is there any chance it will be implemented?
 
Implementation requires ...more
[hidden email]: May 14 06:39PM -0700

On Tuesday, May 14, 2019 at 4:56:58 PM UTC-7, Rich wrote:
 
> Implementation requires someone to *do* the work. Are you
> volunteering?
 
I'm more known for hair-brained suggestions. ...more
Roberto Gorini Osm Network-Srl Milano-Lugano <[hidden email]>: May 14 02:48PM -0700

E' UN PEDOFILO INCULA ED AMMAZZA BAMBINI: DANIELE MINOTTI! CRIMINALISSIMO AVV DI GENOVA E RAPALLO! E' STALKER ASSASSINO VIA INTERNET NONCHE' PEDERASTA CHE STUPRA ED UCCIDE I BAMBINI: DANIELE MINOTTI, ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].