Home > Archive > SQL Anywhere ultralite > September 2005 > Ultalite in Windows XP - Linker Errors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Ultalite in Windows XP - Linker Errors
Timothy Dean

2005-07-29, 8:23 pm

I am able to link fine when I am set to multibyte in Windows, I have
UL_USE_DLL defined, and I link to the ulimp.lib file. When I change to
unicode, I have UL_USE_DLL and UNICODE defined, and link to ulimpw.lib, I
get linker errors. Is there something I am missing? Here is an example
error:

PSMobileWin32Basic error LNK2019: unresolved external symbol
" __declspec(dllimport
) public: __thiscall ULValue::ULValue(wch
ar_t const *)"
(__imp_?? 0ULValue@@QAE@PB_W@Z
) referenced in function "public: bool
__thiscall CCursorListData::ini
tializeMainDatabase(
class CMDFString const
&,class CMDFString const &)"
(? initializeMainDataba
se@CCursorListData@@
QAE_NABVCMDFString@@
0@Z)

Timothy Dean


Michael Thode

2005-08-02, 11:23 am

What version of the compiler and ultralite are you using?

Mike

"Timothy Dean" <tim. dean@mobiledataforce
.com> wrote in message
news:42ea80c5$1@foru
ms-2-dub...
> I am able to link fine when I am set to multibyte in Windows, I have
> UL_USE_DLL defined, and I link to the ulimp.lib file. When I change to
> unicode, I have UL_USE_DLL and UNICODE defined, and link to ulimpw.lib, I
> get linker errors. Is there something I am missing? Here is an example
> error:
>
> PSMobileWin32Basic error LNK2019: unresolved external symbol
> " __declspec(dllimport
) public: __thiscall ULValue::ULValue(wch
ar_t const

*)"
> (__imp_?? 0ULValue@@QAE@PB_W@Z
) referenced in function "public: bool
> __thiscall CCursorListData::ini
tializeMainDatabase(
class CMDFString const
> &,class CMDFString const &)"
> (? initializeMainDataba
se@CCursorListData@@
QAE_NABVCMDFString@@
0@Z)
>
> Timothy Dean
>
>



Timothy Dean

2005-08-03, 8:23 pm

Ultralite 9.0.2.3044
Visual Studio .NET 2003
I am using the C++ component API for ultralite.

Tim

"Michael Thode" < mthode_no_spam@sybas
e.com> wrote in message
news:42ef9557$1@foru
ms-1-dub...
> What version of the compiler and ultralite are you using?
>
> Mike
>
> "Timothy Dean" <tim. dean@mobiledataforce
.com> wrote in message
> news:42ea80c5$1@foru
ms-2-dub...
I[color=darkred]
> *)"
const[color=darkred]

>
>



Tim McClements

2005-08-25, 8:23 pm

Have you resolved this? It looks like everything you're doing is correct
(which is why I suspect no one has replied to your post).

- Tim


"Timothy Dean" <tim. dean@mobiledataforce
.com> wrote in message
news:42f114ba@forums
-1-dub...
> Ultralite 9.0.2.3044
> Visual Studio .NET 2003
> I am using the C++ component API for ultralite.
>
> Tim
>
> "Michael Thode" < mthode_no_spam@sybas
e.com> wrote in message
> news:42ef9557$1@foru
ms-1-dub...
> I
> const
>
>



Timothy Dean

2005-09-09, 8:23 pm

I have not resolved this yet. I am hoping maybe the latest download will
solve the problem. If I compile as Multibyte, it seems to work fine. I
will retry unicode shortly.

Timothy Dean

"Tim McClements" < mcclemenXnospam@syba
se.com> wrote in message
news:430e43a2$2@foru
ms-1-dub...
> Have you resolved this? It looks like everything you're doing is correct
> (which is why I suspect no one has replied to your post).
>
> - Tim
>
>
> "Timothy Dean" <tim. dean@mobiledataforce
.com> wrote in message
> news:42f114ba@forums
-1-dub...
to[color=darkred]
ulimpw.lib,[color=darkred]
example[color=darkre
d]
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com