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

Managed C++/CLI

 
QuestionMessage Removed Pin
15-Oct-10 2:20
ptr_Electron15-Oct-10 2:20 
AnswerRe: MFC Serilization :mechanism for splitting the serialize( ) method into Load() and Save() Pin
Nish Nishant15-Oct-10 7:19
sitebuilderNish Nishant15-Oct-10 7:19 
QuestionApplication crashes at RichEditCtrl.StremOut(), It says attempt to read write protected memory. this ffetne an indication that the other memory is corrupt Pin
ptr_Electron15-Oct-10 1:06
ptr_Electron15-Oct-10 1:06 
AnswerRe: Application crashes at RichEditCtrl.StremOut(), It says attempt to read write protected memory. this ffetne an indication that the other memory is corrupt Pin
Richard MacCutchan15-Oct-10 2:16
mveRichard MacCutchan15-Oct-10 2:16 
GeneralRe: Application crashes at RichEditCtrl.StremOut(), It says attempt to read write protected memory. this ffetne an indication that the other memory is corrupt Pin
ptr_Electron15-Oct-10 2:44
ptr_Electron15-Oct-10 2:44 
GeneralRe: Application crashes at RichEditCtrl.StremOut(), It says attempt to read write protected memory. this ffetne an indication that the other memory is corrupt Pin
Richard MacCutchan15-Oct-10 5:53
mveRichard MacCutchan15-Oct-10 5:53 
AnswerRe: Application crashes at RichEditCtrl.StremOut(), It says attempt to read write protected memory. this ffetne an indication that the other memory is corrupt Pin
Nish Nishant15-Oct-10 7:20
sitebuilderNish Nishant15-Oct-10 7:20 
QuestionUsing Managed objects in Unmanaged class Pin
Anu_Bala12-Oct-10 19:43
Anu_Bala12-Oct-10 19:43 
Hi, Im including one thirdparty reference to my coding.But when i use it my coding it shows error.

My code: In TagInfo.h

ref class Globals 
{  
public:  
    static DUAL_INOUTLib::DualInOut^ objVM; 
}; 

Im using it in my coding as In TagInfo.cpp

void CTagController :: ReceiveLivePoints() 
{ 
         float PV,SV,MV,P,I,D;               
 
    CString name = GetTagName(); 
    System::String^ TgName  = gcnew String( name); 
    double ds; 
    Globals::objVM = gcnew DUAL_INOUTLib::DualInOut;  
    Globals::objVM->Open_InOut("ShareMemory", "FRACT", p);   
    Globals::objVM->Get_real(p, TgName, _T("PV"), ds);
 
    PV = float(ds); 
} 


But it shows error in line Globals::objVM = gcnew DUAL_INOUTLib::DualInOut as

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in FOPStation.exe Additional information: Retrieving the COM class factory for component with CLSID {52762B50-F702-11D2-9EB1-00C04F888C49} failed due to the following error: 8001010d.

TagInfo.cpp contains more class like, CTagbase,CTagController,CTagIndicator etc.,...I want to use this DualInOut in every class to get values
Anu

AnswerRe: Using Managed objects in Unmanaged class Pin
Nish Nishant13-Oct-10 9:30
sitebuilderNish Nishant13-Oct-10 9:30 
GeneralRe: Using Managed objects in Unmanaged class Pin
Anu_Bala13-Oct-10 17:45
Anu_Bala13-Oct-10 17:45 
GeneralRe: Using Managed objects in Unmanaged class Pin
Nish Nishant14-Oct-10 4:23
sitebuilderNish Nishant14-Oct-10 4:23 
GeneralRe: Using Managed objects in Unmanaged class Pin
Anu_Bala14-Oct-10 17:21
Anu_Bala14-Oct-10 17:21 
GeneralRe: Using Managed objects in Unmanaged class Pin
Anu_Bala14-Oct-10 18:06
Anu_Bala14-Oct-10 18:06 
QuestionConfusing questing Pin
mstanwar11-Oct-10 15:31
mstanwar11-Oct-10 15:31 
AnswerRe: Confusing questing Pin
Luc Pattyn11-Oct-10 15:44
sitebuilderLuc Pattyn11-Oct-10 15:44 
Questionproperty of intellisense drop down. Pin
emmmatty110-Oct-10 5:38
emmmatty110-Oct-10 5:38 
AnswerRe: property of intellisense drop down. Pin
Nish Nishant11-Oct-10 6:34
sitebuilderNish Nishant11-Oct-10 6:34 
Questionhello question about Interprocess Communication how to call functions between 2 different process Pin
nah13379-Oct-10 2:11
nah13379-Oct-10 2:11 
AnswerRe: hello question about Interprocess Communication how to call functions between 2 different process Pin
Nish Nishant11-Oct-10 6:34
sitebuilderNish Nishant11-Oct-10 6:34 
QuestionOpen Source QRCode Library for C++ .NET or MFC Pin
loid grey manuel6-Oct-10 21:52
loid grey manuel6-Oct-10 21:52 
AnswerRe: Open Source QRCode Library for C++ .NET or MFC Pin
Nish Nishant7-Oct-10 8:15
sitebuilderNish Nishant7-Oct-10 8:15 
GeneralRe: Open Source QRCode Library for C++ .NET or MFC Pin
loid grey manuel7-Oct-10 19:17
loid grey manuel7-Oct-10 19:17 
GeneralRe: Open Source QRCode Library for C++ .NET or MFC Pin
novice5113-Feb-11 14:38
novice5113-Feb-11 14:38 
QuestionShow a dialog inside a third party application. Pin
emmmatty13-Oct-10 19:49
emmmatty13-Oct-10 19:49 
AnswerRe: Show a dialog inside a third party application. Pin
Nish Nishant5-Oct-10 5:04
sitebuilderNish Nishant5-Oct-10 5:04 

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.