-
July 9th, 2021, 03:27 PM
#1
Can I export Com function?
Hi,
I have created a project with some classes and frequently used functions.
Can I export these functions in my custom class to create a lib?
I did it like this but got an error
Code:
class __declspec(dllexport) Range : public ComPtrT<Excel::RangePtr>
{
}
How to fix this error?
Thanks you!
Last edited by Dang.D.Khanh; July 9th, 2021 at 03:32 PM.
-
July 10th, 2021, 02:34 AM
#2
Re: Can I export Com function?
You have to create a COM dll to export COM functions.
Victor Nijegorodov
-
July 11th, 2021, 01:07 AM
#3
Re: Can I export Com function?
Originally Posted by VictorN
You have to create a COM dll to export COM functions.
Thanks Sir.
I will investigate further on your suggestion .
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
|