|
-
Oct 12th, 2011, 10:46 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Class library (dll) with ocx
Hi all,
I'm creating a dll (class library project) file for an OCX.
I have an OCX (not Active X, just normal ocx and no need to put on form in order to use it.) which I normally call it from normal windows project's code behind. However, in order to use this OCX, I need to install one software and register with the correct license key.
I got an idea of calling all functions in a class library and use this library in windows project. (I want to hide messy function calling code and make it simple for windows project to call it).
1. My concern is if I create a class library like this, when I pass my dll to other project, "should I also pass the OCX file"?
2. What will happen "if other PC already has different version of this OCX"?
Because I only have access to two PCs at the moment and both PCs have already installed the same OCX. So, I can't do any testing, beside we are also restricted from copying file out of the network so I also can't test at home.
Hope those who have this kind of knowledge and experience can share to me.
Thanks.
-
Oct 13th, 2011, 12:28 AM
#2
Re: Class library (dll) with ocx
1) yes
2) it wil be overwritten if you want it to be
-
Oct 13th, 2011, 01:50 AM
#3
Thread Starter
Addicted Member
Re: Class library (dll) with ocx
 Originally Posted by Radjesh Klauke
1) yes
2) it wil be overwritten if you want it to be
Hi Radjesh,
Thanks for your info.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|