Click here to Skip to main content
15,921,156 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: ListView Headrs Pin
User 58385219-Dec-06 13:49
User 58385219-Dec-06 13:49 
GeneralRe: ListView Headrs Pin
bsaksida19-Dec-06 20:52
bsaksida19-Dec-06 20:52 
GeneralRe: ListView Headrs Pin
User 58385220-Dec-06 11:20
User 58385220-Dec-06 11:20 
GeneralRe: ListView Headrs Pin
bsaksida20-Dec-06 11:26
bsaksida20-Dec-06 11:26 
GeneralRe: ListView Headrs Pin
User 58385220-Dec-06 11:37
User 58385220-Dec-06 11:37 
GeneralRe: ListView Headrs Pin
bsaksida20-Dec-06 11:43
bsaksida20-Dec-06 11:43 
GeneralRe: ListView Headrs Pin
bsaksida21-Dec-06 9:09
bsaksida21-Dec-06 9:09 
Generalthis has been way too long Pin
V.19-Dec-06 2:24
professionalV.19-Dec-06 2:24 
Guys,

I'm trying a little test app in C++. I added a button and an event handler for this button.
I'm creating a test app that has to call some dll functions in late binding. Although I have done this before I tried to do a simple AfxMessageBox just to get the hang of it again. And it fails (yes this line: AfxMessageBox("Test"); fails. Even CString test = "My test here."; fails.)
so what did I forget? (I made a MFC app via the wizard, it gave me an error when adding the control variable for the button, but the rest it did just fine). MSDN says I have to do it like this. (and my memory, pray to God it didn't fail me, says so too;P)

the error message I get is :
Error 1 error C2440: 'initializing' : cannot convert from 'const char [9]' to 'ATL::CSimpleStringT<BaseType>' d:\projects\projects c++\loaddlltest\loaddlltest\loaddlltestdlg.cpp 92

Sigh | :sigh:

tnx...

[MODIFIED]It doesn't work in 2005, it does work in 6.0 ...[/MODIFIED]


V.
If I don't see you in this world, I'll see you in the next one... And don't be late. (Jimi Hendrix)

GeneralRe: this has been way too long Pin
led mike19-Dec-06 4:44
led mike19-Dec-06 4:44 
GeneralRe: this has been way too long Pin
V.19-Dec-06 4:51
professionalV.19-Dec-06 4:51 
GeneralRe: this has been way too long Pin
led mike19-Dec-06 5:16
led mike19-Dec-06 5:16 
QuestionWriteFile functionality Pin
g_sasha18-Dec-06 21:41
g_sasha18-Dec-06 21:41 
AnswerRe: WriteFile functionality Pin
led mike19-Dec-06 4:49
led mike19-Dec-06 4:49 
GeneralRe: WriteFile functionality Pin
g_sasha19-Dec-06 5:08
g_sasha19-Dec-06 5:08 
GeneralRe: WriteFile functionality Pin
led mike19-Dec-06 5:18
led mike19-Dec-06 5:18 
GeneralRe: WriteFile functionality Pin
g_sasha19-Dec-06 5:59
g_sasha19-Dec-06 5:59 
GeneralRe: WriteFile functionality Pin
User 58385219-Dec-06 12:05
User 58385219-Dec-06 12:05 
GeneralRe: WriteFile functionality Pin
g_sasha19-Dec-06 20:58
g_sasha19-Dec-06 20:58 
QuestionSystem::Windows::Forms Namespace ?? Pin
Fritzables18-Dec-06 15:03
Fritzables18-Dec-06 15:03 
AnswerRe: System::Windows::Forms Namespace ?? Pin
bsaksida18-Dec-06 19:49
bsaksida18-Dec-06 19:49 
GeneralRe: System::Windows::Forms Namespace ?? Pin
Fritzables19-Dec-06 12:45
Fritzables19-Dec-06 12:45 
AnswerRe: System::Windows::Forms Namespace ?? Pin
GirishKB19-Dec-06 19:36
GirishKB19-Dec-06 19:36 
GeneralRe: System::Windows::Forms Namespace ?? Pin
Fritzables19-Dec-06 20:07
Fritzables19-Dec-06 20:07 
GeneralRe: System::Windows::Forms Namespace ?? Pin
bsaksida19-Dec-06 20:40
bsaksida19-Dec-06 20:40 
GeneralRe: System::Windows::Forms Namespace ?? Pin
Fritzables19-Dec-06 21:06
Fritzables19-Dec-06 21:06 

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.