activex problem
-
hi , i have created an activex control in vb. in one of the method the user passes the file path to the control. in vb i used string to get the file path... now in vc++ when i insert the control its been declared i.e the string variable is been declared as BSTR* filepath...so i cant pass the variable which i am capturing as a CString. What is the problem??? Thanking you. Satadru.
-
hi , i have created an activex control in vb. in one of the method the user passes the file path to the control. in vb i used string to get the file path... now in vc++ when i insert the control its been declared i.e the string variable is been declared as BSTR* filepath...so i cant pass the variable which i am capturing as a CString. What is the problem??? Thanking you. Satadru.
strings are used as BSTR in COM VB Hides this complexity from the user but in VC u'll have to convert BSTR in to CString there are many good bstr classes in VC u can use Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi
-
hi , i have created an activex control in vb. in one of the method the user passes the file path to the control. in vb i used string to get the file path... now in vc++ when i insert the control its been declared i.e the string variable is been declared as BSTR* filepath...so i cant pass the variable which i am capturing as a CString. What is the problem??? Thanking you. Satadru.
Quick Hack YourFunc(_bstr_t((LPCTSTR)MyString)); Michael Snow is lying on the ground, and in the air the sleigh bells sound, The frosted patterned window panes, it's British summer time again. No, it's not, It's Christmas - Santa Claus in on the Dole (Spitting Image 1986)
-
Quick Hack YourFunc(_bstr_t((LPCTSTR)MyString)); Michael Snow is lying on the ground, and in the air the sleigh bells sound, The frosted patterned window panes, it's British summer time again. No, it's not, It's Christmas - Santa Claus in on the Dole (Spitting Image 1986)
You bet :-) My God is more powerfull Than Your God. (the line that divides the world)
-
strings are used as BSTR in COM VB Hides this complexity from the user but in VC u'll have to convert BSTR in to CString there are many good bstr classes in VC u can use Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi
-
Quick Hack YourFunc(_bstr_t((LPCTSTR)MyString)); Michael Snow is lying on the ground, and in the air the sleigh bells sound, The frosted patterned window panes, it's British summer time again. No, it's not, It's Christmas - Santa Claus in on the Dole (Spitting Image 1986)