This is Keith Brown's Typepad Profile.
Join Typepad and start following Keith Brown's activity
Join Now!
Already a member? Sign In
Keith Brown
Chicago, IL, USA
Recent Activity
If you don't use their dialog then I believe that you can use it without Systems.Windows.Forms. For instance, just check to see if the product is licensed and if not then cancel out of the console. You could create a separate .exe to license the application.
Toggle Commented Mar 2, 2016 on Licensing applications: Crypto at AutoCAD DevBlog
Or you could use ms.Position = 0 as was done in the ResBufToStream method
I thought that I would add that the StreamToResBuf method requires the memorystream.position to be at 0. I created the memory stream and then immediately passed it to this method and it was making a result buffer full of 0's because the position was at the end of the stream. Adding the following line to the beginning of the method will insure that the pointer is always at the beginning of the stream. ms.Seek(0, SeekOrigin.Begin)
Would it be possible to share a .net version of the code?
Keith Brown is now following Keiabrow
Dec 26, 2012
Keith Brown is now following Spiderinnet2
Dec 26, 2012
Keith Brown is now following Spiderinnet
Dec 26, 2012
Keith Brown is now following Spiderinnet1
Dec 26, 2012
Keith Brown is now following Stephen Preston
Apr 18, 2012
Keith Brown is now following The Typepad Team
Apr 18, 2012