From: Exchange CAPITALS for correct address on 5 Feb 2010 11:14 On Tue, 2 Feb 2010 02:47:35 -0800 (PST), Roger O <roger.oberholtzer(a)gmail.com> wrote: > >Surely running SWIG on the header files of the DLL to access is not so >very hard. SWIG does all the grunt work. You then call the functions >in the DLL with the same names and Tcl-ized arguments as in the C/C++ >code that is presumably also using this DLL. SWIG even goes one step >further and makes an interface to the data structures defined in the >header files, not just the functions. > >In the simplest case, it is one command that makes a bit of C code you >compile. Then, load your untouched DLL, and then load this wrapper. >Then get to work. > >I think the discussion here was more work/time than generating a Tcl >interface from SWIG... I suppose that You are absolutely right :-)) But unfortunately SWIG claims to miss Win98 support. Did You ever here the sentence: The software is getting slow faster than the hardware is getting fast? This is why i stay with Win98 as long as i can.Whenever computers are fast enough for me to run Win2000 i will have a second look to SWIG. Thanks and best regards Klaus
From: Uwe Klein on 5 Feb 2010 11:06 Exchange CAPITALS for correct address wrote: > On Wed, 03 Feb 2010 19:46:28 +0100, Jan Kandziora <jjj(a)gmx.de> wrote: > > >>Sockets + pure Tcl library. Or other things that are already in the Tcl >>development kit. Things other people already developed and put it into the >>environment. > > > I do not know, how i can use sockets in Tcl. I use built-in TCP as an > intermediate solution. But i need UDP as well. I may have got this wrong but: There is tcludp http://wiki.tcl.tk/8493 and the udp command from scotty ( though dated ) http://wiki.tcl.tk/220 uwe
From: Exchange CAPITALS for correct address on 5 Feb 2010 11:56 On Tue, 2 Feb 2010 04:04:12 -0800 (PST), Alexandre Ferrieux <alexandre.ferrieux(a)gmail.com> wrote: >Sorry, did my best to hilight the important questions. If it gets >emotional this fast, I prefer to give up. Fare well ! Sorry for offending You, this was not my intention. I just thought, that decorating a buzzword with more punctuation and parentheses to make the things even more ununderstandable is a very bad joke. I am still asking myself if You did this, because You yourself do not know ffidl good enough to give more advice, or because You like bad jokes. >Ah, what kind of company is that, where a Tcl newbie is assigned the >Tcl port of such a serious thing... >Defense ? Nuclear power plant ? Chilling... I like Your sarcasm :-)) I never said that i was assigned to port the whole program to Tcl. This was the proposal of Jan, which You called "wise words" and 100% supported him. Maybe You have changed Your mind ? Or like to give answers before reading question (attention:sarcasm!)? Tcl was used to make the user interface (GUI) and it was done by my brother, who is a beginner in Tcl _and_ in programming and he made a real nice job in short time. Tcl is now talking to the other tasks (the program is made from around 15 different tasks) via TCP. But as all other tasks are talking via shared memory, i would like Tcl to use the same channel and avoid the additional task of translating from TCP as there are already enough tasks started. The machine is a 2KW laser with production environment and You can burn nice holes in Your brain and it is useable to make a tattoo as well as an industrial heater (900 Kelvin) is useable for drying hair, the smell is similar! The customer made no rules for the programming languages, so i was free to choose whatever is appropriate and it was me to make the decision for Tcl. Now don't tell me that this was bad ;-) Best regards Klaus
From: Alexandre Ferrieux on 5 Feb 2010 12:08 On Feb 5, 5:56 pm, Exchange CAPITALS for correct address <Slaus.Keegeba...(a)gmx.de> wrote: > > Sorry for offending You, this was not my intention. > I just thought, that decorating a buzzword with more punctuation and > parentheses to make the things even more ununderstandable is a very > bad joke. What are you talking about ? What buzzword ? What punctuation ? What parentheses ? -Alex
From: Exchange CAPITALS for correct address on 6 Feb 2010 01:54 On Fri, 5 Feb 2010 09:08:36 -0800 (PST), Alexandre Ferrieux <alexandre.ferrieux(a)gmail.com> wrote: >What are you talking about ? What buzzword ? What punctuation ? What >parentheses ? ::ffidl::callout name {?arg_type1 ...?} return_type $address (where $address is obtained through ::ffidl::symbol). Best regards Klaus
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: Off Topic -- Leukemia Fund raiser Next: best option: tk + itcl + sqlite + threads? |