comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » R. Frank's extproc call for windows dll's (actually an old subject)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
R. Frank's extproc call for windows dll's (actually an old subject) [message #43563] Fri, 22 April 2005 07:12 Go to next message
darmstr is currently offline  darmstr
Messages: 9
Registered: April 2005
Junior Member
I'm trying to use Randall Frank's idltools to access a dll for the
Tektronix implementation of VXIpnp (see http://www.vxipnp.org/ or
http://www.tek.com/site/sw/detail/1,1059,3485,00.html) a subset of the
VXIpnp standard referred to as TekVISA. There are some
instrument/application specific details about this process that can
skipped for now, but in summary so far I'm having no luck, and IDL
continues to crash whenever I try "extproc_define()," however
"extproc_query" accesses the DLM no problem without crashing IDL. I've
tried testing the examples in the readme file using the msvcrt.dll and
user32.dll, and these also result in crashes of IDL. These tests are
done on a Tektronix version of Win2k that resides on the PC side of a
Tektronix TDS7154B oscilloscope. I realize this is a fairly specialized
application and it may be difficult for someone to provide guidence
here, but does anyone have any ideas why the example extproc_define()
calls lead to an IDL crash? I've programmed in IDl since about 1991,
but have essentially no experience with call_external, dll's, etc.

Thanks,

Darrell
Re: R. Frank's extproc call for windows dll's (actually an old subject) [message #43763 is a reply to message #43563] Wed, 27 April 2005 04:55 Go to previous message
ronn is currently offline  ronn
Messages: 123
Registered: April 1999
Senior Member
OK, I just uploaded the binaries for IDL 6.1 to the website.

http://www.kilvarock.com/freesoftware/dlms/randallfrank.htm

Ronn

KRS, inc.
email: r...@rlkling.com
www.kilvarock.com
Use these books to upgrade your IDL skills.
"Application Development with IDL"
"Calling C from IDL, Using DLM's to extend your IDL code". SECOND
EDITION includes C++ and debugging!
"Power Graphics with IDL, A Beginner's Guide to Object Graphics",
Re: R. Frank's extproc call for windows dll's (actually an old subject) [message #43779 is a reply to message #43563] Mon, 25 April 2005 15:00 Go to previous message
darmstr is currently offline  darmstr
Messages: 9
Registered: April 2005
Junior Member
Hi Ronn,

I didn't see your reply until 4/25, as I posted a simpler question
following this one that several people responded to. Yes, the source
code needs to be recompiled, and Karl Schultz at RSI did this for me.
In short, the examples using msvcrt.dll and user32.dll in the readme
file now work. You may want to recompile the source code on your web
site so others can use R. Frank's extproc_define, etc. with newer
versions of IDL.

Although those examples now work, I'm having some trouble using
extproc_define with the TekVISA dll. I can define commands OK, and
extproc_query on those commands seems to make sense, but I can't yet
communicate with the scope. When I know a bit more about this problem I
might post another question or two.

Thanks,

Darrell
Re: R. Frank's extproc call for windows dll's (actually an old subject) [message #43797 is a reply to message #43563] Sat, 23 April 2005 14:33 Go to previous message
ronn is currently offline  ronn
Messages: 123
Registered: April 1999
Senior Member
Hi Darrell,

Which version of IDL are you running? I may need to recompile the
source code for extrpoc...

Ronn Kling


KRS, inc.
email: ronn@rlkling.com
Use these books to upgrade your IDL skills.
"Application Development with IDL"
"Calling C from IDL, Using DLM's to extend your IDL code". SECOND
EDITION includes C++ and debugging!
"Power Graphics with IDL, A Beginner's Guide to Object Graphics",
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Q: call_external hangs IDL Windows GUI?
Next Topic: Re: IDL-Java bridge problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:15:38 PDT 2025

Total time taken to generate the page: 0.00736 seconds