Le lundi 7 décembre 2009 à 22:40:54, Guillaume Lelarge a écrit :
> Ashesh Vashi a écrit :
> > Hi Guillaume,
> >
> >
> > My fault, sorry. I'll work on your patch tonight.
> >
> >
> > I understand.
> > Here, everybody have some work with different priorities.
>
> I first tried on Linux and was unable to trigger the issues you're
> talking about. I then tried on Mac OS X, no success either. I finally
> tried on Windows, hoping that the Microsoft IDE will help me. Alas, all
> I got were these error messages:
>
> 1>frmQuery.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall ExplainCanvas::PrintPreview(void)"
> (?PrintPreview@ExplainCanvas@@QAEXXZ) referenced in function "private:
> void __thiscall frmQuery::OnPrintPreview(class wxCommandEvent &)"
> (?OnPrintPreview@frmQuery@@AAEXAAVwxCommandEvent@@@Z)
> 1>frmQuery.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall gqbView::PrintPreview(void)" (?PrintPreview@gqbView@@QAEXXZ)
> referenced in function "private: void __thiscall
> frmQuery::OnPrintPreview(class wxCommandEvent &)"
> (?OnPrintPreview@frmQuery@@AAEXAAVwxCommandEvent@@@Z)
> 1>frmQuery.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall ctlSQLBox::PrintPreview(void)"
> (?PrintPreview@ctlSQLBox@@QAEXXZ) referenced in function "private: void
> __thiscall frmQuery::OnPrintPreview(class wxCommandEvent &)"
> (?OnPrintPreview@frmQuery@@AAEXAAVwxCommandEvent@@@Z)
> 1>frmQuery.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall ExplainCanvas::Print(void)" (?Print@ExplainCanvas@@QAEXXZ)
> referenced in function "private: void __thiscall frmQuery::OnPrint(class
> wxCommandEvent &)" (?OnPrint@frmQuery@@AAEXAAVwxCommandEvent@@@Z)
> 1>frmQuery.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall gqbView::Print(void)" (?Print@gqbView@@QAEXXZ) referenced in
> function "private: void __thiscall frmQuery::OnPrint(class
> wxCommandEvent &)" (?OnPrint@frmQuery@@AAEXAAVwxCommandEvent@@@Z)
> 1>frmQuery.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall ctlSQLBox::Print(void)" (?Print@ctlSQLBox@@QAEXXZ) referenced
> in function "private: void __thiscall frmQuery::OnPrint(class
> wxCommandEvent &)" (?OnPrint@frmQuery@@AAEXAAVwxCommandEvent@@@Z)
>
> I checked everything I could think of. But to no avail. I must be tired,
> I really don't understand what's happening here. The linker can't find
> some functions, but they are there. The only possibility I see is that I
> don't have printing support on Windows, but I don't think so.
>
> Any ideas on my issues?
>
BTW, I tried to print a few explain, and they looked great. I'm gonna read
your patch now.
--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com