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

Managed C++/CLI

 
GeneralRe: Draw Rectangle onto Picture in PictureBox Pin
N a v a n e e t h17-May-09 6:48
N a v a n e e t h17-May-09 6:48 
QuestionReference User32.lib Pin
thenutz7215-May-09 14:16
thenutz7215-May-09 14:16 
AnswerRe: Reference User32.lib Pin
Mark Salsbery15-May-09 20:20
Mark Salsbery15-May-09 20:20 
GeneralRe: Reference User32.lib Pin
thenutz7216-May-09 9:12
thenutz7216-May-09 9:12 
QuestionHow to get machine certificate and user license. Pin
deadlyabbas12-May-09 21:00
deadlyabbas12-May-09 21:00 
AnswerRe: How to get machine certificate and user license. Pin
Randor 14-May-09 15:06
professional Randor 14-May-09 15:06 
QuestionAbout Multiple Windows Forms Pin
savitri11-May-09 20:47
savitri11-May-09 20:47 
AnswerRe: About Multiple Windows Forms Pin
N a v a n e e t h12-May-09 22:24
N a v a n e e t h12-May-09 22:24 
Hi Savitri,

savitri wrote:
Why it is giving problem i am not understanding?


If you do that, you will get circular reference. This is the reason for all those errors. You need to forward declare Form1 inside LoginForm and include form1.h in LoginForm.cpp and use the methods from Form1.
// LoginForm.h

ref class Form1;

public ref class Loginform : public System::Windows::Forms::Form
{
   // code goes here
}

// LoginForm.cpp

#include "form1.h"

void Loginform::SomeMethod()
{
   // you can access form1 methods here without any error
}
savitri wrote:
Please tell me any good books for vc.net and i want some samples of vc.Net


1 - C++/CLI in action[^]. (This is my favorite)
2 - Visual C++/CLI and the .NET 3.5 Platform[^]

Smile | :)


GeneralRe: About Multiple Windows Forms Pin
savitri13-May-09 1:22
savitri13-May-09 1:22 
GeneralRe: About Multiple Windows Forms Pin
N a v a n e e t h13-May-09 2:20
N a v a n e e t h13-May-09 2:20 
QuestionRe: About Multiple Windows Forms Pin
savitri13-May-09 19:41
savitri13-May-09 19:41 
QuestionRe: About Multiple Windows Forms Pin
Mark Salsbery14-May-09 6:58
Mark Salsbery14-May-09 6:58 
AnswerRe: About Multiple Windows Forms Pin
N a v a n e e t h14-May-09 16:02
N a v a n e e t h14-May-09 16:02 
GeneralRe: About Multiple Windows Forms Pin
savitri14-May-09 19:20
savitri14-May-09 19:20 
GeneralRe: About Multiple Windows Forms Pin
N a v a n e e t h14-May-09 23:52
N a v a n e e t h14-May-09 23:52 
QuestionRe: About Multiple Windows Forms Pin
savitri15-May-09 21:20
savitri15-May-09 21:20 
QuestionCreating Windows Service VC++ 6.0 Pin
iamJayPatil11-May-09 18:52
iamJayPatil11-May-09 18:52 
QuestionDetermining if an inputted file name exists? Pin
TabascoSauce9-May-09 12:50
TabascoSauce9-May-09 12:50 
AnswerRe: Determining if an inputted file name exists? Pin
dybs9-May-09 13:04
dybs9-May-09 13:04 
GeneralRe: Determining if an inputted file name exists? Pin
TabascoSauce9-May-09 13:12
TabascoSauce9-May-09 13:12 
GeneralRe: Determining if an inputted file name exists? Pin
dybs9-May-09 13:20
dybs9-May-09 13:20 
GeneralRe: Determining if an inputted file name exists? Pin
TabascoSauce9-May-09 13:28
TabascoSauce9-May-09 13:28 
GeneralRe: Determining if an inputted file name exists? Pin
teejayem9-May-09 14:59
teejayem9-May-09 14:59 
GeneralRe: Determining if an inputted file name exists? Pin
TabascoSauce9-May-09 16:21
TabascoSauce9-May-09 16:21 
QuestionUsing buttons in Webbrowser (VS2005) Pin
Trollslayer9-May-09 11:02
mentorTrollslayer9-May-09 11:02 

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.