File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
Username:
Password:
Save Password
Forgot your Password?
|
Admin Options
All Forums
Origin Forum for Programming
Forum for Origin C
Access CPlusPlus(.Net) And CSharp DLL
New Topic
Reply to Topic
Printer Friendly
Author
Topic
Seven-X
Germany
2 Posts
Posted - 09/04/2012 : 1:31:30 PM
Origin Ver. and Service Release (Select Help-->About Origin): 8.6G
Operating System: Win7 64bit
Does anybody know, how do I have to include the DLL in this example?
http://ocwiki.originlab.com/index.php?title=OCGuide:Access_CPlusPlus%28.Net%29_And_CSharp_DLL
Do I have to put the DLL into a specific folder and/or do I have to use the include commands or #pragma directives?
I always get a runtime error: COM object could not be created...
Matthias
Penn
China
644 Posts
Posted - 09/04/2012 : 11:37:12 PM
Hi Matthias,
Please refer to
this page
.
Penn
Seven-X
Germany
2 Posts
Posted - 09/05/2012 : 03:39:17 AM
Hello Penn,
thank you for your reply.
I'm not quite familiar with these function prototypes.
Do you have a complete header file for this DDL example?
Matthias
Penn
China
644 Posts
Posted - 09/07/2012 : 05:25:10 AM
Hi Matthias,
Header file is not needed for .NET COM object. However, you need to register it. Please refer to the step 4 of the first example in
this page
. You can try again to see whether it works fine or not.
Penn
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000