|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Newbie
Join Date: Apr 2009
Posts: 2
Rep Power: 0 ![]() |
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, |
|
|
|
|
|
#2 |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69 ![]() ![]() ![]() ![]() ![]() ![]() |
Ответ: 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
__________________
|
|
|
|
|
|
#3 |
|
DH Senior Member
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64 ![]() ![]() ![]() ![]() |
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. |
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Apr 2009
Posts: 2
Rep Power: 0 ![]() |
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 :> |
|
|
|
![]() |
| Thread Tools | |
|
|