X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 Jan 2010 01:29 PM by  anon
callable IDL
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
13 Jan 2010 01:29 PM
    Hi, I was trying to use callable IDL to call C programs from IDL. I tried by using the basic C examples given in the IDL libraray. But, everytime I compile and run the program, ALL_CALLEXT_EXAMPLES, I get an error saying that 'cl' is not recognized as an internal or external command, operable program or batch file. I checked and found that this is a command in the "makefile" file in the callable  folder. Is this a version related problem? I have been trying several methods to debug and understand this, but to no avail. Can anyone please help me out on this? Any help will be greatly appreciated! Thank you. Regards, Rohit Bhat

    Deleted User



    New Member


    Posts:
    New Member


    --
    28 Jan 2010 03:04 PM
    The 'cl' compiler is the compiler that installs with MS Visual Studio. IDL assumes that this compiler is present. The way to fix this, if you have MS Visual Studio installed, is to add the directory containing cl.exe is in your system PATH environment variable. The location is usually here: C:\Program Files\Microsoft Visual Studio 8\VC\bin The make file that you mention specifically is designed to use cl.exe as it's compiler as well. Also, another caveat: Callable IDL - Used to call IDL from C (or other language) call_external - Used to call C (or other) from IDL You can also create a COM wrapper to your IDL program which your C/C++/C#/VB program can call. Likewise you can create a Java class wrapper to do the same thing in Java. -Josh ITTVIS
    You are not authorized to post a reply.