Mega Search
23.2 Million


Sign Up

Make a donation  
Tprinter  
News Group: embarcadero.public.cppbuilder.language.cpp

Hi

I have :


#include 

TPrinter *Prntr = Printer();

Prntr->BeginDoc();

....

When I execute the program, it is written :

the reference to Tprinter is ambiguous

"in french" (la référence à Tprinter est ambigue)

I saw that code several times for printing and it is what will solve one of my main problem for my application

Is it an old way of using it?
Is there an equivalent for EX7?

'Nice

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 30-Dec-2014, at 8:40 PM EST
From: Pierre Zarzour
 
Re: Tprinter  
News Group: embarcadero.public.cppbuilder.language.cpp
Thank you

I was looking to the left as an submenu option!

:)

P.S. you're good in french! :)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 31-Dec-2014, at 8:16 AM EST
From: Pierre Zarzour
 
Re: Tprinter  
News Group: embarcadero.public.cppbuilder.language.cpp
 wrote in message news:707448@forums.embarcadero.com...
> Hi
>
> I will try that...
>
> Have you an idea of how do we say it in french because I check and I 
> didn't find it? :)
>
> (or if you can tell :
> envirronment
> second section
> third option
>
> (for example)
>
> Thanks

english chain:
http://docwiki.embarcadero.com/RADStudio/XE7/en/Main_Page
http://docwiki.embarcadero.com/RADStudio/XE7/en/RAD_Studio_Menu_Commands_and_Dialogs_Index
http://docwiki.embarcadero.com/RADStudio/XE7/en/Tools_Menu
http://docwiki.embarcadero.com/RADStudio/XE7/en/Tools_Options_Dialog_Box
http://docwiki.embarcadero.com/RADStudio/XE7/en/Environment_Options

attempt at french:
http://docwiki.embarcadero.com/RADStudio/XE7/fr/Main_Page
http://docwiki.embarcadero.com/RADStudio/XE7/fr/Dialogues_et_commandes_de_menu_de_RAD_Studio_%E2%80%93_Index
http://docwiki.embarcadero.com/RADStudio/XE7/fr/Menu_Outils
http://docwiki.embarcadero.com/RADStudio/XE7/fr/Bo%C3%AEte_de_dialogue_Options_des_outils
http://docwiki.embarcadero.com/RADStudio/XE7/fr/Options_d%27environnement

so maybe...
mainmenu/Outils/Options/Options d'environnement/Niveau de verbosité (drop 
down list)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 31-Dec-2014, at 8:12 AM EST
From: david hoke
 
Re: Tprinter  
News Group: embarcadero.public.cppbuilder.language.cpp
Hi

I will try that...

Have you an idea of how do we say it in french because I check and I didn't find it? :)

(or if you can tell :
envirronment
second section
third option

(for example)

Thanks

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 31-Dec-2014, at 7:58 AM EST
From: Pierre Zarzour
 
Re: Tprinter  
News Group: embarcadero.public.cppbuilder.language.cpp
Maybe someone will come along with a more definitive answer (since I don't 
have XE7 to try), but...

 wrote in message news:707385@forums.embarcadero.com...
>
> #include 
>
> TPrinter *Prntr = Printer();
>
> Prntr->BeginDoc();
>
> ...
>
> When I execute the program, it is written :
>
> the reference to Tprinter is ambiguous
>
> "in french" (la référence à Tprinter est ambigue)
>

It sounds like a possible namespace issue.

You might look for a tools/options/Environment-Options verbosity field, and 
see if you can increase the verbosity - then, if the error messages aren't 
already showing you, after a recompile attempt they might begin to offer you 
the possible namespaces containing the ambiguous item, and you can try 
using (one of) them to quality the name and eliminate the ambiguity...

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 31-Dec-2014, at 6:58 AM EST
From: david hoke