Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: help me out Pin
Hamid_RT24-Nov-08 19:26
Hamid_RT24-Nov-08 19:26 
AnswerRe: help me out Pin
ramina sen24-Nov-08 19:33
ramina sen24-Nov-08 19:33 
GeneralRe: help me out Pin
Hamid_RT24-Nov-08 20:29
Hamid_RT24-Nov-08 20:29 
QuestionSHGetFileInfo Problem Pin
john563224-Nov-08 18:24
john563224-Nov-08 18:24 
AnswerRe: SHGetFileInfo Problem Pin
john563224-Nov-08 18:41
john563224-Nov-08 18:41 
QuestionRe: SHGetFileInfo Problem Pin
David Crow25-Nov-08 14:35
David Crow25-Nov-08 14:35 
QuestionHow to avoid memory leakage due to wglUseFontBitmaps(); Pin
anjanarakesh24-Nov-08 18:08
anjanarakesh24-Nov-08 18:08 
QuestionWhere is my form, and what is it? Pin
regnwald24-Nov-08 17:04
regnwald24-Nov-08 17:04 
I have happily and successfully programmed graphics processing for many years using VB, but I want to port the project over to VC++. As a trial a week ago I looked at C# and found no problems. However, C++ proved to be hellConfused | :confused: . I started with a form (Form1), dressed it up OK and loaded images, scroll bars worked. It all worked OK. I then added a second form (CAMERAFrm) and could not open it from the first one. I tried all sorts of variants of ShowDialog() found on MSDN, in forums and books, to no avail. The error messages summarised say that CAMERAFrm is unknown, even when I include each .h form in the code of the other and spell its name out fully. The project name is cppPOSTERclr and the two forms are said to be - public - and - ref class - but whether I try to use CAMERAFrm as a class-
CAMERAFrm ^ DSLR =gcnew CAMERAFrm
DSLR->ShowDialog(this)
or as an object-
CAMERAFrm->ShowDialog(this)
the project claims CAMERAFrm is undefined.
Intelisense and edit panel titles gives me cppPOSTER::Form1 and cppPOSTER::CAMERAFrm as valid names with global scope. However, even when I try to use cppPOSTER::CAMERAFrm I get messages such as-
error C2039 'CAMERAFrm': is not a member of 'cppPOSTERclr'
error C2039 'CAMERAFrm': is not a member of 'cppPOSTERclr::Form1'

I can open a third new window:-
Form ^ DSLR= gcnew Form()
DSLR->ShowDialog(this)

Can anyone Rose | [Rose] tell me what is happening? I did nothing fancy: just opened two forms and tried to open the second from a button in the first.

Surely VC++ isn't a savant - good for intricate detail but hard to get on with in everday life!
AnswerRe: Where is my form, and what is it? Pin
Chandrasekharan P24-Nov-08 17:15
Chandrasekharan P24-Nov-08 17:15 
NewsGood news, Freeborders are search for some Sr.C++ Engineer Pin
pandapam24-Nov-08 15:33
pandapam24-Nov-08 15:33 
GeneralRe: Good news, Freeborders are search for some Sr.C++ Engineer Pin
Sophia_meng24-Nov-08 15:44
Sophia_meng24-Nov-08 15:44 
GeneralRe: Good news, Freeborders are search for some Sr.C++ Engineer Pin
Chandrasekharan P24-Nov-08 17:43
Chandrasekharan P24-Nov-08 17:43 
QuestionBasic C++ question Pin
Software200724-Nov-08 14:29
Software200724-Nov-08 14:29 
AnswerRe: Basic C++ question Pin
enhzflep24-Nov-08 16:16
enhzflep24-Nov-08 16:16 
GeneralRe: Basic C++ question Pin
Software200724-Nov-08 16:31
Software200724-Nov-08 16:31 
GeneralRe: Basic C++ question Pin
enhzflep24-Nov-08 17:30
enhzflep24-Nov-08 17:30 
GeneralRe: Basic C++ question Pin
Software200724-Nov-08 17:58
Software200724-Nov-08 17:58 
GeneralRe: Basic C++ question Pin
enhzflep24-Nov-08 19:12
enhzflep24-Nov-08 19:12 
GeneralRe: Basic C++ question Pin
David Crow25-Nov-08 5:03
David Crow25-Nov-08 5:03 
GeneralRe: Basic C++ question Pin
Software200725-Nov-08 6:03
Software200725-Nov-08 6:03 
QuestionHelp about Dev C++ Pin
asdxxx24-Nov-08 12:40
asdxxx24-Nov-08 12:40 
AnswerRe: Help about Dev C++ Pin
enhzflep24-Nov-08 13:00
enhzflep24-Nov-08 13:00 
QuestionCreateFile() error Pin
iNoble24-Nov-08 8:09
iNoble24-Nov-08 8:09 
QuestionRe: CreateFile() error Pin
led mike24-Nov-08 9:20
led mike24-Nov-08 9:20 
GeneralRe: CreateFile() error [modified] Pin
iNoble24-Nov-08 9:23
iNoble24-Nov-08 9:23 

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.