Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 20th, 2008, 10:49 AM
Registered User
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Windows Form Control into DLL?

Hi All:
I have a window form control project that I would to be referenced by a dll. The project works fine as a stand alone, but as soon as I try to build it from the .h file (separate project), I get all these error from the computer generated code. A example of a few errors are

Quote:
quote:
Error 1 error C2039: 'ComponentModel' : is not a member of 'System'

Error 2 error C2871: 'ComponentModel' : a namespace with this name does not exist

Error 3 error C3083: 'Windows': the symbol to the left of a '::' must be a type

Error 4 error C2039: 'Forms' : is not a member of 'System'

Now... is it that I'm just doing this all wrong? If so, what is the proper way for me to define a window form control dll? I've searched far and wide and I just can't get a clue!!!

Thanks so much!!

-Justin







Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with windows application and DLL naikpalak722 General .NET 0 October 2nd, 2007 03:08 PM
How can we call VC++ dll in C# windows application bhavna C# 2 March 4th, 2007 01:45 AM
Windows Form Control In WebForm windows_mss ASP.NET 1.0 and 1.1 Professional 0 January 25th, 2007 02:16 AM
error while referencing system.windows.forms.dll swati_joshi ASP.NET 1.0 and 1.1 Basics 1 March 28th, 2006 03:11 PM
Windows 98 OCX control issues vs Windows XP benoyraj VB How-To 0 May 5th, 2004 08:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.