|
-
Jan 22nd, 2008, 11:41 PM
#1
Thread Starter
New Member
Out of Memory Exception in VB6
Hi,
I have created a .Net ActiveX control. I am trying to use that in VB6 (unmanaged code). It works fine. But as per the requirement I need to load/host remoting object from my activex control. by using the following code..
RemotingConfiguration.Configure(some config file, false);This works fine in .net environment. As well as in "ActiveX Test Container" (tstcon32) tool. There is no error in config file. If I comment this code it loads and works fine at runtime in VB6. But it does not work if I comment out. It load correctly but at runtime it throws "Out of Memory" exception.
Kindly help me in this and let me know what needs to be done.
regards
Saikat
Last edited by saikatch; Jan 22nd, 2008 at 11:55 PM.
-
Jan 23rd, 2008, 09:02 AM
#2
Re: Out of Memory Exception in VB6
First, are you having problems with the VB6 code or the VB.NET code?
Second
 Originally Posted by saikatch
This works fine in .net environment. As well as in "ActiveX Test Container" (tstcon32) tool. There is no error in config file. If I comment this code it loads and works fine at runtime in VB6. But it does not work if I comment out. It load correctly but at runtime it throws "Out of Memory" exception.
This is very confusing. It sounds like you are saying that "it works if you comment out the code, but then if the code is commented out, it doesn't work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|