473,480 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

License problems with unmanaged code

I'm working at .NET project to implement a COM
interface for a .NET control.
The .NET assembly is built with the correct license for the control.

Some unmanaged code is creating an instance of the control,
inside an MFC dialog.

When the control is used inside a WinForm dialog, the license
is correctly validated and everything works.

However, when the control is used inside the MFC dialog,
the license doesn't seem to be loaded/validated.
In fact, I get a dialog showing that the control I'm using is an
evaluation version (that is not, btw)

Is this a problem caused by the interaction of managed and unmanaged
code?
If yes, anyone knows a way to force the license to be loaded from
unmanaged code?

Any suggestion is appreciated.

Thanks,
Lucia

Oct 21 '05 #1
1 1399
Is this a third party control? If so, try contacting the vendor of the
control to ask him if usage in an unmanaged host is supported for licensing.

----------------
-Atul, Sky Software http://www.ssware.com
Shell MegaPack For .Net & ActiveX
Windows Explorer GUI Controls
&
Quick-Launch Like Appbars, MSN/Office2003 Style Popups,
System Tray Icons and Shortcuts/Internet Shortcuts
----------------
"Lucia" <lu********@hotmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
I'm working at .NET project to implement a COM
interface for a .NET control.
The .NET assembly is built with the correct license for the control.

Some unmanaged code is creating an instance of the control,
inside an MFC dialog.

When the control is used inside a WinForm dialog, the license
is correctly validated and everything works.

However, when the control is used inside the MFC dialog,
the license doesn't seem to be loaded/validated.
In fact, I get a dialog showing that the control I'm using is an
evaluation version (that is not, btw)

Is this a problem caused by the interaction of managed and unmanaged
code?
If yes, anyone knows a way to force the license to be loaded from
unmanaged code?

Any suggestion is appreciated.

Thanks,
Lucia

Oct 21 '05 #2

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

Similar topics

1
2427
by: Mark Ramey | last post by:
I have an assembly that I want to license to developers. I don't want to license the runtimes that they deliver to their customers. There are no real design-time controls, only some classes that...
0
1698
by: Luiz Miranda | last post by:
Hi I need to access a unmanaged DLL from my ASP.NET page. This DLL (a "true" DLL, not a COM DLL) is a database manager with 2 DLLs and 1 .EXE (no interface). If I try to access this DLL from...
2
1932
by: Smile_7 | last post by:
Hello: I am using some 3rd party assemblies that require a license file. If I create a new project inside visual studios and compile the application, I have no problems but my project requires...
1
243
by: Lucia | last post by:
I'm working at .NET project to implement a COM interface for a .NET control. The .NET assembly is built with the correct license for the control. Some unmanaged code is creating an instance of...
5
1893
by: akash | last post by:
I'm having problems calling an unmanaged class from a managed wrapper. I suspect I'm missing something obvious, as I'm unfamiliar with C++ and classes are very simple. My unmanaged class is as...
5
1913
by: dragonslayer008 | last post by:
I am trying to initialize Direct3D 9 in a C++/CLR application. However, the create device function gives me a compilation error: error C2664: 'IDirect3D9::CreateDevice' : cannot convert parameter...
14
3766
by: Mohamed Mansour | last post by:
Hey there, this will be somewhat a long post, but any response is appreciated! I have done many PInvoke in the past from C++ to C#, but I did PInvoke within C# not C++/CLI. Can someone explain...
22
2349
by: Ken Foskey | last post by:
On Thu, 14 Aug 2008 10:09:01 -0700, raylopez99 wrote: The facts of the case above are that the person took a whole application and distributed it after some minor modifications, ie they did not...
0
1978
by: hanthehead | last post by:
In order to use a C# dll from our unmanaged C++ project I have created a mixed managed\unmanaged c++ dll. This dll is passed an unmanaged class which contains vector<CDBRecord> m_vecRecords member...
0
7051
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6915
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...
0
7097
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6750
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6993
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...
1
4794
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...
0
2993
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1307
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 ...
0
193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.