C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 8th, 2010, 08:24 PM
terrlundamo terrlundamo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Location: Norway
Posts: 17 terrlundamo User rank is Private First Class (20 - 50 Reputation Level)terrlundamo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 9 m 45 sec
Reputation Power: 0
C#, call dll methods, activex object

Hi all,

i'm a little lost at the moment. I was working on a java project, and then i had to make use of a dll (which was not supported by java) to communicate with some hardware.

i'm not sure i'm making much sense here but i'll try

here's the description i got from the manufacturer:

"
our product is a COM/OLE/ActiveX object. It contains an interface definition for the methods that can be invoked on it, what data exchange is available through properties and also what events can be triggered and subscribed to.
To be very specific, our product is best described as an ActiveX Control, implemented as an Automation Server (the BaCtrl interface is of type IDispatch).
Supported environments: .NET (through the provided wrapper Interop.BaLib.dll).
"

the main file is called ba.dll (i've installed the dll file with regsvr32)

i've googled a lot, but i just lack basic knowledge about this stuff.

I know for example that there's a method Open(). How would i program to call a method from an Activex object?

any hints would be greatly appreciated!

thanks

Reply With Quote
  #2  
Old April 12th, 2010, 08:43 AM
nattylife nattylife is offline
Closet coder
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2005
Location: Plantation, FL <---south florida
Posts: 1,431 nattylife User rank is First Lieutenant (10000 - 20000 Reputation Level)nattylife User rank is First Lieutenant (10000 - 20000 Reputation Level)nattylife User rank is First Lieutenant (10000 - 20000 Reputation Level)nattylife User rank is First Lieutenant (10000 - 20000 Reputation Level)nattylife User rank is First Lieutenant (10000 - 20000 Reputation Level)nattylife User rank is First Lieutenant (10000 - 20000 Reputation Level)nattylife User rank is First Lieutenant (10000 - 20000 Reputation Level)nattylife User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 3 Days 13 h 33 m 57 sec
Reputation Power: 152
Send a message via AIM to nattylife
im a little confused. you have c# in the title but mention java. are you wanting to use the dll through java or c#?
__________________

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > C#, call dll methods, activex object

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap