Re: simple linker prob and no clue
- From: "Lars Schmidt" <ivonneundlars@xxxxxxxxxxx>
- Date: Thu, 15 Dec 2005 01:25:01 +0100
Sorry,
forgot to say it is pure C++ code.
"Lars Schmidt" <ivonneundlars@xxxxxxxxxxx> schrieb im Newsbeitrag
news:dnqbs3$1mn$02$1@xxxxxxxxxxxxxxxxxxxx
> Hi everybody,
>
>
>
> I have got a serious problem creating a dll in VS2005. As I am new to
> embedded development I desperately need your assistance.
>
>
>
> I make the following steps that result in a linker error:
>
>
>
> - create a new project (MFC Smart Device DLL)
>
> - Create a Methods.h and Methods.cpp
>
> Within Methods.h I create a new class and an instance of it.
>
>
>
> class bitmap_compositor : public region_bitmap {
>
>
>
> }
>
>
>
> bitmap_compositor *compositor;
>
>
>
> The class region_bitmap got defined in another file that was included into
> the project (not in the same dir as the project itself).
>
>
>
> class region_bitmap {
>
> public:
>
> void set_bitmap();
>
> }
>
>
>
>
>
>
>
> In Methods.cpp I make the following call:
>
>
>
> compositor->set_bitmap();
>
>
>
> All this results in:
>
> Methods.obj : error LNK2019: unresolved external symbol "public __cdecl
> region_bitmap::set_bitmap()"
>
>
>
> I have the strange feeling I missed something very basic.
>
> Does anybody have an idea?
>
>
>
> Thanks
>
>
>
> Ivonne
>
>
.
- Follow-Ups:
- Re: simple linker prob and no clue
- From: Bruce Eitman \(eMVP\)
- Re: simple linker prob and no clue
- References:
- simple linker prob and no clue
- From: Lars Schmidt
- simple linker prob and no clue
- Prev by Date: simple linker prob and no clue
- Next by Date: Re: Certificates...
- Previous by thread: simple linker prob and no clue
- Next by thread: Re: simple linker prob and no clue
- Index(es):
Relevant Pages
|