Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Oct 16, 2018 1:11 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Windows API?
PostPosted: Fri Apr 20, 2012 7:20 am 
Offline

Joined: Tue Apr 17, 2012 9:26 am
Posts: 5
How would one use something like this http://msdn.microsoft.com/en-us/library/aa363308(v=vs.85).aspx ?
As far as I know there is no .dll to access functions in for this, you need to (in c# that is) include a header file.

But is there a way to include header files in RB ?


Last edited by MiniDemonic on Fri Apr 20, 2012 12:00 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Windows API?
PostPosted: Fri Apr 20, 2012 10:04 am 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
That link didn't post properly

But to access a dll look into Declares

_________________
Norman Palardy (Real Software)


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows API?
PostPosted: Fri Apr 20, 2012 12:02 pm 
Offline

Joined: Tue Apr 17, 2012 9:26 am
Posts: 5
Like I said in OP, as far as I know there is no .dll to access the API that I linked (link in OP is fixed btw).
To access that specific API I need to include a .h file (header file in c#, c++).


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows API?
PostPosted: Fri Apr 20, 2012 1:30 pm 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
.h files are not usually "code" that can be called into etc.
It's usually a set of type declarations etc that you need to use in conjunction with a dll or static library.

Since I could not see the page reference by the URL (it comes up as not found so I think the URL is broken somehow) I can't give you more information

If it's a C# class then you may be out of luck

AHHHH IAudioStream is only an INTERFACE - it's not something you can declare against or call directly anyways.
There has to be some class etc that actually implements it and exposes those methods.

_________________
Norman Palardy (Real Software)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group