forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Prime (My First DLL)

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Sun Mar 19, 2017 1:09 am    Post subject: Prime (My First DLL) Reply with quote

Making a DLL that works in VDS shouldn't feel like a big deal, but I've wanted to do this for years.

I created the DLL using the article found here:

http://www.vb-helper.com/howto_make_standard_dll.html

http://www.vdsworld.com/search.php?view_mode=fileinfo&file_id=518&sid=7a41e755c21ec2521e39f006e6e33539
Back to top
View user's profile Send private message AIM Address
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Mar 20, 2017 4:58 am    Post subject: Reply with quote

Sweet! Smile
_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
GregLand
Valued Contributor
Valued Contributor


Joined: 15 Jun 2004
Posts: 212
Location: FRANCE

PostPosted: Sat Jul 15, 2017 9:13 pm    Post subject: Reply with quote

Hi
Can you add an example of using the dll ? Confused
Back to top
View user's profile Send private message Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Tue Aug 08, 2017 3:31 pm    Post subject: Reply with quote

loadlib Prime.dll
info @lib(Prime.dll,Prime,INT:,4)
freelib Prime.dll
Back to top
View user's profile Send private message AIM Address
GregLand
Valued Contributor
Valued Contributor


Joined: 15 Jun 2004
Posts: 212
Location: FRANCE

PostPosted: Tue Aug 08, 2017 11:50 pm    Post subject: Reply with quote

Ok, thanks, but doesn't understand what does it do ? Confused
Back to top
View user's profile Send private message Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Tue Jan 02, 2018 12:47 am    Post subject: Reply with quote

Little late, but it just returns if a number is mathematically prime.

https://en.wikipedia.org/wiki/Prime_number
Back to top
View user's profile Send private message AIM Address
GregLand
Valued Contributor
Valued Contributor


Joined: 15 Jun 2004
Posts: 212
Location: FRANCE

PostPosted: Tue Jan 02, 2018 8:13 am    Post subject: Reply with quote

Thanks ! Thumbs Up
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group