Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 5:02 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: DLL authoring, to get you started
PostPosted: July 5th, 2007, 10:17 pm 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
For those individuals that want to get into the murky world of C++ and DLL's; here's a few links to get you started. Two very good articles here from the codeproject site, a top quality resource.

"Dlls are Simple." parts 1,2,3,4
http://www.codeproject.com/dll/Dllfun.asp
http://www.codeproject.com/dll/SimpleDll2.asp
http://www.codeproject.com/dll/SimpleDllP3.asp
http://www.codeproject.com/dll/ResourceOnlyDLL.asp

And::

"Calling C++ DLLs from VC++ and VB" parts 1,2,3,4
http://www.codeproject.com/dll/XDllPt1.asp
http://www.codeproject.com/dll/XDllPt2.asp
http://www.codeproject.com/dll/XDllPt3.asp
http://www.codeproject.com/dll/XDllPt4.asp

A reference (for example) to using "Using unmanaged code in C#"
http://www.codeguru.com/csharp/csharp/c ... .php/c5887

I've enclosed a DLL from the "Calling C++ DLLs from VC++ and VB" article and an example Opus pub that shows how to use it to get the CPU speed, although Opus can get this data from the registry without a DLL. :-)
I compiled the DLL from the article with the Visual C++ compiler in Visual Studio 2005 Professional, although it could have been compiled in older versions like VC++ 6.0.

PS -- Since I'm not very good at it, don't ask me for advice with DLL's and C++.

cheers
Paul


Last edited by Paul on July 6th, 2007, 5:45 am, edited 4 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: July 5th, 2007, 10:39 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Thanks, Paul, for these rich resources.

Here's a link that I found re: C# audio recorder/player API's (with an additional reference to the codeproject as well):

http://www.eggheadcafe.com/articles/20050611.asp

Not sure if this is the same concept (maybe an .exe instead).

Hopefully, some Opus-compatible DLL's will originate from these explorations. :)

Kind Regards,

_________________
Stephen


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 44 guests


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
You cannot post attachments in this forum

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