Click here to Skip to main content
15,867,594 members
Home / Discussions / C#
   

C#

 
GeneralConnect Matlab from c# Pin
xplod@fcsnet.de23-Aug-03 20:43
xplod@fcsnet.de23-Aug-03 20:43 
GeneralRe: Connect Matlab from c# Pin
Nick Parker24-Aug-03 17:59
protectorNick Parker24-Aug-03 17:59 
GeneralMaking data grid show vertically rather than horizontally Pin
Ista23-Aug-03 19:20
Ista23-Aug-03 19:20 
GeneralRe: Making data grid show vertically rather than horizontally Pin
MeisterBiber24-Aug-03 9:57
MeisterBiber24-Aug-03 9:57 
Generalinheritance with a twist on IEditableObject Pin
Ista23-Aug-03 18:53
Ista23-Aug-03 18:53 
GeneralDeveloping a voice messenger with .NET Pin
Naveed Ahmad23-Aug-03 17:52
Naveed Ahmad23-Aug-03 17:52 
GeneralATL server Pin
devvvy23-Aug-03 16:42
devvvy23-Aug-03 16:42 
GeneralRe: ATL server Pin
Ista23-Aug-03 18:50
Ista23-Aug-03 18:50 
norm wrote:
QUESTION 2: What's the diff between "retval" and "out":

[propget, id(3), helpstring("property ComputerName")] HRESULT ComputerName([out, retval] BSTR* pVal);

"retval" IS "out" isn't it? If pVal is passed as a pointer, why do you need to marked the parameter as [out][retval]?


retval = return val. in the case of com its the return value of success. I havent done ATL programming in 6 months so bare with me. you return S_OK or S_FAIL. This is built in for com and should be either or. It indicates a pass or fail for the service host.

out is just return value you got that drill.


norm wrote:
QUESTION 3: With ATL server projects, how can you add multiple interface? When you add "ATL simple object", the first interface is created for you by the wizard. Do you have do add to IDL file manually for subsequent interfaces? Is all that you need to do is to add to IDL? Any additional steps?

Well this one is an absolute pain and yes you will have mastered IDL by time you get this one down, i sure did. Add another simple object then add the interface instuctions to the main idl.

And dont forget depending on the clienbt accessing your com depends on the interface you inherit. Scripting versus the other<place the="" name="" i="" forgot="" here="">.

A great book that explains it in detail and in my opinion is invaluable to the ATL/COM programmer

by the way to pass an interface (CMyInterface **ppObject)

as you may know all interfaces are a pointer to a pointer

hope this helps. You might ask this in the ATL subject

nick

I'm not an expert yet, but I play one at work. Yeah and here too.
GeneralRe: ATL server Pin
devvvy23-Aug-03 20:28
devvvy23-Aug-03 20:28 
GeneralRe: ATL server Pin
Ista23-Aug-03 18:56
Ista23-Aug-03 18:56 
GeneralRe: ATL server Pin
Ista23-Aug-03 19:09
Ista23-Aug-03 19:09 
GeneralRe: ATL server Pin
devvvy23-Aug-03 20:44
devvvy23-Aug-03 20:44 
GeneralRe: ATL server Pin
Ista24-Aug-03 5:16
Ista24-Aug-03 5:16 
GeneralRe: ATL server Pin
Ista24-Aug-03 6:45
Ista24-Aug-03 6:45 
Generaltransforming bitmaps Pin
Ista23-Aug-03 15:38
Ista23-Aug-03 15:38 
GeneralGod book on patterns in C# Pin
ervar23-Aug-03 12:45
ervar23-Aug-03 12:45 
GeneralRe: God book on patterns in C# Pin
MeisterBiber23-Aug-03 13:26
MeisterBiber23-Aug-03 13:26 
GeneralRe: God book on patterns in C# Pin
flipdoubt23-Aug-03 14:52
flipdoubt23-Aug-03 14:52 
GeneralRe: God book on patterns in C# Pin
ervar24-Aug-03 20:38
ervar24-Aug-03 20:38 
GeneralRe: God book on patterns in C# Pin
Jim Stewart26-Aug-03 10:20
Jim Stewart26-Aug-03 10:20 
GeneralCuting out a part of a bitmap Pin
Ylis23-Aug-03 11:45
Ylis23-Aug-03 11:45 
GeneralRe: Cuting out a part of a bitmap Pin
J. Dunlap23-Aug-03 13:47
J. Dunlap23-Aug-03 13:47 
GeneralRe: Cuting out a part of a bitmap Pin
Ista23-Aug-03 19:17
Ista23-Aug-03 19:17 
GeneralRe: Cuting out a part of a bitmap Pin
Ylis24-Aug-03 6:12
Ylis24-Aug-03 6:12 
GeneralEFFICIENCY: lock{} or .Synchronized Pin
MeisterBiber23-Aug-03 11:45
MeisterBiber23-Aug-03 11:45 

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.