Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot convert from char(4) to CString
Message
De
26/03/2014 17:19:55
 
 
Information générale
Forum:
Visual C++
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01597411
Message ID:
01597417
Vues:
27
>>
int RenderTicket(double dPassNo, CString& csLayout, new CString("PNG"));
>>
>>
>>Does this syntax work?
>
>This worked
>
>int RenderTicket(double dPassNo, CString& csLayout, CString csImageType = CString("PNG"));
>
>I'll fix these errors and I have a few more more complex I'm going to post in a bit.


If you declare those constants somewhere you can reference them statically without creating them dynamically.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform