Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


How use my own 'Classic' DLL in Basic4PPC


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2008, 05:02 PM
Junior Member
 
Join Date: Apr 2008
Location: FRANCE
Posts: 13
Default How use my own 'Classic' DLL in Basic4PPC

Hi there,

Sorry for my poor English,

I wrote my own 'classic' DLL in EVC4.

Can I use a VB Like command :
Declare Sub Convert Lib "mydll.dll" (Byval DIn as double, ByRef DOut as double)

Many thanks,

Bruno.
Reply With Quote
  #2 (permalink)  
Old 05-01-2008, 05:19 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,351
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

I'm afraid not. You would need to create an intermediate library written in a .NET language. Then B4PPC could call that .NET library which could in turn use functionality not imlemented in B4PPC to call your native library.
Reply With Quote
  #3 (permalink)  
Old 05-01-2008, 05:28 PM
Junior Member
 
Join Date: Apr 2008
Location: FRANCE
Posts: 13
Default

I'm not happy with the .NET programmation, and I have not Visual Studio Pro to do that :-(

A "DLLWrapper" will be a good thing to do that, if someone can make it, it can be very useful

Thank you agraham.
Reply With Quote
  #4 (permalink)  
Old 05-01-2008, 05:33 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,351
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Bruno View Post
A "DLLWrapper" will be a good thing to do that, if someone can make it, it can be very useful.
If you mean a generic wrapper that could access any native dll then I don't think that is possible. It would have to be written specially for a particular dll.
Reply With Quote
  #5 (permalink)  
Old 05-01-2008, 06:27 PM
Junior Member
 
Join Date: Apr 2008
Location: FRANCE
Posts: 13
Default

Thanks, agraham
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:30 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0