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 / Help with dll in VC++ express

Author
Message
DarkSoul
15
Years of Service
User Offline
Joined: 6th Nov 2008
Location:
Posted: 21st Sep 2010 04:01
Hello.
I'm programming a dll for DBpro, but I don't know very well how make it... Ok, my code is the follow:



The code in DBpro is:



I have guided from this video: http://www.youtube.com/watch?v=PxiDz4v8ex4
My problem is that I want to pass values from DBpro to my dll, but DBpro reports this error:

Line 65 is where I call the Dll. The error is in "int fr" because the function works very well if I change the code by:



Maybe I'm wrong and the error is in return, I don't know, now I'm confused.
Any help, please?
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 22nd Sep 2010 00:23
instead of:


put this:


Login to post a reply

Server time is: 2024-03-28 13:41:34
Your offset time is: 2024-03-28 13:41:34