HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP


Reply
 
Thread Tools
Old Apr 20, 2009, 10:24 AM   #1
DriverHeaven Newbie
 
Join Date: Apr 2009
Posts: 2
Rep Power: 0
curretone is on a distinguished road

Problems making plugin

Hello All,

I just discovered Kx project (I think it's a great tool) and I'm trying to make my own plugins but i cannot even make work demo project. I write here what I'm doing and I hope any of you can help me with that.

1.- I make a frest Windows XP install
2.- Install VC ++ 6
3.- Install KX driver and SDK version 3541
4.- Open demo workspace -> build
Here I have a problem but I solve it getting stdafx.cpp from MFC folder to demo folder
5.- Double clik on demo.klx (it say correctly registered)
6.- Then go to DSP and add demo effect

Until here everything looks fine but now when I double-clik the effect in DSP window I get a pop-up windows titled "Microsoft Visual C++ Debug Libray" with the following error:

---------------------------
Debug Assertion Failed!

Program: c:\windows\system32\kxmixer.exe
File: afxwin1.inl
Line:19

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
--------------------------

After that no matters if I clik Retry, cancel or abort. Kxmixer closes.

Any idea?

Thanks,
curretone is offline   Reply With Quote


Old Apr 20, 2009, 11:49 AM   #2
h/h member-shmember
 
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69
Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!

Ответ: Problems making plugin

i wonder how you've managed to build it with the VS6 at all
(actually the dsw there is a sort of legacy and should be removed)

>Here I have a problem but I solve it getting stdafx.cpp from MFC folder to demo folder

What was the problem specificaly? (typically a blind replacing of whatever files is not a good idea)

>Any idea?

Try "release" build
(but note that VS6 is not really supported anymore - it's too outdated)

see also http://www.hardwareheaven.com/effects-...ilty-info.html

edit: yeah.. lol
__________________
Max M. is offline   Reply With Quote
Old Apr 20, 2009, 11:50 AM   #3
DH Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64
Lex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really nice

Re: Problems making plugin

Try Release build instead of debug.

Build->Set Active configuration->win32 Release

EDIT:
same time posting as Max..lol

PS:
The file stdafx.cpp is not used anymore afaik but is still referenced in the .DSP project file.
Just remove the file reference to it in the left panel of VS6 and it will compile fine.

Last edited by Lex Nahumury; Apr 20, 2009 at 12:02 PM.
Lex Nahumury is offline   Reply With Quote
Old Apr 20, 2009, 02:21 PM Threadstarter Thread Starter   #4
DriverHeaven Newbie
 
Join Date: Apr 2009
Posts: 2
Rep Power: 0
curretone is on a distinguished road

Re: Problems making plugin

Hi again,

I just tryed the release config and everything went fine. I had already tryed that but didn't worked (I forgot that output folder is different)

Thanks a lot you 2. I was stucked in a very stupid point.

Best :>
curretone is offline   Reply With Quote
Reply

Thread Tools