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

.NET (Core and Framework)

 
GeneralHow protect a .EXE againt Process Termination ? Pin
Sunil12322-Jan-08 19:02
Sunil12322-Jan-08 19:02 
GeneralRe: How protect a .EXE againt Process Termination ? Pin
Pete O'Hanlon22-Jan-08 22:14
mvePete O'Hanlon22-Jan-08 22:14 
GeneralRe: How protect a .EXE againt Process Termination ? Pin
Dave Kreskowiak23-Jan-08 1:43
mveDave Kreskowiak23-Jan-08 1:43 
GeneralRe: How protect a .EXE againt Process Termination ? Pin
Scott Dorman21-Jan-08 16:53
professionalScott Dorman21-Jan-08 16:53 
General.NET remoting and calling a Constructor with parameters Pin
Ponzano Paolo17-Jan-08 4:42
Ponzano Paolo17-Jan-08 4:42 
GeneralRe: .NET remoting and calling a Constructor with parameters Pin
Pete O'Hanlon18-Jan-08 9:02
mvePete O'Hanlon18-Jan-08 9:02 
GeneralRe: .NET remoting and calling a Constructor with parameters Pin
Ponzano Paolo20-Jan-08 21:54
Ponzano Paolo20-Jan-08 21:54 
GeneralRe: .NET remoting and calling a Constructor with parameters Pin
Pete O'Hanlon21-Jan-08 1:46
mvePete O'Hanlon21-Jan-08 1:46 
Ponzano Paolo wrote:
I've tried with this :
myDBHelper = (DBHelper)Activator.CreateInstance(typeof(DBHelper), new object[] { idCup, idSeason, idMatchCode });

but I get this error :

{"Cannot run a non-default constructor when connecting to well-known objects."}

Getting bored.... with CAO object I'm able but I got the memory used by the server increase a lot and won't free in any way...


You're using a Server Activated Object which means that you can't use nondefault constructors. When you think about it, this makes perfect sense because the instantiation of the proxy and the actual object occur at different times. Either you have to use CAO, or you have to change your remote object to use a separate mechanism, such as a remote method, to populate these values.


Deja View - the feeling that you've seen this post before.

My blog | My articles



GeneralDirectory.GetFiles() madness Pin
Mel Padden17-Jan-08 1:53
Mel Padden17-Jan-08 1:53 
GeneralRe: Directory.GetFiles() madness Pin
Pete O'Hanlon17-Jan-08 3:47
mvePete O'Hanlon17-Jan-08 3:47 
GeneralRe: Directory.GetFiles() madness Pin
Luc Pattyn17-Jan-08 4:08
sitebuilderLuc Pattyn17-Jan-08 4:08 
GeneralRe: Directory.GetFiles() madness Pin
Mel Padden17-Jan-08 4:24
Mel Padden17-Jan-08 4:24 
GeneralRe: Directory.GetFiles() madness Pin
Pete O'Hanlon18-Jan-08 9:03
mvePete O'Hanlon18-Jan-08 9:03 
GeneralRe: Directory.GetFiles() madness Pin
Guffa19-Jan-08 5:29
Guffa19-Jan-08 5:29 
GeneralRe: Directory.GetFiles() madness Pin
Luc Pattyn19-Jan-08 6:08
sitebuilderLuc Pattyn19-Jan-08 6:08 
QuestionUnregistered COM Server Pin
Nathan Holt at EMOM16-Jan-08 16:05
Nathan Holt at EMOM16-Jan-08 16:05 
GeneralRe: Unregistered COM Server Pin
Paul Conrad19-Jan-08 12:18
professionalPaul Conrad19-Jan-08 12:18 
GeneralRe: Unregistered COM Server Pin
Mike Dimmick20-Jan-08 0:10
Mike Dimmick20-Jan-08 0:10 
GeneralRe: Unregistered COM Server Pin
Nathan Holt at EMOM21-Jan-08 4:42
Nathan Holt at EMOM21-Jan-08 4:42 
QuestionClickOnce - Change Processor Pin
C-Scharbe16-Jan-08 10:27
C-Scharbe16-Jan-08 10:27 
GeneralRe: ClickOnce - Change Processor Pin
Paul Conrad19-Jan-08 12:19
professionalPaul Conrad19-Jan-08 12:19 
QuestionAdd In for changing context menu entry in Outlook 2003 Pin
Nilemet16-Jan-08 4:57
Nilemet16-Jan-08 4:57 
QuestionIf I have more than one version of one assemblies, then how'll I use old version (how/where to specify version number?)in my application? Pin
Member 354773616-Jan-08 4:46
Member 354773616-Jan-08 4:46 
AnswerRe: If I have more than one version of one assemblies, then how'll I use old version (how/where to specify version number?)in my application? Pin
Dave Kreskowiak16-Jan-08 5:06
mveDave Kreskowiak16-Jan-08 5:06 
QuestionIs XPath 2.0 support in .NET now? Pin
Marc Clifton16-Jan-08 4:27
mvaMarc Clifton16-Jan-08 4:27 

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.