473,811 Members | 2,869 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating Windows Control Library in C++/CLI?

Hi,

I need develope control library, but can not find any examples on te
internet or msdn.
I can only generate project from template in VS2005, but in attempt to run
after compilation,
it do not open the dll library as in the VB.NET :(.

Is there any need for some configurations of project in C++/CLI?
Thanks!
With best regards,
Marek Pavlu

Jan 16 '08 #1
2 2008

"Marek Pavlu" <ms**@seznam.cz wrote in message
news:85******** *************** ***********@mic rosoft.com...
Hi,

I need develope control library, but can not find any examples on te
internet or msdn.
I can only generate project from template in VS2005, but in attempt to run
after compilation,
it do not open the dll library as in the VB.NET :(.
You can't "run" a control library or any other library assembly. Instead
you must run some main application, that references the library.
>
Is there any need for some configurations of project in C++/CLI?
Thanks!
With best regards,
Marek Pavlu

Jan 16 '08 #2
Hi,

yes, I know, but I take this incorrect term, sorry for that. I am in this
area new:).
I investigate this way in the VB.NET and ultimately discover application,
which is opened by VS in VB.NET windows control library project.

So I alter in proprties of solution the application for referencing my dll.
With best regards,
Marek Pavlu


"Ben Voigt [C++ MVP]" <rb*@nospam.nos pamwrote in message
news:uf******** ******@TK2MSFTN GP06.phx.gbl...
>
"Marek Pavlu" <ms**@seznam.cz wrote in message
news:85******** *************** ***********@mic rosoft.com...
>Hi,

I need develope control library, but can not find any examples on te
internet or msdn.
I can only generate project from template in VS2005, but in attempt to
run after compilation,
it do not open the dll library as in the VB.NET :(.

You can't "run" a control library or any other library assembly. Instead
you must run some main application, that references the library.
>>
Is there any need for some configurations of project in C++/CLI?
Thanks!
With best regards,
Marek Pavlu

Jan 16 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
561
by: Altramagnus | last post by:
I have 30 - 40 type of different window. For each type I need about 20 instances of the window. When I try to create them, I get "Error creating window handle" My guess is there is a maximum number of window handle, because if I reduce to about 2 instances of each window, it can run. But not 20 instances of each window. Does anyone know what the problem is? is it really because it exceeds the maximum number of window handle?
6
3256
by: DraguVaso | last post by:
Hi, In my application, on some given actions while debugging in Visual Studio, I suddenly get a "System.ComponentModel.Win32Exception was unhandled" Message="Error creating window handle." exception. The problem is that this exception isn't raised somewhere in a method, so it just shows up, and it causes the application to shut down. Is there anyway how to catch this kinds of exceptions? Can I put somewhere a
2
1796
by: Jim | last post by:
I'm a little new to the C# way of doing thisgs... Although I've done this sort of thing before in VS 6 / MFC... creatnig controls, ActiveX controls, etc. Creating controls in MFC is pretty straightforward and dare I say intuitive? (well, as intuitive as you can get w/ MFC.) Anyhow, I am wanting to create some controls of my own w/ C#. I'm not quite sure where to start though. I created a Windows Control library project, and I get a...
2
1420
by: Evan Stone | last post by:
Hello All, I've got two C# UserControls in a standard Windows Application project, but I'd like to be able to add them to my Toolbox so I can start placing them on forms. Unfortunately, it's not really clear how to do this, since all the examples I've found in the documentation seem to show creating a Windows Control Library, building the DLL, then adding it to a test application project.
1
2107
by: Nagaraju | last post by:
Hi, I wants to create a windows user control in Visual C++ .Net. How to do that? I can easily do in Visual C#, because there is a project templeate "Windows Control Library", but there is no such templte for Visual C++ .Net projects. Please explain me in detail. Thanks in advanace.
2
1263
by: Wilfried Mestdagh | last post by:
Hi, I'm using C# express beta 2005. Reading the article at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconQuickStartComponentCreationWalkthroughs.asp it say the following: "Select the Windows Control Library project template from the list of C# Projects,". But I dont have it in this version, I only have 'class library'. I'm pretty sure I dont need these templates, but a little help on what to code...
4
2055
by: nickjunkinbox | last post by:
I am trying to decide how to read text files from the client, do some reformatting, and then write back to the client (without uploading to the server). These files could be fairly big in html/aspx terms (hundreds of Mb), so I need an efficient method. I understand the security implications of using web apps for this (technically it should be written as a windows app) but I wanted to see if anyone had any thoughts/approaches to this...
12
3180
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without restarting the application. What I did was to create an AppDomain that loaded the plugins and everything was great, until I tried to pass something else that strings between the domains...
1
2183
by: Abdo Haji-Ali | last post by:
Previously I used to create user controls if I wanted to use a specific set of controls in multiple pages, however I want to deploy my control in other applications so I thought of creating custom controls. Only problem is that I'm used to designing my controls in a WYSIWYG (tm) way (i.e. using the designer and writing HTML tags). The only way I found to create custom controls was to create controls dynamically, set their properties and...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10644
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10124
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7664
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4334
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.