Click here to Skip to main content
15,890,438 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: ATL / IIS / EXE ??? Pin
Peter Weyzen15-Dec-04 9:16
Peter Weyzen15-Dec-04 9:16 
GeneralRe: ATL / IIS / EXE ??? Pin
dcudev.lcr15-Dec-04 9:28
dcudev.lcr15-Dec-04 9:28 
GeneralRe: ATL / IIS / EXE ??? Pin
Peter Weyzen15-Dec-04 9:30
Peter Weyzen15-Dec-04 9:30 
GeneralListView - Editing SubItems in-place Pin
JacquesTheron9-Dec-04 22:05
JacquesTheron9-Dec-04 22:05 
GeneralRe: ListView - Editing SubItems in-place Pin
JacquesTheron14-Dec-04 9:00
JacquesTheron14-Dec-04 9:00 
Generalabout parameter Pin
yingkou9-Dec-04 19:03
yingkou9-Dec-04 19:03 
GeneralRe: about parameter Pin
ThatsAlok9-Dec-04 22:27
ThatsAlok9-Dec-04 22:27 
GeneralRe: about parameter Pin
yingkou9-Dec-04 23:19
yingkou9-Dec-04 23:19 
Sorry I haven't ever learned VB

Private Sub Form_Load()
Dim a As New ATLTESTLib.ITestTWO
Dim str, str1 As String
str = a.GetBSTR2(str1)
MsgBox str1, vbOKOnly, str
End Sub

Compile Error and My COM Interface Is:

interface ITestOne : IDispatch
{
[id(1), helpstring("method GetBSTR1")] HRESULT GetBSTR1([out,retval]BSTR*
bstrInfo);
[propget, id(2), helpstring("property property")] HRESULT property([out,
retval] long *pVal);

[propput, id(2), helpstring("property property")] HRESULT property([in] long
newVal);
};
[object,uuid(6FFD87E9-5733-4DF2-A33A-161D44FBC7D0),dual,helpstring("ITestTwo Interface"),pointer_default(unique)]
interface ITestTwo : IUnknown
{
[id(1), helpstring("method GetBSTR2")] HRESULT GetBSTR2([out]BSTR* bufName1,
[out,retval]BSTR* bufName2);
};
[uuid(D8F2F3E6-3356-437B-849D-087CCD9439F0),version(1.0),helpstring("ATLTest 1.0 Type Library")]
library ATLTESTLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");

[
uuid(9072075F-656A-4B1C-9809-17A6164D1507),
helpstring("TestOne Class")
]
coclass TestOne
{
[default] interface ITestOne;
};
};

GeneralRe: about parameter Pin
yingkou9-Dec-04 23:21
yingkou9-Dec-04 23:21 
GeneralRe: about parameter Pin
ThatsAlok10-Dec-04 18:00
ThatsAlok10-Dec-04 18:00 
GeneralRe: about parameter Pin
Jörgen Sigvardsson13-Dec-04 8:28
Jörgen Sigvardsson13-Dec-04 8:28 
GeneralRe: about parameter Pin
yingkou13-Dec-04 12:58
yingkou13-Dec-04 12:58 
GeneralRe: about parameter Pin
Jörgen Sigvardsson13-Dec-04 13:00
Jörgen Sigvardsson13-Dec-04 13:00 
GeneralRe: about parameter Pin
yingkou13-Dec-04 13:55
yingkou13-Dec-04 13:55 
GeneralRe: about parameter Pin
yingkou13-Dec-04 14:11
yingkou13-Dec-04 14:11 
GeneralRe: about parameter Pin
Jörgen Sigvardsson13-Dec-04 21:11
Jörgen Sigvardsson13-Dec-04 21:11 
QuestionUsing ATL Interface? Pin
dSolariuM7-Dec-04 19:00
dSolariuM7-Dec-04 19:00 
AnswerRe: Using ATL Interface? Pin
Steve S7-Dec-04 23:41
Steve S7-Dec-04 23:41 
AnswerRe: Using ATL Interface? Pin
ThatsAlok8-Dec-04 2:29
ThatsAlok8-Dec-04 2:29 
QuestionIE Toolbars on Windows Taskbar? Pin
Paul Ingles6-Dec-04 6:52
Paul Ingles6-Dec-04 6:52 
AnswerRe: IE Toolbars on Windows Taskbar? Pin
Michael Dunn6-Dec-04 19:41
sitebuilderMichael Dunn6-Dec-04 19:41 
GeneralRe: IE Toolbars on Windows Taskbar? Pin
Paul Ingles6-Dec-04 22:35
Paul Ingles6-Dec-04 22:35 
Question[Help!!!]How to change states icon??? Pin
Robinzo76955-Dec-04 14:31
sussRobinzo76955-Dec-04 14:31 
Question[Help!!!]How to change states icon??? Pin
Roy Zuo5-Dec-04 14:30
Roy Zuo5-Dec-04 14:30 
QuestionHow to use "GetWindowProc"? Pin
Roozbeh692-Dec-04 0:01
professionalRoozbeh692-Dec-04 0:01 

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.