programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: looking at compiler output?

From: Bob Nash <RNash_at_smud.org>
Date: Tue, 18 Apr 2006 08:21:36 -0700

Well, yes someone does. Rick (alas, long gone) found a Windows syntax requirement for calling high order comm. ports using such a tool. Anyone who can use such a tool probably already knows what it is ;)

I suspect the present problem may be the calling convention (per the latest response). I remember getting bit by the Pascal vs. C calling convention once myself (ouch!).

-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com]On Behalf
Of Appert, Kevin
Sent: Monday, April 17, 2006 2:18 PM
To: sftalk_at_forth.com
Subject: [sftalk] looking at compiler output?

A somewhat related question...
     Does anyone still look at the assembly language generated by C (or
C++) compilers? Can the compilers still be coerced into spitting out
the assembly listing?
     Back in the old days, when I wanted to understand undocumented or
poorly documented calling conventions, I would write a known-working C
program and then look at the assembly. It wasn't particularly
insightful or sophisticated but it did work.
-----
o
o
o

We are trying to call a Swiftforth-generated DLL from a C++ routine, and
are
getting access violations that do not tell us much - has anyone
succeeded in
making calls to a forth-generated DLL from C++, and could you give us
some
advice? Is there something we need to do when using export: , or perhaps
there were other lessons learned in the process? Thanks.
o
o
o

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Tue Apr 18 2006 - 08:22:21 PDT

This archive was generated by hypermail 2.2.0 : Thu Dec 04 2008 - 03:04:21 PST