Click here to Skip to main content
15,913,836 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionOutlook Toolbar Pin
_AnsHUMAN_ 15-Jan-07 22:34
_AnsHUMAN_ 15-Jan-07 22:34 
AnswerRe: Outlook Toolbar Pin
Laxman Auti30-Jan-07 22:18
Laxman Auti30-Jan-07 22:18 
Questionsubclassing without resource Pin
merlinos15-Jan-07 11:12
merlinos15-Jan-07 11:12 
AnswerRe: subclassing without resource Pin
prasad_som15-Jan-07 19:12
prasad_som15-Jan-07 19:12 
GeneralRe: subclassing without resource Pin
Jörgen Sigvardsson15-Jan-07 21:14
Jörgen Sigvardsson15-Jan-07 21:14 
GeneralRe: subclassing without resource Pin
prasad_som15-Jan-07 21:31
prasad_som15-Jan-07 21:31 
AnswerRe: subclassing without resource Pin
Jörgen Sigvardsson15-Jan-07 21:14
Jörgen Sigvardsson15-Jan-07 21:14 
QuestionVS7.0 and Above: SafeArray, VB.NET and VC++ Pin
Jeffrey Walton13-Jan-07 6:26
Jeffrey Walton13-Jan-07 6:26 
Hi All,

The following is giving me fits in VB.NET. Any ideas how to make it work?

*************
VB.NET

Dim rng as PseudoRNG
rng = new PseudoRNG()

dim a(10) as Long

rng.GenerateBlock( a )
...
*************

What I've tried (and how it does not work is listed below). Following that are KB article references... KB314708 does not resolve (even though it is supposed to). It is also broken on VS2005/.NET 2.0.

Does anyone know how to pass an array? Obvioulsy, I do not.

Jeff

****
HRESULT GenerateBlock([in, out] SAFEARRAY(VARIANT) * Block);
System.Runtime.InteropServices.SafeArrayTypeMismatchException

HRESULT GenerateBlock([in, out] SAFEARRAY(VARIANT*) * Block);
System.Runtime.InteropServices.SafeArrayTypeMismatchException

HRESULT GenerateBlock([in, out] SAFEARRAY(VT_DISPATCH) * Block);
Compile Problem

HRESULT GenerateBlock([in, out] SAFEARRAY(IDispatch) * Block);
SAFEARRAY(interface pointer) doesn't work using midl generated proxy
System.Runtime.InteropServices.SafeArrayTypeMismatchException

HRESULT GenerateBlock([in, out] SAFEARRAY(IDispatch*) * Block);
SAFEARRAY(interface pointer) doesn't work using midl generated proxy
System.Runtime.InteropServices.SafeArrayTypeMismatchException

HRESULT GenerateBlock([in, out] SAFEARRAY(long) * Block);
System.Runtime.InteropServices.SafeArrayTypeMismatchException
****
SafeArrayTypeMismatchException Error Message When You Invoke a COM Method[^]

Using OLE Automation Marshaler for 16/16 & 16/32 COM Interface[^] (should not even apply)
Questionalter class-style before creation in ATL/WTL ? Pin
shuaicarr9-Jan-07 21:39
shuaicarr9-Jan-07 21:39 
AnswerRe: alter class-style before creation in ATL/WTL ? Pin
Stephen Hewitt10-Jan-07 12:24
Stephen Hewitt10-Jan-07 12:24 
QuestionInterface Definition (No Implementation) Pin
Jeffrey Walton9-Jan-07 14:20
Jeffrey Walton9-Jan-07 14:20 
AnswerRe: Interface Definition (No Implementation) Pin
Stephen Hewitt9-Jan-07 15:40
Stephen Hewitt9-Jan-07 15:40 
AnswerRe: Interface Definition (No Implementation) Pin
Michael Dunn9-Jan-07 22:09
sitebuilderMichael Dunn9-Jan-07 22:09 
QuestionToolbars on internet explorer and tooltips Pin
Member 35534028-Jan-07 23:05
Member 35534028-Jan-07 23:05 
AnswerRe: Toolbars on internet explorer and tooltips Pin
Michael Dunn9-Jan-07 0:39
sitebuilderMichael Dunn9-Jan-07 0:39 
Questionwhat's theClass for in BEGIN_MSG_MAP(theClass)? Pin
rockonedge8-Jan-07 21:54
rockonedge8-Jan-07 21:54 
GeneralRe: what's theClass for in BEGIN_MSG_MAP(theClass)? Pin
prasad_som9-Jan-07 1:39
prasad_som9-Jan-07 1:39 
AnswerRe: what's theClass for in BEGIN_MSG_MAP(theClass)? Pin
Stuart Dootson9-Jan-07 9:00
professionalStuart Dootson9-Jan-07 9:00 
AnswerRe: what's theClass for in BEGIN_MSG_MAP(theClass)? Pin
Steve S16-Jan-07 5:07
Steve S16-Jan-07 5:07 
AnswerRe: Displaying a ToolTip Pin
User 2155973-Jan-07 23:56
User 2155973-Jan-07 23:56 
QuestionTemplate library for design patterns Pin
rahulmballal2-Jan-07 8:41
rahulmballal2-Jan-07 8:41 
AnswerRe: Template library for design patterns Pin
Kevin McFarlane13-Jan-07 9:33
Kevin McFarlane13-Jan-07 9:33 
GeneralTutorial for ATL Pin
$uresh $hanmugam29-Dec-06 22:20
$uresh $hanmugam29-Dec-06 22:20 
GeneralRe: Tutorial for ATL Pin
Jörgen Sigvardsson5-Jan-07 12:23
Jörgen Sigvardsson5-Jan-07 12:23 
GeneralRe: Tutorial for ATL Pin
ThatsAlok22-Jan-07 19:28
ThatsAlok22-Jan-07 19:28 

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.