HI there,
I was experiencing similar problems when I installed VS8 on my machine at work for the first time. I noticed two things that might be helpful with this:
1. If you already have a "express" version of the MS build tools installed, uninstall it first.
2. Don't mess with the install...
Hi timoteius,
thanks for answering. My XP is updated to the latest patch. A mouse driver is actually not neccessary, since I have a HID compliant mouse. Nevertheless I am using the driver and whatever software came with the mouse. And if it were a driver issue, how come it works perfectly once...
Hi Folks,
I upgraded to a new system lately.
System
CPU: AMD 5200+
BOARD: ASUS M2N-SLI Deluxe
GFX: nVidia 8800 GTS
SYS: XP
Devices
USB: Mouse, Printer
PS2: Keyboard
using my old trusty Hama Gamer Mouse (5 Buttons, nothing fancy).
The mouse works fine except for the wheel. The...
Hello,
if you are using TCL 8.4.x you could do something like
set OUT_BOUND_QUE 100
set THREAD_NAME OUT_LAB
set STRNG "Connection %s is %s records behind"
set VAR [list $THREAD_NAME $OUT_BOUND_QUE]
set result [eval format [list $STRG] $VAR]
Eval expands all lists members to single...
The options differ in the usual way:
release build:
runtime: multithreaded-dll
no checking (small types, stack, ...)
struct alignment: standard
debug build:
runtime: multithreaded-debug-dll
full runtime checks
struct alignment: standard
I double and triple checked all settings and I am...
Hi folks,
I am building a self-registration capable dll using msvc. So I included something like
regsvr32 <mydll.dll>
in the post build step. Now, everything's fine as long as I release build the thing. The DLL is created and registered as it should be. Enter Debug build.
When I compile the...
Hi Jason,
I think it's not really that important (from the code point of view) whether your variables or static buffers are defined inside the lib or not. Since you want to build a static lib (no *.dll, or *.so) the resulting executable won't care in which object file the variables were...
Bong, this cannot work, since switch does not eval it's body.
The curly braces hinder the interpreter from substituting the value of $toto, whether locally or globally defined.
So the proc should look something like:
proc getproc {chiffre} {
switch $chiffre [list \
$::toto {set...
Hi,
a little more information would likely help solve your problem.
But I guess you want to link a TCL variable to a variable in your c++ program. So whenever you change the TCL var (using set, ...) the c++ var will be updated accordingly. All you have to do is call Tcl_LinkVar(interp...
Hi! Why don't you try something like this:
rename info info_original
proc info args {
switch [lindex $args 0] {
script {
# your script implementation
}
body {
# your body implementation
}
default {
return [uplevel...
Hi Lorey,
1. Define some breakpoints
2. press F5
3. enter the name of the executable which uses your DLL
4. debug the hell out of it!
:)
If this does not help you, you might want to be more specific about your problem.
Greetings,
LF28
Hi zby,
to use this twain_32.dll in TCL you have to create a DLL of your own which provides the interpreter with all the functions you need. You must use the TCL-C-Interface provided with the TCL-API.
I assume that you use some version of Microsoft Visual Studio.
Step 1: Create a Win32 DLL...
Hi,
to keep puts from appending "\n" to the end of your string, use the -nonewline option:
set in [open $fileName w]
puts -nonewline $in $someString
close $in
Regards,
Tobi
Hi,
# to prevent puts from going to the next line use
puts -nonewline "Hallo"
flush stdout
# to make puts restart the current line use
puts -nonewline "something\r"
flush stdout
Since you want the result look like an "helicopter animation" it is important that you call "flush stdout" after...
Your TCL Interpreter shows some strange behaviour there. First of all, an empty string is NOT converted to curly braces ({}). Only when using puts, empty list elements are represented this way -> {}.
If I run your program using
> foo ""
the result is:
string -
length - 0
char 0 -
char 1 -...
If I get you right you want to create the file name at runtime and pass it to the Tcl_EvalFile function. It seems you think that the string passed to this function is evaluated by the interpreter. AFAIK this is not true, instead the string is processed as it is.
So you have to do the file name...
If you want to read the contents of a directory use the "glob" command.
It returns a list of files and sub directories. Information on the files can be obtained with the file... set of functions (e.g. file isfile <fileName> or file isdirectory <fileName>)
Cheers,
Tobi
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.