Click here to Skip to main content
15,894,460 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Question about memory leak in STL vector. Pin
George218-Feb-03 14:44
George218-Feb-03 14:44 
GeneralDirect buffer access to STL string Pin
Neville Franks16-Feb-03 17:18
Neville Franks16-Feb-03 17:18 
GeneralRe: Direct buffer access to STL string Pin
markkuk17-Feb-03 1:52
markkuk17-Feb-03 1:52 
GeneralRe: Direct buffer access to STL string Pin
Neville Franks18-Feb-03 20:29
Neville Franks18-Feb-03 20:29 
QuestionIs it common for implementation in .h files? Pin
TigerNinja_16-Feb-03 15:16
TigerNinja_16-Feb-03 15:16 
AnswerRe: Is it common for implementation in .h files? Pin
Michael Dunn16-Feb-03 15:26
sitebuilderMichael Dunn16-Feb-03 15:26 
GeneralRe: Is it common for implementation in .h files? Pin
Tim Smith17-Feb-03 2:08
Tim Smith17-Feb-03 2:08 
GeneralInvalidCastException from remote object that use COM Pin
itay_k16-Feb-03 4:48
itay_k16-Feb-03 4:48 
Hello,

I created a COM DLL. (with VC++.NET but this is not important).
And created some assembly the has a function, that create instance from the
COM class, and call some function from the COM object.

When I call the functions of the assembly as simple as possible, from some
console app, this is work.!
But if I do it via remoting, it isn't work!! and give this exception:

Unhandled Exception: System.InvalidCastException: QueryInterface for
interface ScreenCamaraASM.IScreenCapturing failed.

Server stack trace:
at ScreenCamaraASM.CScreenCapturingClass.GetNumber()
at RCServerNP.RCServer.GetScreenPicture() in d:\mydocs\visual studio
projects
\remotecommunication\rcserver\rcserver.cs:line 24
at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(M
ethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInC
ontext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMes
sage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
req
Msg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgDa
ta, Int32 type)
at RCServerNP.RCServer.GetScreenPicture() in d:\mydocs\visual studio
projects
\remotecommunication\rcserver\rcserver.cs:line 21
at Testing.Class1.Main(String[] args) in D:\MyDocs\Visual Studio
Projects\Rem
oteCommunication\Testing\Class1.cs:line 36.







Please, any solution?
Thank's, Itay.
GeneralQuestion about bind2nd. Pin
George214-Feb-03 20:04
George214-Feb-03 20:04 
GeneralRe: Question about bind2nd. Pin
AlexO15-Feb-03 5:43
AlexO15-Feb-03 5:43 
GeneralRe: Question about bind2nd. Pin
George215-Feb-03 17:04
George215-Feb-03 17:04 
GeneralIClassFactory2 Pin
Raphael Amorim14-Feb-03 4:00
professionalRaphael Amorim14-Feb-03 4:00 
QuestionIDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 1:35
Zizilamoroso14-Feb-03 1:35 
AnswerRe: IDispatch from atl-control??? Pin
geo_m14-Feb-03 2:37
geo_m14-Feb-03 2:37 
GeneralRe: IDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 4:06
Zizilamoroso14-Feb-03 4:06 
GeneralRe: IDispatch from atl-control??? Pin
geo_m14-Feb-03 4:27
geo_m14-Feb-03 4:27 
GeneralRe: IDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 4:54
Zizilamoroso14-Feb-03 4:54 
GeneralRe: IDispatch from atl-control??? Pin
geo_m14-Feb-03 5:14
geo_m14-Feb-03 5:14 
GeneralRe: IDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 6:01
Zizilamoroso14-Feb-03 6:01 
GeneralRe: IDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 6:28
Zizilamoroso14-Feb-03 6:28 
GeneralRe: IDispatch from atl-control??? Pin
geo_m14-Feb-03 10:55
geo_m14-Feb-03 10:55 
GeneralQuestion about uninitialized memory. Pin
George214-Feb-03 1:03
George214-Feb-03 1:03 
GeneralRe: Question about uninitialized memory. Pin
Tim Smith14-Feb-03 2:19
Tim Smith14-Feb-03 2:19 
GeneralRe: Question about uninitialized memory. Pin
George214-Feb-03 2:27
George214-Feb-03 2:27 
GeneralRe: Question about uninitialized memory. Pin
Tim Smith14-Feb-03 3:20
Tim Smith14-Feb-03 3:20 

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.