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

Managed C++/CLI

 
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 
AnswerRe: 'System.NullReferenceException' Pin
2bee 7-Apr-06 1:01
2bee 7-Apr-06 1:01 
Hi,

I might be wrong but most likely you forgot to initialize your array.

testlib::testlibControl *tmp1 __gc[];

// add the following
tmp1 = __gc new testlib::testlibControl*[strength];

for(int i = 0; i < strength; i++)
{
...


However with the new Syntax it should be something like this:

array<testlib::testlibControl^>^ tmp1 = gcnew array<testlib::testlibControl^>(strength);

Furthermore i do strongly recommend to use the new syntax, because it is far more easy to read.

best regards Tobias
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 
Questionis there any function similar to sprintf in C++.Net? Pin
Kranti12519844-Apr-06 1:08
Kranti12519844-Apr-06 1:08 

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.