Kean Walmsley

July 2009

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Twitter Updates

    follow me on Twitter



    « Getting the ObjectARX Wizard to work with Visual Studio Express editions | Main | Calling ObjectARX functions from a .NET application »

    July 06, 2006

    TrackBack

    TrackBack URL for this entry:
    http://www.typepad.com/services/trackback/6a00d83452464869e200d834d3232c69e2

    Listed below are links to weblogs that reference Debugging using Express Editions:

    Comments

    I use VB .Net Express to create cutom functions in AutoCAD...I have had no problem getting VB Express to debug...I have to tell it to startup AutoCAD and I also have to netload the dll that I am creating...I get the "do not use managed code..." error a few times, but everything runs well after that...

    Thanks for the update..Thought it was just me.:)

    Thanks very much did the trick also had to set the working directory to same location as exe to avoid a subsequent error.

    Hello, all. Those who attended my classes last year at AU (AU 2006) received a DVD that included a Template for creating VB.NET applications using VB.NET Express. I have since created templates that can be used for creating Jigs (both Draw and Entity Jigs) using VB.NET Express Edition. Look me up this year if you would like these templates.

    By the way, nearly all of my classes use VB.NET Express edition - even the Hands-On Introduction to VB.NET Labs.

    Take care and I hope to see you at AU 2007.

    Jerry Winters

    Thanks, Jerry.

    Looking forward to seeing you in Vegas!

    Kean

    Now that VS 2008 is out, does the first line of the above file need to change?

    It's possible - I won't have time to research whether the information provided is still relevant in the 2008 Express Editions for some time.

    If someone researches this and finds out what changes are needed (if any), please post the information as a comment.

    Kean

    I tried this same thing with the C# Express Edition 2008 and it worked just fine without any alterations.

    Is anyone getting a LoaderLock Error when they start debugging?

    I am using VB.net Express 2008
    Below The LoaderLock Error, I am getting this error:
    I'm not how to fix it???
    Any ideas?
    Thanks
    Mark

    DLL 'C:\Program Files\Autodesk Land Desktop 2006\FdoConfigUi.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.

    Hi Mark,

    Sorry - I don't use Land Desktop, so don't see this error.

    Is this something you can disable in Debug -> Exceptions... ?

    Regards,

    Kean

    Seems to work just fine in Express 2008. The vbproj.user file already existed in my project with the exact same first line so I just replaced it. Pointed it at the AutoCAD 2008 executable and finally I can netload & debug.

    Thanks

    Hi, Mark
    i am using VS Express(VC,VCS,VB) , i have a problem that i can not build object arx in VC because have link to ATL or MFC, can i do without ATL/MFC?

    for LoaderLock Error you can unactive "Loader Lock" by:
    Hit CTRL+Alt+E (mnu debug/exceptions)
    In managing debbug...
    uncheck loaderlock

    Hi!

    I tried this with Visual C# 2008 Express, and it works, too. You've just got to name the extra file "MyProjectName.csproj.user".
    Thanks a lot to the author - you saved me a lot of hassle =)

    I'm using Visual Basic 2008 Express Edition.
    I tried and it was really helpful.
    Thanks.

    Hi!

    If you also would like to automaticly netload your dll in Autocad from Visual Basic 2008 .NET then do the following:

    - create a text file in notepad
    - type in : netload ..\bin\Debug\[myclass].dll
    - save the file in you vb project directory as "script.scr"
    - in the vb.net IDE go to you project properties => debug => and type in the 'command line arguments' /b "[path to vb.net project]\script.scr"
    - if you debug your project then the DLL in the debug directory will be netloaded.

    I am using visual studio C# 2008 express but do not see the .csproj.user file only the .csproj file. Am I missing a step?

    aok -

    If I recall correctly, the point is that you need to create the .csproj.user file yourself.

    Regards,

    Kean

    Verify your Comment

    Previewing your Comment

    This is only a preview. Your comment has not yet been posted.

    Working...
    Your comment could not be posted. Error type:
    Your comment has been posted. Post another comment

    The letters and numbers you entered did not match the image. Please try again.

    As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

    Having trouble reading this image? View an alternate.

    Working...

    Post a comment

    Feed & Share

    Search