WL crashes on strategy built from VS (Visual Studio)
Author: jeffnintel
Creation Date: 4/29/2009 3:12 PM
profile picture

jeffnintel

#1
Hi,

I am using Visual Studio 2008 Pro...when I build my strategy code (which is successful) I get the required DLL and PDB files created in the WealthLab installation directory.

When I launch WL5.3, I see the process kick-off in task manager, but then it just dies. If I remove the DLL and PDB files it launches normally. For some reason, the loading of the newly created DLL is crashing WL?

Anyone see this too?

Thanks,
-jeff
profile picture

jeffnintel

#2
I figured out my issue...

I had Visual Studio add all the stubs (code completion)into my StrategyHelper...by default they throw an exception. I thought I had updated them all but missed one...it caused WL to crash when it was loading the DLL.


public override DateTime LastModifiedDate
{
get { throw new NotImplementedException(); }
}


public override DateTime CreationDate
{

get { return new DateTime(31241376000000000L); }
}
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).