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

Managed C++/CLI

 
GeneralRe: i done it...thk u all..let me share tis to u all Pin
George L. Jackson8-Apr-06 1:25
George L. Jackson8-Apr-06 1:25 
GeneralRe: i done it...thk u all..let me share tis to u all Pin
cusack8-Apr-06 19:26
cusack8-Apr-06 19:26 
QuestionInvoke to dynamic library with custom object Pin
dawei.code7-Apr-06 4:28
dawei.code7-Apr-06 4:28 
AnswerRe: Invoke to dynamic library with custom object Pin
S. Senthil Kumar8-Apr-06 13:50
S. Senthil Kumar8-Apr-06 13:50 
GeneralRe: Invoke to dynamic library with custom object Pin
dawei.code8-Apr-06 15:12
dawei.code8-Apr-06 15:12 
GeneralRe: Invoke to dynamic library with custom object Pin
S. Senthil Kumar8-Apr-06 18:50
S. Senthil Kumar8-Apr-06 18:50 
AnswerThat will do for now Pin
dawei.code9-Apr-06 15:14
dawei.code9-Apr-06 15:14 
Question'System.NullReferenceException' Pin
Kranti12519846-Apr-06 23:31
Kranti12519846-Apr-06 23:31 
i've created one DLL (testlib) and i want to use it in my application as an array of its instances ...

i'm getting an exception as
'System.NullReferenceException'

plz consider the following code ..

//-------------------------------------------------------------------------
testlib::testlibControl *tmp1 __gc[];

for(int i = 0; i < strength; i++)
{
tmp1[i] = new testlib::testlibControl;
tmp1[i]->Location = System::Drawing::Point(x,y); //exception

tmp1[i]->Size = System::Drawing::Size(24, 29);
x += 30;

this->Controls->Add(tmp1[i]);

}
//-------------------------------------------------------------------------

Why does this code cause exception?

Thanks,
Kranti
AnswerRe: 'System.NullReferenceException' Pin
2bee 7-Apr-06 1:01
2bee 7-Apr-06 1:01 
GeneralRe: 'System.NullReferenceException' Pin
Kranti12519847-Apr-06 1:47
Kranti12519847-Apr-06 1:47 
GeneralRe: 'System.NullReferenceException' Pin
2bee 7-Apr-06 2:08
2bee 7-Apr-06 2:08 
GeneralRe: 'System.NullReferenceException' Pin
Kranti12519849-Apr-06 20:15
Kranti12519849-Apr-06 20:15 
Questionwrite and read an object of user defined class into file. Pin
anilksingh6-Apr-06 22:26
anilksingh6-Apr-06 22:26 
AnswerRe: write and read an object of user defined class into file. Pin
toxcct6-Apr-06 22:54
toxcct6-Apr-06 22:54 
QuestionParallel Port input/output Pin
cullercoats6-Apr-06 3:45
cullercoats6-Apr-06 3:45 
AnswerRe: Parallel Port input/output Pin
Gordon Brandly11-Apr-06 7:40
Gordon Brandly11-Apr-06 7:40 
Questionmanaged c++ in mobile development Pin
GDavy5-Apr-06 0:25
GDavy5-Apr-06 0:25 
Questionproject help Pin
reyou4-Apr-06 5:42
reyou4-Apr-06 5:42 
AnswerRe: project help Pin
George L. Jackson4-Apr-06 12:44
George L. Jackson4-Apr-06 12:44 
AnswerRe: project help Pin
toxcct4-Apr-06 22:02
toxcct4-Apr-06 22:02 
AnswerRe: project help Pin
Cedric Moonen4-Apr-06 23:02
Cedric Moonen4-Apr-06 23:02 
GeneralRe: project help Pin
reyou5-Apr-06 4:43
reyou5-Apr-06 4:43 
QuestionI got some parameter problems Pin
GDavy4-Apr-06 2:26
GDavy4-Apr-06 2:26 
AnswerRe: I got some parameter problems Pin
toxcct4-Apr-06 2:31
toxcct4-Apr-06 2:31 
GeneralRe: I got some parameter problems Pin
GDavy4-Apr-06 3:22
GDavy4-Apr-06 3:22 

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.