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 / useing a printer in dark basic pro?

Author
Message
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 21st Jul 2005 04:13
hi,
i have been looking in this forum for a few hours and can not find anything on printer dll's i have found a few posts but they do not have any links or the links do not work any more. i found 1 post that saids that there is an old dll and it will let you print and send emails from dark basic. can someone please help me i am new to dll's and need pointing in the right direction.



thanks simon;

want to join a good dark basic forum then go to

http://www.phpbbplanet.com/forum/index.php?mforum=teamdarkstep
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 21st Jul 2005 05:11
i have got an printing one found an old download but is there any for email?

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st Jul 2005 05:28
No - only the source code is availiable for e-mails. You could always compile it yourself if you've got VS 2003.

Vote For AtomZ - You know it makes senze
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 21st Jul 2005 05:34
o ok but i have found a link on this site http://homepages.nildram.co.uk/~nickk/
the link goes to a new page and i downloaded the dlls and they even had the dlls on it what else do i need to do
(i have the dlls but no keywords or anything else)
can u give me some help on what i need to do please


thanks simon;

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st Jul 2005 20:44 Edited at: 21st Jul 2005 20:44
Quote: "what else do i need to do "

You put them in the user plug-in directories. I dont have the INI file anymore, and no documentation was ever done for them. I may have the test program for the printing program though, which will help.

Vote For AtomZ - You know it makes senze
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nichkk.plus.com
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 21st Jul 2005 20:48
ok cool,
how would i find out what the commards are to put into the int files. any more help would be greatly resceved.


thanks agin

simon;

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st Jul 2005 23:40
The easiest way would be to examine the source code, specifically the string table.

Vote For AtomZ - You know it makes senze
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nichkk.plus.com
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 22nd Jul 2005 00:13 Edited at: 22nd Jul 2005 00:27
o ok but i will not need to comply any of it will i as i allready have the dlls.
and when/if i get them to work would it be ok to repost them in the forum for people to use.

lone land the rpg
web site coming soon
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 22nd Jul 2005 22:12
when i get the string tables how will i then know what the commards will be in dark basic like i said i am a noob when it comes to dlls

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Jul 2005 04:13
Everything before the first [% or % token is the key word (and thus is the bit thats used in DBPro)

A Vote For AtomZ is a vote for Common SenZe
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nichkk.plus.com
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 23rd Jul 2005 06:16
ok well this is what the string table saids

sendEMail[%DSSSSS%?sendEMail@@YAKPAD0000@Z%Send an e-mail (with or without attachments)

and i tryed sendemail in dark basic but i does not work i copyed the dll over as well. i can not see what is not right with it.


can u please help me i do not know what i am doing with dlls i only know how to use them once they r on. but any help would be great

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Jul 2005 06:45
Assuming you put the DLL in the plugins-user directory, it would be called like :

result=sendemail(param1$,param2$,param3$,param4$,param5$)

You would need to look at the source to find out what each of the parameters are - it appears that the source code for that is not even on my website...

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 23rd Jul 2005 07:19
o i found it on a link on your site to a new site and got it from there ty i am going to try that now

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Jul 2005 07:24
I doubt it'll be there, I'm afraid...

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 23rd Jul 2005 07:25
ok ty that works well but does it onlu open up mail box? so i will need to click on send all of the time? np anyway thanks for all of your help i am going to try and get them all going and try and get them made into one dll and repost them if that is ok with you?

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Jul 2005 07:28
I removed the ability to automatically send e-mails as it could be used for spamming people. Its easy enough to put in if you've got the code, and Visual Studio of some sort.

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 23rd Jul 2005 23:11
yep i have all of that what bit of the code do you think i would need to change because i need it for when people sign up. i need it to send an email.

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Jul 2005 03:29
I'll let you know when I've found it.

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 24th Jul 2005 04:05
ok ty

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Jul 2005 06:09
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mapi/html/4cb46e35-cd8f-4c6a-9a10-2a3f63e84ecd.asp
I believe all it requires is the remove of the UI flag in the sendmail function.

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 24th Jul 2005 07:41
ok thank you i will take a look at that in a min

lone land the rpg
web site coming soon
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 29th Jul 2005 13:43
do you think you could tell me how you got the commard from the string tables and code because then i can try and get the icam one to work.


thnaks for all your help

simon;

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 29th Jul 2005 15:05
Well, you usually use either Visual Studio if you've got the source code or try using notepad if you dont.

Or did you mean something different ?

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 29th Jul 2005 15:38
yes sorry what i ment was when i open the code how can i find out what the commards will be in darkbasic.

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 29th Jul 2005 15:51
You need to look at the string table, as I mentioned before.
If you dont have the string table, then you cant found out what commands were used.

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Keaz
20
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Somewhere in south Texas
Posted: 30th Jul 2005 02:31
Look at the end of the WIP thread for ION Ray IDE. I posted a freeware link to a program that will list the export string table.

Breaking Stuff=Fun!,Bug Testing<>Fun!, Bug Testing=Breaking Stuff, so...
Bug Testing=Fun! Hmmmm....
DOES NOT COMPUTE! SYSTEM MALFUNTION!
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 30th Jul 2005 10:52
i have the string tables but what i ment was how did you get result=sendemail(param1$,param2$,param3$,param4$,param5$) as the commard line in dark basic from the string table that saids sendEMail[%DSSSSS%?sendEMail@@YAKPAD0000@Z%Send an e-mail (with or without attachments)?

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Jul 2005 00:51
Read the TPC documentation in DBPro - it will explain all.

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 31st Jul 2005 11:35
ok thnaks alot for all of your help

lone land the rpg
web site coming soon
warship45
19
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 31st Jul 2005 13:10 Edited at: 31st Jul 2005 17:56
there was one thing that it did not explan to me very well.
if the string table saids
initCamera[%DD%?initCamera@@YAKJ@Z%Initialise camera.

then what will the commard be in dark basic pro?
i have tryed it but could not get it to run.
i have worked out how to get all the others to work e.g. S would be string and I would be intager.

thanks for all your help
simon


edit: i am going to put this in another post because the name of this post is not getting me much help anymore

lone land the rpg
web site coming soon
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Jul 2005 22:49
Quote: "initCamera[%DD%?initCamera@@YAKJ@Z%Initialise camera. "

Calls the C function initCamera@@YAKJ@Z, which DBPro sees as initCamera. It returns DWORD avlue and accepts one too.

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 7th Aug 2005 22:46
warship45, could you please post a link to where you found the printer dll?

Thanks,

-Xol

Login to post a reply

Server time is: 2024-05-05 22:46:12
Your offset time is: 2024-05-05 22:46:12