Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / DBP Compiler complains of parameter mismatch on a function that isn't in my RC file..?

Author
Message
Twisted Steel Software
16
Years of Service
User Offline
Joined: 21st May 2007
Location: Teh Interwebs
Posted: 24th May 2009 20:00 Edited at: 24th May 2009 20:02
Hello all,
I'm making a very simple DLL to do a few things like return an object number that is not being used. I can't get the compiler to accept it at all. If I remove the RC file, it complains it doesn't know what parameters it takes, but when it's included it says "Parameter mismatch in command "SOME FUNCTION" at line 1. SOME FUNCTION was a previous stringtable entry.

Could Code::Blocks not be compiling the RC file? This is really driving me nuts.

.cpp file:


.rc file:


Thanks in advance,
Jim

Yay Verizon FiOS!
Twisted Steel Software
16
Years of Service
User Offline
Joined: 21st May 2007
Location: Teh Interwebs
Posted: 25th May 2009 03:27
I solved it. Here's the fix:



Don't you hate when things are right in front of your face and you miss it?

-Jim

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size

Login to post a reply

Server time is: 2024-04-19 06:55:08
Your offset time is: 2024-04-19 06:55:08