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

Managed C++/CLI

 
Generalerror C2061: syntax error : identifier 'SocketChatClient' Pin
neo_coder14-Mar-05 10:35
neo_coder14-Mar-05 10:35 
GeneralRe: error C2061: syntax error : identifier 'SocketChatClient' Pin
Steve Mayfield14-Mar-05 12:17
Steve Mayfield14-Mar-05 12:17 
GeneralRe: error C2061: syntax error : identifier 'SocketChatClient' Pin
neo_coder15-Mar-05 2:32
neo_coder15-Mar-05 2:32 
GeneralUsing MFC within a .NET application Pin
skonopa14-Mar-05 10:25
skonopa14-Mar-05 10:25 
GeneralRe: Using MFC within a .NET application Pin
Sheng Jiang 蒋晟15-Mar-05 17:43
Sheng Jiang 蒋晟15-Mar-05 17:43 
GeneralRe: Using MFC within a .NET application Pin
skonopa22-Mar-05 4:06
skonopa22-Mar-05 4:06 
GeneralRe: Using MFC within a .NET application Pin
Sheng Jiang 蒋晟22-Mar-05 4:17
Sheng Jiang 蒋晟22-Mar-05 4:17 
GeneralRe: Using MFC within a .NET application Pin
skonopa22-Mar-05 7:31
skonopa22-Mar-05 7:31 
Thanks. I was afraid of that. Now that I think about it, it does make sense.

I guess that would explain the ASSERT errors coming out of AfxGetInstanceHandle. Looking up in the MSDN to see just what AfxGetInstanceHandle does, it is returning an instance of the current application, which I am assuming would be an instance of CWinApp. If there is no instance of a CWinApp being created, than there would be no handle for AfxGetInstanceHandle to return.

Again, thanks!

Well, it looks like in this case, we may have to ditch .NET and go back to MFC, as we got way to much invested in custom MFC controls to have to go back and re-write them to work with .NET. Tis a shame, as there are some nice features in .NET that I'd like to take advantage of.


GeneralRe: Using MFC within a .NET application Pin
skonopa23-Mar-05 5:37
skonopa23-Mar-05 5:37 
GeneralRe: Using MFC within a .NET application Pin
Sheng Jiang 蒋晟23-Mar-05 8:05
Sheng Jiang 蒋晟23-Mar-05 8:05 
GeneralRe: Using MFC within a .NET application Pin
sunhui1-Jun-05 17:54
sunhui1-Jun-05 17:54 
GeneralLoad custom User control (at runtime) Pin
Lythimer14-Mar-05 10:24
Lythimer14-Mar-05 10:24 
Generalvirtual memory Pin
mpapeo13-Mar-05 22:21
mpapeo13-Mar-05 22:21 
QuestionHow to input and output chinese Pin
ckhung11-Mar-05 9:06
ckhung11-Mar-05 9:06 
AnswerRe: How to input and output chinese Pin
toxcct22-Mar-05 4:16
toxcct22-Mar-05 4:16 
GeneralDirectX MC++ Sprites fail to present Pin
sdnoonan10-Mar-05 18:17
sdnoonan10-Mar-05 18:17 
GeneralInter Process comunication Pin
lightKnight9-Mar-05 18:31
lightKnight9-Mar-05 18:31 
General2.0 beta-1 IDE Pin
TFB9-Mar-05 6:47
TFB9-Mar-05 6:47 
QuestionWinsock Question ? Pin
covansys20008-Mar-05 18:13
covansys20008-Mar-05 18:13 
Generalbarcode on C lang Pin
france_philippines8-Mar-05 14:26
france_philippines8-Mar-05 14:26 
GeneralRe: barcode on C lang Pin
Christian Graus8-Mar-05 14:40
protectorChristian Graus8-Mar-05 14:40 
GeneralNewBie+FirstPost Pin
llordanich7-Mar-05 7:41
llordanich7-Mar-05 7:41 
GeneralRe: NewBie+FirstPost Pin
Christian Graus8-Mar-05 14:45
protectorChristian Graus8-Mar-05 14:45 
GeneralRe: NewBie+FirstPost Pin
covansys20008-Mar-05 21:00
covansys20008-Mar-05 21:00 
GeneralWrappers for Win32 classes Pin
AshishM6-Mar-05 23:42
AshishM6-Mar-05 23:42 

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.