Click here to Skip to main content
16,016,580 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: TTN_NEEDTEXT never called Pin
David Crow2-Jun-04 7:26
David Crow2-Jun-04 7:26 
GeneralRe: TTN_NEEDTEXT never called Pin
Aviv Halperin2-Jun-04 8:09
Aviv Halperin2-Jun-04 8:09 
GeneralRe: TTN_NEEDTEXT never called Pin
HENDRIK R2-Jun-04 5:28
HENDRIK R2-Jun-04 5:28 
GeneralModeless dialog Pin
si_692-Jun-04 4:59
si_692-Jun-04 4:59 
GeneralRe: Modeless dialog Pin
David Crow2-Jun-04 5:30
David Crow2-Jun-04 5:30 
GeneralRe: Modeless dialog Pin
si_692-Jun-04 5:54
si_692-Jun-04 5:54 
GeneralRe: Modeless dialog Pin
David Crow2-Jun-04 5:58
David Crow2-Jun-04 5:58 
QuestionCalling methods of an appobject COM object? Pin
Roozbeh692-Jun-04 4:06
professionalRoozbeh692-Jun-04 4:06 
Hello everybody,

I am a beginner in com programming, and i have a question:
I have created an ATL 3.0 project including a simple object named MyObj with the attribute of 'appobject' on it's coclass. It has a property named MyString that holds string values. I have successfully built it and then tested it from vb. I have access to MyString property directly without instantiating MyObj. everythings is Ok.
but I have problem with VC. From a Console application which has access to that type library (via import directive) MyString property cannot be accessed without qualification. With the statement:

MyString = "Hello world!";

compiler generates following error:

error C2065: 'MyString' : undeclared identifier

what is the problem? do you think i should use a special syntax?
if so, would you please help me to know how i can use it?

thanks in advance
Roozbeh
GeneralFail to add my HTTP headers when using IWebBrowser2 interface Pin
louxinghua@dep2-Jun-04 3:23
louxinghua@dep2-Jun-04 3:23 
GeneralRe: Fail to add my HTTP headers when using IWebBrowser2 interface Pin
Andy Brummer2-Jun-04 10:26
sitebuilderAndy Brummer2-Jun-04 10:26 
GeneralRe: Fail to add my HTTP headers when using IWebBrowser2 interface Pin
Andrew Quinn AUS3-Jun-04 4:31
Andrew Quinn AUS3-Jun-04 4:31 
GeneralTimestamp on object and updating Pin
Anonymous2-Jun-04 3:15
Anonymous2-Jun-04 3:15 
GeneralRe: Timestamp on object and updating Pin
David Crow2-Jun-04 4:33
David Crow2-Jun-04 4:33 
GeneralRe: Timestamp on object and updating Pin
Anonymous2-Jun-04 7:21
Anonymous2-Jun-04 7:21 
GeneralRe: Timestamp on object and updating Pin
David Crow2-Jun-04 7:50
David Crow2-Jun-04 7:50 
GeneralRe: Timestamp on object and updating Pin
Anonymous3-Jun-04 1:35
Anonymous3-Jun-04 1:35 
Generalhyperterminal Pin
Jeje2-Jun-04 2:47
Jeje2-Jun-04 2:47 
GeneralRe: hyperterminal Pin
David Crow2-Jun-04 2:54
David Crow2-Jun-04 2:54 
Generalmsdev.exe debugger Pin
Bob Stanneveld2-Jun-04 2:07
Bob Stanneveld2-Jun-04 2:07 
GeneralRe: msdev.exe debugger Pin
Bob Stanneveld2-Jun-04 2:33
Bob Stanneveld2-Jun-04 2:33 
GeneralRe: msdev.exe debugger Pin
jmkhael2-Jun-04 2:33
jmkhael2-Jun-04 2:33 
GeneralRe: msdev.exe debugger Pin
Bob Stanneveld2-Jun-04 6:42
Bob Stanneveld2-Jun-04 6:42 
GeneralRe: msdev.exe debugger Pin
deniz79s2-Jun-04 7:15
deniz79s2-Jun-04 7:15 
QuestionHow to replace a message in to the top of application message que Pin
erkanina2-Jun-04 2:07
erkanina2-Jun-04 2:07 
AnswerRe: How to replace a message in to the top of application message que Pin
Bob Stanneveld2-Jun-04 2:15
Bob Stanneveld2-Jun-04 2:15 

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.