Welcome to Dream.In.Code
Become a VB Expert!

Join 150,222 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,237 people online right now. Registration is fast and FREE... Join Now!




dll import in vb.net

 
Reply to this topicStart new topic

dll import in vb.net

mortezai
7 Dec, 2007 - 10:35 AM
Post #1

New D.I.C Head
*

Joined: 7 Dec, 2007
Posts: 1


My Contributions
Hi
I want to use an dll that have def file on vc++ with some ordiinal numbers , i dont know exactley how i use the dllimportattribute to use the functions indise of this dll.

this is the def file of the dll, please tel me ho i use the code to make the functions in vb.net :





; expdll.def : Deklariert die Modul-Parameter für die DLL.

LIBRARY "expdll"

DESCRIPTION 'expdll Windows Dynamic Link Library'

EXPORTS

; Explizite Exporte kِnnen hier eingefügt werden

ShowDialog @1

SetDeviceName @2

SetLutFile @3

SetOffsetFile @4

SetImageFile @5

SetColor @6

SetPosition @7

OpenOutputDevice @8

CloseOutputDevice @9

CalcFrame @10

OutputFrame @11

SetDelayLine @12

SetDelayShift @13

SetScanFile @14

CalcOffset @15

SetBitmapPointer @16

OutputBlankFrame @17

SetDensiValue @18

CalcLut @19

SetCorrectionFactor @20

SetThreshold @21

DisableErrorWindow @22

SetPatternFile @23

SetPatternStrenght @24

CalcPatternedFrame @25









thank you and Best regards


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 05:52AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month