It is possible to convert legacy application distributed application to new wcf technology. For example the existing application is using the .net r emoting. how to judge the factors such as performance , cost when importing an legacy application to new technology like window communication foundation. :)
phijophlip
Posts
-
Question .NET REMOTING AND WIINDOW COMMUNICATION SERVICE -
LOADING A WIN32 DLL FROM A WEB SERVICE -
Is it possible link javascript with C# on ASP.net form -
What is the object Slicing Feature in C++Hello Friends, What is object slicing in c++ ? Why this feature used in c++ ? Is any advantage of object slicing in c++. Kindly Help. -PHIJO MATHEW PHILIP. PHIJO MATHEW PHILIP
-
Can I Call virutal function from a default Constructor in c++Hello Friend, Can I call virtual fucnction from default constructor ? Kindly see the C++ code given below #include using namespace std; class A { public: A() { show(); } virtual void show() { cout <<"virutal function inside the default constructor" << endl; } }; int main() { A obj; return 0; } What is the techinal advantage and disadvantages of call virutal function from the base class defualt constructor ? Kindly mention the place where this condition is used in c++ . Kindly help. -PHIJO MATHEW PHILIP. :) :):):)
-
Cannot Overload sizeof Operator in C++ Why?Hello friends, In operator overloading concept in c++ ,certain operators such as sizeof : sizeof operator . : membershsip operator .* : pointer to member operator :: : scope resolution operator ?: : conditional operator cannot be overload in c++ , why it so ?? What is the technical reason behind it feature in c++? -PHIJO MATHEW PHILP.:) -PHIJO MATHEW PHILP.:)
-
How to import a native dll in Pocket PC.Hi Friends, I have created a native dll in C++. How can I import the dll to an CSharp smart device application. ///////////////////////////////////////////////////////////// Sample Code in C# is given below. using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace CallingSquareDllInSharp { class One { [DllImport("SquareDll.dll")] public static extern int squ(int x); static void Main(string[] args) { int a = 10; int result = One.squ(a); Console.WriteLine(result); } } } //////////////////////////////////////////////////////////////////// When I debug the the exe , I am getting an exception DllNotFoundException. The above C# application is Console program run on visual 2005. Kindly reply. Thanks Phijo :)
-
How to call unmanaged Dll in C#Hi I written a C++ unmanaged Dll. I tried to call the dll in C# Application. But I am unable to call the dll. Kindly note the following points 1) I have used the namespace using System.Runtime.InteropServices; 2) I have used the [DllImport("dll1.dll")] to import the the dll in C#. 3) I tried add the dll in C++ using the Add Reference method.Using this method I was unable to add the dll to the project. The dll is a Win32 Dynamic Dll. Can any one tell how to write a dll in C++ that used imported to C# application ? It is very urgent. Thanks Phijo Philip :)
-
how to add C++ code in CSharp ProgrammingHi Can anyone tell me how to embbeded C++ code in CSharp in application? Can anyone help me in this matter. Hoping for a favorable reply From Phijo Mathew Philip. :)
-
HOW TO LOAD BITMAP IMAGE TO DIALOG FORM IN VC++Hello friends, I am facing problem how to load the bitmap to dialog form in MFC. Can anyone help me in this matter. Can any one help me in this matter?. Can explain how to load the bit map with a sample code in MFC. Hoping for a reply on this issue. From Phijo :)
-
Help Required for Development of Mobile Application on Window Mobile platform 5.0 [modified]Hi Friends, I am new to window mobile development 5.0. I would like to know the sites sites where I can learn Win32 programming for window mobile platform on .net frame work. Can any tell me where I can find the tutorial window mobile application 5.0 from which I can develop application for window mobile operating system ? Kindly respond to my request. From Phijo:) -- modified at 6:51 Friday 4th August, 2006
-
problem with add member variable using popup menu [modified](POCKET PC 2005)Hi Friends, I created a dialog based application VC++ .net platform. I placed edit box on the dialog form. When I place the mouse on the edit box and right click it, add variable in the pop up menu is disabled. I want the edit box to accept string input only for this purpose , I not able specify the type of input the edit box will accept. For example CString m_accept. I am not able to do this . Can any one tell me were I can enable the "add variable" in the pop menu? from PHIJO:) -- modified at 0:17 Friday 28th July, 2006
-
PROBLEM WITH EDIT BOX IN .NET 2005 FOR SMART DEVICE LIKE POCKET PCHi Friends, I created a dialog based VC++ .net platform. I placed edit box on the dialog form. When I place the mouse on the edit box and right click it, add variable in the pop up menu is disabled. I want the edit box to accept string input only for this purpose , I not able specify the type of input the edit box will accept. For example CString m_accept. I am not able to do this . Can any one tell me were I can enable the "add variable" in the pop menu? from Phijo:)
-
Is it possible to Open VC++ project *.dsp in Visual Studio .net 2005Hello Friends, Is it is possible to open visual studio project Win32 Console based application on visual studio .net 2005. Kindly respond to query. From Phijo:):)
-
DLL PROBLEM IN vb front end after calling the dll written in win32 applicationPrivate Declare Function concat Lib "d:\StringConcat1.dll" (ByVal Text1 As String, ByVal Text2 As String) As String Private Sub Command1_Click() Text3.Text = concat(Text1.Text, Text2.Text) a = Len(concat(Text1.Text, Text2.Text)) MsgBox a End Sub The function of the vb code is given below. The form has three text fields a) The first text field , enter the first string b) The second text field , enter the second string c) The third text field, concatation of the two string i.e result of the two strings is shown in third text field d) One Command button at the bottom of the form. When we call "StringConcat1.dll" dll the value entered through the two text fields is send as a argument by value to the dll and Concatenation of the strings is done in C++ . the dll code is given below "test.cpp" #include char* __stdcall concat(char *string1 , char *string2) { return strcat(string1,string2); } the def is given "test.def" LIBRARY StringConcat1 EXPORTS concat @1 When I debug the code , the Concatenation is done in C++ but when the result is given to vb code ie front end only the first string that is entered in the first text is shown only as the output in the third text field. for example text1 : india text2 : people result text3 : india ( but the result should be indiapeople after the concatenation is done in C++(i.e dll does the function for concatenation , but the result shown is here is only "india"). Kindly note the point: the C++ code works perfectly. After computation ie Concatenation , the result is not shown in the vb code only text1 input is shown in text3 field. Can any help me in this matter From Phijo Philip
-
PROBLEM IN STRING Concatenation DLL using using vb6 and c++ (win32 dynamic dll )Hello Friends kindly see the code VB6 code given below Private Declare Function concat Lib "d:\StringConcat1.dll" (ByVal Text1 As String, ByVal Text2 As String) As String Private Sub Command1_Click() Text3.Text = concat(Text1.Text, Text2.Text) a = Len(concat(Text1.Text, Text2.Text)) MsgBox a End Sub The function of the vb code is given below. The form has three text fields a) The first text field , enter the first string b) The second text field , enter the second string c) The third text field, concatation of the two string i.e result of the two strings is shown in third text field When we call "StringConcat1.dll" dll the value entered through the two text fields is send as a argument by value to the dll and concatation of the strings is done in C++ . the dll code is given below "test.cpp" #include char* __stdcall concat(char *string1 , char *string2) { return strcat(string1,string2); } the def is given "test.def" LIBRARY StringConcat1 EXPORTS concat @1 When I debug the code , the Concatenation is done in C++ but when the result is given to vb code ie front only the first string that is entered in the first text is shown only as the output in the third text field. Kindly note the point: the C++ code works perfectly. After computation ie Concatenation , the result is not shown in the vb code Can any help me in this matter From Phijo Philip
-
why the value enter the IDC_EDIT1 is not shown in IDC_EDIT2?In MFC wizard I have created a dialog form with two EditBoxs(IDC_EDIT1 and IDC_EDIT2). m_var1 and m_var2 are type unsigned integer. The type of the two edit boxes are of unsigned integer data type:). The names of the member variables are m_var1 and m_var2. Their is a Button on the Dialog form Kindly observe the code given void CMFC_7Dlg::OnButton1() { // TODO: Add your control notification handler code here UINT abc = m_var1; m_var2 = abc; UpdateData(FALSE); } the problem is that when click the button1, the value entered in IDC_EDIT1 is not assigned to the temporary variable abc. When I debug the code, the value assigned to abc is zero. For example if enter a unsigned value 23 , the value is not assinged to the variable abc. Kindly observe the code which is given below void CMFC_7Dlg::OnButton1() { // TODO: Add your control notification handler code here UpdateData(TRUE); m_var2 = m_var1; UpdateData(TRUE); } In the above code, the value enter in IDC_EDIT1 is not transferred to IDC_EDIT2 even though m_var1 and m_var2 are both unsigned integer data type. Kindly observe the code which is given below void CMFC_7Dlg::OnButton1() { m_var2 = m_var1; } In the above given code, the direct assinged of m_var1 to m_var2 is not possible. When I debug the program , only zero is assinged to m_var2. My question is why the value enter the IDC_EDIT1 is not shown in IDC_EDIT2? Can any one please help me in this matter. :) -- modified at 6:01 Tuesday 14th March, 2006
-
how to CString Variable to Integer data typeHello friends, Can any one tell how to convert CString variable to integer data type? for example CString str1; int b; str1 = m_var1 ; m_var1 of string data type I want to assign str1 to b . Since str1 is type of CString , then is not possible to assign str1 to b. I need to convert the str1 variable to data type of b. then only the assign is possible. Can any one help me in this matter :)
-
MFC STUDY CENTERHello Friends Can any tell one any websites where I can learn MFC programming from begineer point of view? I will be grateful to any one who can help me in this matter :)
-
to call a second dll from the First Dll in VC++ application.Hello Friends, I have a question . It is possible to call a second dll from the First Dll in VC++ application. Case 1: For example I a have dll called Sample A dll , then I have a second dll Sample B dll . It is possible to call Sample B dll from Sample A dll? All dlls are created using win32 dynamic DLL in VC++ platform. Can any one tell me what are the merits and demerits of such a method ? Case 2: To avoid such a situation is it possible to include the functionality the second dll in the first dll, so that calling a second dll from the first dll can be eliminated completely. Can any one tell me which of two Cases ie Case 1 and Case 2 is easy and more Reliable. :) :) -- modified at 2:22 Wednesday 22nd February, 2006