Tuesday, February 07, 2012
unresolved external symbol _CATID_SEApplication (C++, VS 2008)
Last Post 28 Mar 2010 12:05 PM by AP. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
APUser is Offline
New Member
New Member
Posts:2

--
28 Mar 2010 12:05 PM  

I went through the "Solid Edge ST Addins - Part I" article and made the c++ project in Visual Studio Professional 2008.  The project compiled, but the linking was not sucessful.  I received the following error message:

1>Linking...
1>   Creating library Debug\L.lib and object Debug\L.exp
1>LAddin.obj : error LNK2001: unresolved external symbol _CATID_SEApplication
1>Debug\L.dll : fatal error LNK1120: 1 unresolved externals

 

Commenting out the following code will eliminate the linking error, but I still don't understand why this causes the linking error and I may very well want to handle a specific environment.

 

/* If you need to handle a specific environment, do the following. */

    if (IsEqualCLSID(clsidEnv, CATID_SEApplication))
    {
        /* Do something specific for this environment. */
    }

 

Anyone have any idea how to properly fix this linking error?  Thanks.

 

You are not authorized to post a reply.

Active Forums 4.2
Copyright © 2011 JasonNewell.NET