|
|||||||
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
PoorPoster
Join Date: Oct 05
Location: in an island
Posts: 2,654
![]() ![]() ![]() ![]() ![]() |
Firstly, I'm NOT a Windows C programmer. Last time I used C was long time ago in college. I know only DOS based C programming with TurboC++.
So, basically I'm asking you to give me some C0d. ![]() I'm making a visualization module for WinAmp. My base code is "\vis\vis_test\SVIS.C" from WinAmp SDK (237kb only). As I don't know C/CPP programming on Windows, my idea is to create a standard dll using VB and pass it memDC variable and WinAMPVisModule structure. That way, I can draw the graphics from inside my VB dll. Here is what I want in the render1 function of SVIS.C: C Code:
Here is WinAmpVisTest from my VB dll: vb Code:
And here is the WinAMPVisModule in VB vb Code:
PowerBasic version of SVIS.C code can be found here. Thanks in advance for any kind of input.
Last edited by iPrank; May 29th, 2007 at 04:38 AM. |
|
|
|
|
|
#2 |
|
Banned
Join Date: Mar 07
Location: canberra (australia's capital)
Posts: 198
![]() |
Re: [C] Calling function of another dll from my C dll (for WinAmp Vis Plugin)
so what have you got in mind, aren't there heaps of visualisations already? av and milk are very nice and i haven't been through all the plug ins yet, and who knows what is going to happen in the next 12 months or so
also there doesn't seem to be a gui for the visualisations as you pointed out in any skin except modern besides if you want to do a good job on it wouldn't you write your own media player from scratch?
|
|
|
|
|
|
#3 |
|
PoorPoster
Join Date: Oct 05
Location: in an island
Posts: 2,654
![]() ![]() ![]() ![]() ![]() |
Re: [C] Calling function of another dll from my C dll (for WinAmp Vis Plugin)
I wanted something new to try.
Besides, there is no fullscreen LED spectrum analyzer like the one I want. So I wanted to make one. I'm able to SendMessage the memDC to another VB exe and can work on it. But I'm not able to call function of another dll from inside C dll. I tried similar to this code, but it is unable to load the library. The erormessage I printed with TextOut is displayed on the visualization screen. In VB: vb Code:
In C: C Code:
|
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|