Click here to Skip to main content
15,890,527 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Is ADO exposable via Web Services? Pin
Chopper20-Feb-03 11:02
Chopper20-Feb-03 11:02 
GeneralRe: Is ADO exposable via Web Services? Pin
David Stone21-Feb-03 18:04
sitebuilderDavid Stone21-Feb-03 18:04 
GeneralHelp Please: ComboBox Control in WinForm Datagrid Control Pin
DionChen19-Feb-03 5:04
DionChen19-Feb-03 5:04 
Generalsnap-ins in .NET Pin
Mahdi Sadegh18-Feb-03 2:04
Mahdi Sadegh18-Feb-03 2:04 
GeneralDatagrid and Dataset questions Pin
DionChen17-Feb-03 4:02
DionChen17-Feb-03 4:02 
GeneralTristate Check Boxes in TreeView Pin
Scott Lee16-Feb-03 16:00
Scott Lee16-Feb-03 16:00 
GeneralDHTMLEdit vs. MSHTML Pin
Jonas Follesø16-Feb-03 15:32
Jonas Follesø16-Feb-03 15:32 
GeneralInvalidCastException from remote object that use COM Pin
itay_k16-Feb-03 4:47
itay_k16-Feb-03 4:47 
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.
GeneralHelpProvider Control question Pin
DionChen14-Feb-03 4:19
DionChen14-Feb-03 4:19 
GeneralProblem in logging the error Redist Dot Net Setup Pin
RupangDesai13-Feb-03 23:13
RupangDesai13-Feb-03 23:13 
GeneralAccessing a network .mdb from Windows Service Pin
Jamie Nordmeyer13-Feb-03 7:44
Jamie Nordmeyer13-Feb-03 7:44 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Stephane Rodriguez.13-Feb-03 7:50
Stephane Rodriguez.13-Feb-03 7:50 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Jamie Nordmeyer13-Feb-03 7:57
Jamie Nordmeyer13-Feb-03 7:57 
GeneralRe: Accessing a network .mdb from Windows Service Pin
leppie14-Feb-03 6:17
leppie14-Feb-03 6:17 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Jamie Nordmeyer14-Feb-03 9:36
Jamie Nordmeyer14-Feb-03 9:36 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Richard Deeming14-Feb-03 0:00
mveRichard Deeming14-Feb-03 0:00 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Jamie Nordmeyer14-Feb-03 9:20
Jamie Nordmeyer14-Feb-03 9:20 
GeneralIP performance counter in .NET Pin
princedom13-Feb-03 6:37
princedom13-Feb-03 6:37 
GeneralMultiple UI Threads, One .NET App Pin
jjreilly12-Feb-03 6:00
jjreilly12-Feb-03 6:00 
GeneralRe: Multiple UI Threads, One .NET App Pin
Stephane Rodriguez.12-Feb-03 8:08
Stephane Rodriguez.12-Feb-03 8:08 
GeneralRe: Multiple UI Threads, One .NET App Pin
jjreilly13-Feb-03 6:14
jjreilly13-Feb-03 6:14 
GeneralChecking file changes Pin
Joao Vaz11-Feb-03 0:27
Joao Vaz11-Feb-03 0:27 
GeneralRe: Checking file changes Pin
Stephane Rodriguez.13-Feb-03 8:02
Stephane Rodriguez.13-Feb-03 8:02 
GeneralRe: Checking file changes Pin
Joao Vaz13-Feb-03 20:48
Joao Vaz13-Feb-03 20:48 
GeneralRe: Checking file changes Pin
Giles21-Feb-03 3:59
Giles21-Feb-03 3:59 

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.