473,385 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1394
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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...
0
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...

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.