Hi, Please advice me how to implement Active Document Container applications in C#. Is that possible to interact with Active Document Application developed in VC++ 6.0 or a brand new concept or technology available with C# ? Please advice ...
Rinu_Raj
Posts
-
Active Document Container applications in C# -
Doubt regarding Private bytes(VM Size)Dear friends, Could you please advice me what actually is the VM Size or Private bytes ? Does it exactly includes the code part of the executable ? for eg: If the binary size increase by 1 MB does it means that corresponding increase of 1 MB will be there in Private bytes of that process ? Or Private bytes is only the allocated data area of the process(allocated either by the process itself or through the loaded DLLs)? Thanks
-
C++ Daimond ProblemHope you are aware of run time polymorhism. Keep the same name function/method as virtual function in the base class. For the derived class object pointer allocate the corresponding base class (whose function needs to be invoked) then call the function resulting the corresponding base class get invoked. See below to make things clear
class A
{
public:
virtual void show(){cout<<"Class A invoked"};
}
class B
{
public:
virtual void show(){cout<<"Class B invoked"};
}
class C: public A, public B
{
}main()
{
C* ptr = new A;
ptr->show(); // "Class A invoked" will be printed
C* ptr1 = new B;
ptr1->show(); // "Class B invoked" will be printed
} -
COM ATL EXE programPlease check this link http://www.codeproject.com/com/COM\_EXE\_Server.asp Hoping that is the one you need Rinu Raj
-
Listbox controlYou may right the interface function for setting the value in the second dialog On the button click of first dialog { Dlg->SetDataToListBox( m_Edit.GetWindowText()); //Where Dlg is the second dialog class object } In the second dialog 2ndDlg::SetDataToListBox( CString EditData ) // SetDataToListBox function the dialog class of the second dialog { m_ListBox.AddString( EditData ); } Rinu Raj
-
converting string to unicode wchar_t?Try MultiByteToWideChar(..) Rinu Raj
-
How to intialize a pointer variable ?We are a bit confused in your post char* pBuff = 0; // Initialize the pointer with 0 pBuff = new char[10]; // Allocate memory for a character array of size 10 if( 0 == pBuff ) { // Failed to allocate memory } else { // Allocation successfull } Rinu Raj
-
error LNK2001is that lib available in path ? if not please add the path what about the header file associated is that compatible with the lib ? Rinu Raj
-
error LNK2001Please check whether you hav added lib path Project|Properties|Linker|Input|Addition al Dependencies. Rinu Raj
-
Delete a Filewill you paste the code you closing the handle of hile and removing file Rinu Raj
-
Delete a FileYou are creating a temp file right ? Close the file handle of the temp file then try DeleteFile(..) it will work Rinu Raj Rinu Raj
-
Delete a FileTry calling DeleteFile(..) in your class's destructor Rinu Raj
-
[Message Deleted] [modified]What is the error you are facing with struct XXXX{ CListmy_second_Struct; char buff[10]; char buff1[10]; }YYY; ?? Rinu Raj
-
How to get KeyPessed event from an editboxcase WM_COMMAND : if(LOWORD(wParam) == EN_CHANGE) check MSDN for details Rinu Raj
-
CFileDialogI think you are using OS XP or 2000, then try dlg.GetOFN().lpstrFile = MyPath; it will work Rinu Raj
-
WARNINGtry using #pragma warning(disable : 4089) if not successfull try the following disable LNK4089 by adding /IGNORE:4089 to your linker options Rinu Raj
-
How to get KeyPessed event from an editboxMap the EN_CHANGE notification Rinu Raj
-
How to exit from aplication ?whats happening ? is that one not wuiting ? Rinu Raj
-
how to send a structCan you please explain what you really need ? Rinu Raj
-
Edit Boxthats what he needed i think