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 / Communication Dark Basic with Visual Basic or C++

Author
Message
MateiSoft Romania
11
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 17th Oct 2013 20:50
Hello Forum!
I want to make an interface for my dbpro application.
And i want to drag from a list in visual basic/c++ an object and place it on my dbpro app(exactly as fps creator). I managed though to link my dbpro app in the user interface made in Visual Basic.

Alex Matei CEO
www.alexmatei.com
Chris Tate
DBPro Master
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 17th Oct 2013 21:10
My software is based on this model as well; I use a variety of methods ranging from windows messaging, networking, mutexes, file-mapping, consoles and XML.

This kind of interoperation is not easy when using .NET because DBPRO can't access .NET dlls; not easily anyway. Even for me a frequent user of DBPRO and VB.NET, getting it all to work is a pain; handling the events, creating data packets, security etc; it has taken me months to things working properly; and there is still work to be done.

It is only worth getting into if you a going to release a product or you have lots of time on your hands.

If you can put together an efficient UI with images, sprites, BBB GUI or Top GUI; then go for it. Have a search on the forums for UI snippets and plugins.

MateiSoft Romania
11
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 17th Oct 2013 23:43
Thank you so much for your fast response! And yes i am planing to make this application big and publish it along with my other apps and games on my website

Alex Matei CEO
www.alexmatei.com
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 18th Oct 2013 15:22
this, Communication-demo
Attachment:

windowsXp

Attachments

Login to view attachments
MateiSoft Romania
11
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 18th Oct 2013 16:24
Thanks pcRaider for the response! This is a good code example and i will take advantage of it! However i have troubles communicating with a visual basic or c++ application...like this : VISUAL BASIC(INPUT COMMAND) - DARK BASIC(OUTPUT UNDERSTANDING AND EXECUTING)

Alex Matei CEO
www.alexmatei.com
MateiSoft Romania
11
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 18th Oct 2013 18:12
Anyways i managed to think of something and i applied your code. However when i execute a command in the input program, the output program which is the main program, loops the command from the input over and over again...for example its making cubes i don't know how many times per second

Alex Matei CEO
www.alexmatei.com
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 19th Oct 2013 03:57 Edited at: 19th Oct 2013 06:58
New, Communication-demo2
Attachment:

Memory-mapped file

windowsXp

Attachments

Login to view attachments
MateiSoft Romania
11
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 19th Oct 2013 13:06
God bless you my friend! It really worked!
Thanks again for your patience!

Alex Matei CEO
www.alexmatei.com

Login to post a reply

Server time is: 2025-05-27 22:15:57
Your offset time is: 2025-05-27 22:15:57