Click here to Skip to main content
15,907,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVC++ CInternetSession::SetOption Pin
mine_4613-Feb-02 8:27
mine_4613-Feb-02 8:27 
GeneralJIT Debug under Win XP Pin
Victor Rubinstein13-Feb-02 8:22
Victor Rubinstein13-Feb-02 8:22 
GeneralNULL Pin
Peter Liddle13-Feb-02 7:17
Peter Liddle13-Feb-02 7:17 
GeneralRe: NULL Pin
Chris Losinger13-Feb-02 7:58
professionalChris Losinger13-Feb-02 7:58 
GeneralRe: NULL Pin
Michael Dunn13-Feb-02 8:46
sitebuilderMichael Dunn13-Feb-02 8:46 
GeneralChanging Bitmap of Menu Item Check Box Pin
Eldon Zacek13-Feb-02 7:04
Eldon Zacek13-Feb-02 7:04 
GeneralRe: Changing Bitmap of Menu Item Check Box Pin
567890123413-Feb-02 22:02
567890123413-Feb-02 22:02 
GeneralSTL issue in VS 7.0 Pin
Stan Shannon13-Feb-02 7:01
Stan Shannon13-Feb-02 7:01 
In VS 6.0 I had some code in which I was creating Polygons from vector<LONG> iterators.


Something like this:

vector<LONG>  mypoints;

...

Polygon(hdc,(LPPOINT)mypoints.begin(),point_count);


This compiled and ran fine in 6.0, and seemed like a relatively reasonable way to dynamically maintain a list of points for drawing so that I did not need to allocate and deallocate POINT arrays.

7.0, however, will not compile it. I get a ansi c++ conformance error (C2440).

I'm no compiler guru, but this behavior just does not seem intuitive to me. I can easily work around it, but I don't like it.

Any thoughts?



"Thank you, thank you very much" Elvis.
GeneralRe: STL issue in VS 7.0 Pin
13-Feb-02 7:28
suss13-Feb-02 7:28 
GeneralRe: STL issue in VS 7.0 Pin
Joao Vaz13-Feb-02 7:45
Joao Vaz13-Feb-02 7:45 
GeneralRe: STL issue in VS 7.0 Pin
Joao Vaz13-Feb-02 7:48
Joao Vaz13-Feb-02 7:48 
GeneralRe: STL issue in VS 7.0 Pin
Michael Dunn13-Feb-02 8:47
sitebuilderMichael Dunn13-Feb-02 8:47 
Generalsscanf problem Pin
Rybeck13-Feb-02 6:21
Rybeck13-Feb-02 6:21 
GeneralRe: sscanf problem Pin
Michael Dunn13-Feb-02 8:50
sitebuilderMichael Dunn13-Feb-02 8:50 
GeneralMemset Pin
Peter Liddle13-Feb-02 6:14
Peter Liddle13-Feb-02 6:14 
GeneralRe: Memset Pin
Joaquín M López Muñoz13-Feb-02 6:22
Joaquín M López Muñoz13-Feb-02 6:22 
GeneralRe: Memset Pin
victoria13-Feb-02 6:58
victoria13-Feb-02 6:58 
GeneralRe: Memset Pin
Carlos Antollini13-Feb-02 7:15
Carlos Antollini13-Feb-02 7:15 
Generalcatch doubleclick from CEdit Pin
Rybeck13-Feb-02 6:13
Rybeck13-Feb-02 6:13 
GeneralRe: catch doubleclick from CEdit Pin
Joaquín M López Muñoz13-Feb-02 6:18
Joaquín M López Muñoz13-Feb-02 6:18 
GeneralRe: catch doubleclick from CEdit Pin
Mazdak13-Feb-02 6:25
Mazdak13-Feb-02 6:25 
Generalupgrade to VC 6.0 or .NET Pin
13-Feb-02 5:43
suss13-Feb-02 5:43 
GeneralRe: upgrade to VC 6.0 or .NET Pin
Mazdak13-Feb-02 5:52
Mazdak13-Feb-02 5:52 
GeneralRe: upgrade to VC 6.0 or .NET Pin
15-Feb-02 1:55
suss15-Feb-02 1:55 
GeneralRe: upgrade to VC 6.0 or .NET Pin
Mazdak15-Feb-02 2:21
Mazdak15-Feb-02 2:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.