I have succeeded in getting both Tcl 8.0.5 and TclBlend 1.2.3 built with
debugging info. Unfortunately, I still get a crash as soon as the tclblend.dll
is loaded. I turned on the debug flag in pkgIndex.tcl and everything seems in
order. I noticed a link warning associated with the tclblend.dll build as shown:

set LIB=E:\VS6.0\VC98\lib

E:\VS6.0\VC98\bin\link.exe /debug:full /debugtype:cv /NODEFAULTLIB /RELEASE
/NOLOGO /align:0x1000 /MACHINE:IX86 /entry:_DllMainCRTStartup@12 /dll
/out:tclblend.dll E:\Tcl\Tcl8.0.5\src\win\Debug\tcl80d.lib
E:\java\sun\jdk1.2.2\lib\jvm.lib msvcrtd.lib oldnames.lib kernel32.lib
advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib @C:\TEMP\nma00176.

LINK : warning LNK4108: /ALIGN specified without /DRIVER or /VXD; image may not
run

Creating library tclblend.lib and object tclblend.exp

I don't know if this warning can be ignored, but putting the /driver flag in the
link should not and did not solve the crashing problem and I can't imagine how
the /vxd flag would help. I am quite new to Visual Studio and do not quite know
how to set up debugging so that I can walk through the source code. I was able
to attach to the running tclsh80d process, but this only provides a disassembly
which is pretty much useless to me. I also tried to create a project from the
makefile, but this only created a project that contained one file --- the
makefile --- which was also useless. I assume that you can debug the dll and
trace into its source and probably trace into tcl 8.0.5 source as well.

Is there some way that I can set up Visual Studio so that I can debug Tcl 8.0.5
and the TclBlend dll using the source without having to build a project by hand?

If it does have to be done by hand, does some kind soul have a project for
Visual Studio 5 or 6 that they can send to me?


-=> Gregg <=-



----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
A list archive is at: http://www.findmail.com/listsaver/tcldallas/

Reply via email to