Alaska Software Inc. - Linker problem
Username: Password:
AuthorTopic: Linker problem
Itai Ben-ArtziLinker problem
on Sat, 06 Jun 2015 00:47:06 -0700
Hi Alaska,
Why am I getting the error message “error ALK2102: unresolved external 
symbol ACTIVEXOBJECT” with 575?  How to fix this?
-Itai
Andreas Gehrs-Pahl
Re: Linker problem
on Sat, 06 Jun 2015 15:35:15 -0400
Itai,

>Why am I getting the error message “error ALK2102: unresolved external 
>symbol ACTIVEXOBJECT” with 575?  How to fix this?

If you RTFM under "ActiveXObject()", you will find that it requires the 
following files: "ActiveX.ch" and "AsCom10.lib".

The "ActiveX.ch" file also contains a #pragma Library("AsCom10.lib"), so all 
you need to do is add: #Include "ActiveX.ch" to your program file(s). Adding 
the "ActiveX.ch" and "AsCom10.lib" files also to your Project file might 
also be a good idea.

You will need to do that, whenever you want to use any kind of COM/ActiveX 
(OCX) automation objects or controls in your code.

If you already have those header and library files included in your project 
and still get an error message, make sure that your development environment 
is complete and all the necessary files can be found.

Hope that helps,

Andreas

Andreas Gehrs-Pahl
Absolute Software, LLC

phone: (989) 723-9927
email: Andreas.GP@Charter.net
web:   http://www.AerospaceFirst, -History.net
Itai Ben-ArtziRe: Linker problem
on Sat, 06 Jun 2015 23:53:53 -0700
Thanks, Andreas!
That works.
-Itai