Click here to Skip to main content
15,911,786 members
Home / Discussions / COM
   

COM

 
GeneralShell extension. Pin
Member 134788323-Jun-05 15:30
Member 134788323-Jun-05 15:30 
GeneralRe: Shell extension. Pin
chenfred29-Jun-05 5:22
chenfred29-Jun-05 5:22 
GeneralTimer with Windowless Control Pin
Shraddhan23-Jun-05 12:42
Shraddhan23-Jun-05 12:42 
GeneralRe: Timer with Windowless Control Pin
Jörgen Sigvardsson26-Jun-05 6:04
Jörgen Sigvardsson26-Jun-05 6:04 
GeneralRe: Timer with Windowless Control Pin
Shraddhan26-Jun-05 12:57
Shraddhan26-Jun-05 12:57 
GeneralRe: Timer with Windowless Control Pin
Jörgen Sigvardsson27-Jun-05 10:18
Jörgen Sigvardsson27-Jun-05 10:18 
Generalchar** to VARIANT Pin
bvais23-Jun-05 11:01
sussbvais23-Jun-05 11:01 
GeneralRe: char** to VARIANT Pin
Lim Bio Liong23-Jun-05 15:12
Lim Bio Liong23-Jun-05 15:12 
Hello bvais,

I assume that you want to use a VARIANT to store a receiver of a string. You can't load a char** into a VARIANT. The standard way to pass strings in COM is to use BSTRs.

Try using a BSTR* instead. In this case, the type for your VARIANT would be : (VT_BSTR|VT_BY_REF). The specific member in the VARIANT to use is "pbstrVal" (set/get via the V_BSTRREF() macro).

Best of luck,
Bio.

GeneralRe: char** to VARIANT Pin
bvais23-Jun-05 18:23
sussbvais23-Jun-05 18:23 
GeneralRe: char** to VARIANT Pin
GuimaSun24-Jun-05 9:26
GuimaSun24-Jun-05 9:26 
GeneralRe: char** to VARIANT Pin
Lim Bio Liong24-Jun-05 23:54
Lim Bio Liong24-Jun-05 23:54 
GeneralRe: char** to VARIANT Pin
Jörgen Sigvardsson25-Jun-05 13:44
Jörgen Sigvardsson25-Jun-05 13:44 
GeneralRe: char** to VARIANT Pin
Lim Bio Liong25-Jun-05 19:39
Lim Bio Liong25-Jun-05 19:39 
GeneralVARIANT in VC 6.0 and Objects in C# Pin
btanveer23-Jun-05 6:09
btanveer23-Jun-05 6:09 
QuestionHow I can debug a dll file Pin
Anonymous22-Jun-05 23:37
Anonymous22-Jun-05 23:37 
AnswerRe: How I can debug a dll file Pin
ameysp23-Jun-05 23:56
ameysp23-Jun-05 23:56 
Generalcreating instance of an object Pin
pardis21-Jun-05 21:22
pardis21-Jun-05 21:22 
GeneralObtaining currently active IE window using IShellWindows Pin
VV114420-Jun-05 11:15
VV114420-Jun-05 11:15 
GeneralRe: Obtaining currently active IE window using IShellWindows Pin
GuimaSun23-Jun-05 10:30
GuimaSun23-Jun-05 10:30 
Generalsending data to dialog Pin
pardis17-Jun-05 20:19
pardis17-Jun-05 20:19 
GeneralRe: sending data to dialog Pin
GuimaSun23-Jun-05 10:02
GuimaSun23-Jun-05 10:02 
GeneralUsing FoxPro COM in Asp.Net Pin
BCKY17-Jun-05 13:41
BCKY17-Jun-05 13:41 
Generalget IE caret position (x,y) Pin
17-Jun-05 4:58
suss17-Jun-05 4:58 
GeneralAccess Violation in Release of COM+ object in Release Version Pin
ameysp16-Jun-05 20:01
ameysp16-Jun-05 20:01 
GeneralRe: Access Violation in Release of COM+ object in Release Version Pin
GuimaSun23-Jun-05 9:53
GuimaSun23-Jun-05 9:53 

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.