X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 30 Jun 2009 07:54 AM by  anon
IDL_ExecuteStr from DLL C++ thread
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
30 Jun 2009 07:54 AM
    Am able to load a C++ DLL and execute simple IDL commands from a thread. However, if that command is to call an IDL function with certain input values created via IDL_ImportNamedArray then the function generates an error dialog. That same function executes fine from the DLL's callable function. Has anyone tried something like this? The idea is to have IDL run several processes at once on portions of the same matrix, without having to make copies of the matrix. Thank you for any insights you can offer. Best, Peter.

    Deleted User



    New Member


    Posts:
    New Member


    --
    31 Jul 2009 01:45 AM
    Hi Peter, I have recently tried the "Callable IDL" technique from a Windows Console application developed using Visual C++ and was able to pass scalar and array values between C++ and IDL without any trouble. I haven't as yet looked at using it from a DLL, so perhaps I can't help you directly. I basically started by reproducing the example program that is supplied with IDL, then moved on from there to something more complex. I maybe wrong, but I think the documentation makes some comments regarding the use of threads and IDL in this way so it may be worth reviewing the help files if you've not already done so. I could just be clutching at straws as you don't mention what the error was - does this not give an indication of the problem? Cheers Si

    Deleted User



    New Member


    Posts:
    New Member


    --
    15 Jan 2010 02:28 PM
    Hi all, I wanted to use the callable IDL application and I have Microsoft Visual Studio 2005 (VC++  8.0). But, I am not able to compile the calltest.c code that is given in the IDL examples. When I open in the VC++ IDE, there is no option of Build or Debug in that. Can someone please give me a headstart on this as to where I am going wrong and what basics should  I strengthen before venturing in here? Any help will be sincerely appreciated. Thanks Rohit    
    You are not authorized to post a reply.