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.

DarkBASIC Professional Discussion / need help to create a c++ dll to make 1 specific command for dbpro ! ! !

Author
Message
Freddix
AGK Developer
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 11th May 2003 22:25
Yes I'm looking for someone that should be able to create a DLL for dbpro to add a plugin-user command . . .

It's in fact a memblock copy command using modulo.
I'd like the command to be called like :
Modulo Memblock Copy Source,Target,Xpos,Ypos

Here is the DBPro source code that correspond to my needs :
Thanks for the person that can do this for me.
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 12th May 2003 00:59
If you can do it in DBA code, why do you want a DLL version? For a start, if you wanted the DLL to work with DBP's memblocks you would have to pass the location of every single one to the DLL.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_101.zip
Freddix
AGK Developer
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 12th May 2003 01:09
in fact it is too slow under dbpro
that why I hope for a DLL version of this.

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th May 2003 01:33
Rob, that is now no longer true.

See my post in Program announcements.
Freddix
AGK Developer
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 12th May 2003 02:00
yes your system is really cool IanM
But I'm not a C++ coder

SpecTre1
23
Years of Service
User Offline
Joined: 24th Feb 2003
Location: United Kingdom
Posted: 12th May 2003 03:32
Think I need a C++ command for the floodfill LOL

something along the lines

Paint x,y,c



New to DBPro comin from AMOS on the Amiga!
sicjoshsic
23
Years of Service
User Offline
Joined: 8th May 2003
Location: United Kingdom
Posted: 12th May 2003 12:52
when you make a c++ dll for db, can you use ANY c++ commands, or do only certain ones work?

MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 12th May 2003 13:01
Any C++ command can be used - you can also access other C++ files (via .LIB or loaded using the LoadLibrary commnand)...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th May 2003 21:02
Freddix: Seeing as no-one else has volunteered, I'll put it together for you.
Freddix
AGK Developer
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 12th May 2003 23:32
thanks IanM

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 13th May 2003 01:58
I actually managed to get around to it tonight - it's so easy with the command library *hint* *hint*

I've sent you the dll via email.
Freddix
AGK Developer
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 13th May 2003 12:59
Thanks IanM , You're the best

Login to post a reply

Server time is: 2026-07-11 13:58:15
Your offset time is: 2026-07-11 13:58:15