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

Home » Public Forums » archive » Re: how to debug a IDL DLM routine
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to debug a IDL DLM routine [message #29274] Tue, 12 February 2002 11:25 Go to previous message
Richard Younger is currently offline  Richard Younger
Messages: 43
Registered: November 2000
Member
Hi Jujia.

I suggest going to your DLL project, and simply specifying the IDLDE
executable. It will start up a new instance of the IDLDE when you
select run. You can then call the functions in your DLL from the IDLDE
and debug them.


There is also a much dirtier method involving the use of a function like

inline int pause_IDL(void)
{
IDL_Message(IDL_M_NAMED_GENERIC, IDL_MSG_RET, "press any key...");
return(IDL_GetKbrd(1));
}

in your DLL code and attaching your debugger to the IDLDE process while
it's waiting for a key press from the keyboard.

Best,
Rich

--
Richard Younger


Xiaoying Jin wrote:
>
> Hi, big guys,
>
> I have a question here:
>
> how to debug a IDL DLM routine?
>
> I know a method if you can make a IDL program as a .exe file. but how
> to make a IDL program as a .exe file?
>
> In Visual C++ environment, in project->Settings->Debug, we can set
> executable for debug session. If we can make a IDL program as a
> executable file, we can debug it in VC step by step.
>
> If anyone can give me a hint about how to make a IDL program as a .exe
> file. Or is there any other method to debug a IDL DLM routine with
> Visual C++?
>
> Any suggestion will be appreciated.
>
> Jujia Jin
[Message index]
 
Read Message
Read Message
Previous Topic: Re: correction objects and call external
Next Topic: Displaying bitmap pictures

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

Current Time: Wed Oct 08 18:33:26 PDT 2025

Total time taken to generate the page: 0.00426 seconds