X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 18 Apr 2009 02:40 AM by  anon
HELP!!! I cannot export a COM using export bridge assistant!
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
18 Apr 2009 02:40 AM
    I want to export a IDL class to COM. I use the export bridge assistant. However, it always fails and gives the error information as following: devenv compiler must be in the path. I have tried time and time again, however, it still does not work. What's the problem? By the way, my computer installs Visual Studio 2005. In addition, I have added this directory "\Common7\IDE" into the IDL path. Does anybody know how to solve this problem? Or would you like to discuss it with me? Thanks!

    Deleted User



    New Member


    Posts:
    New Member


    --
    20 Apr 2009 09:36 AM
    Instead of adding it to the IDL path, what you will need to do is use the "Visual Studio 2005 Command Prompt" under the start menu under "Microsoft Visual Studio 2005" > "Visual Studio Tools" This will launch a command terminal environment that will be properly set up.  Now from that command prompt that you have opened, launch IDL just by doing this: >"C:\path\to\idlde.exe" -32   The -32 part is important, because only 32bit COM objects are supported for IDL as of the latest 7.0.6 release.  If you are running 32bit windows anyway, then you don't have to worry about the -32 switch. You could also try putting the Common7\IDE directory into the windows PATH environment variable, this may also fix this problem.  I usually use the VS command prompt option.  

    Deleted User



    New Member


    Posts:
    New Member


    --
    21 Apr 2009 09:01 PM
    aha, it does work now! Thank you so much. I confused the environmental variables PATH with the PATH in IDL!
    You are not authorized to post a reply.