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

Managed C++/CLI

 
GeneralStdafx.h and the C1010 and C1034 errors Pin
NietzscheDisciple30-Sep-04 17:45
NietzscheDisciple30-Sep-04 17:45 
GeneralCounting enums in Builder Pin
UKSparky27-Sep-04 5:52
UKSparky27-Sep-04 5:52 
GeneralRe: Counting enums in Builder Pin
Christian Graus28-Sep-04 11:55
protectorChristian Graus28-Sep-04 11:55 
Generalusing MFC in c++/cli Pin
aaa_avraham25-Sep-04 9:14
aaa_avraham25-Sep-04 9:14 
GeneralRe: using MFC in c++/cli Pin
BAIJUMAX25-Sep-04 20:51
professionalBAIJUMAX25-Sep-04 20:51 
GeneralSystem::Object _gc * _gc * Pin
Mirdous25-Sep-04 1:45
Mirdous25-Sep-04 1:45 
GeneralRe: System::Object _gc * _gc * Pin
BAIJUMAX25-Sep-04 20:54
professionalBAIJUMAX25-Sep-04 20:54 
GeneralOPC Automation Pin
Anonymous23-Sep-04 3:47
Anonymous23-Sep-04 3:47 
I am having problems writing an opc client using managed c++. I using an opcdotnetautomation.dll. When I go to read in a value from the OPC server. I am getting a signature I don't understand for the OPCItem Read method. Thank you in advance for assistance.

myServer = new OPCServerClass();
myServer->Connect(S"KEPware.KEPServerEx.V4",S"machineName");
myGroups = static_cast< OPCGroupsClass *> ( Marshal::CreateWrapperOfType( myServer->OPCGroups, __typeof( OPCGroupsClass ) ) );
vendor_textBox->Text = myServer->VendorInfo;
start_time_textBox->Text = myServer->StartTime.ToString();
current_time_textBox->Text = myServer->CurrentTime.ToString();
Updated_textbox->Text = myServer->LastUpdateTime.ToString();
groups_textBox->Text = myGroups->Count.ToString();
Server_textBox->Text = myServer->ServerName;
major_textBox->Text = myServer->MajorVersion.ToString();
minor_textBox->Text = myServer->MinorVersion.ToString();
build_textBox->Text = myServer->BuildNumber.ToString();
GroupA = myGroups->Add(S"GroupA");
//GroupB = myGroups->Add(S"GroupB");
AItems = GroupA->OPCItems;
item1 = AItems->AddItem(S"Channel_0_User_Defined.Sine.Sine1",1);
item2 = AItems->AddItem(S"Channel_0_User_Defined.Sine.Sine2",1);
item1->Read(OPCDataSource::OPCCache,?,?,?);
GeneralNewbie: Undeclared Identifier Pin
jblau22-Sep-04 13:22
jblau22-Sep-04 13:22 
GeneralRe: Newbie: Undeclared Identifier Pin
AnsGe26-Sep-04 19:01
AnsGe26-Sep-04 19:01 
Generalwrapper for C dll - newbie Pin
nina80222-Sep-04 13:14
nina80222-Sep-04 13:14 
GeneralRe: wrapper for C dll - newbie Pin
BAIJUMAX22-Sep-04 20:56
professionalBAIJUMAX22-Sep-04 20:56 
GeneralRe: wrapper for C dll - newbie Pin
nina80229-Sep-04 10:58
nina80229-Sep-04 10:58 
GeneralSTL in a C++ managed DLL Pin
Anonymous21-Sep-04 9:55
Anonymous21-Sep-04 9:55 
GeneralRe: STL in a C++ managed DLL Pin
George L. Jackson1-Oct-04 19:24
George L. Jackson1-Oct-04 19:24 
GeneralConversion problems.Please help Pin
benibo21-Sep-04 9:08
benibo21-Sep-04 9:08 
GeneralRe: Conversion problems.Please help Pin
Christian Graus21-Sep-04 13:57
protectorChristian Graus21-Sep-04 13:57 
GeneralRe: Conversion problems.Please help Pin
Christian Graus21-Sep-04 14:10
protectorChristian Graus21-Sep-04 14:10 
GeneralRe: Conversion problems.Please help Pin
benibo21-Sep-04 14:46
benibo21-Sep-04 14:46 
GeneralRe: Conversion problems.Please help Pin
BAIJUMAX21-Sep-04 17:22
professionalBAIJUMAX21-Sep-04 17:22 
QuestionVB.NET control in MCF App?? Pin
Imager7921-Sep-04 1:51
Imager7921-Sep-04 1:51 
AnswerRe: VB.NET control in MCF App?? Pin
BAIJUMAX21-Sep-04 17:29
professionalBAIJUMAX21-Sep-04 17:29 
GeneralRe: VB.NET control in MCF App?? Pin
Imager7922-Sep-04 0:57
Imager7922-Sep-04 0:57 
GeneralUsing Arrays help reqd Pin
Aji Varghese21-Sep-04 1:12
Aji Varghese21-Sep-04 1:12 
GeneralCalling parent constructor. Pin
Duncan.Aitken20-Sep-04 6:38
Duncan.Aitken20-Sep-04 6:38 

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.