You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

testor

Unregistered

1

Wednesday, February 4th 2009, 4:49pm

accessing external DLL files and win api

Hi all,

I like Jabaco very much, but how do I declare externall dll function? like in vb:

Private Declare Sub Test Lib "test1.dll" (var)

And what about windows api functions like:
Private Declare Function TranslateMessage Lib "user32" (lpMsg As Msg) As Long e.g.

thanks,
testor

OlimilO

Intermediate

  • "OlimilO" is male

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

2

Wednesday, February 4th 2009, 5:32pm

Hi,

just replace Declare with WinApi.

OlimilO

test0r

Unregistered

3

Wednesday, February 4th 2009, 5:34pm

thanks and how to use dlls?

OlimilO

Intermediate

  • "OlimilO" is male

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

4

Wednesday, February 4th 2009, 5:50pm

which dll?

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

5

Wednesday, February 4th 2009, 7:10pm

Winapi sample

Hi,
here is an example how to use Winapi.

Cheers!

A1880

testor

Unregistered

6

Thursday, February 5th 2009, 9:10am

which dll?
an external c DLL. e.g. "test.dll" which includes a function "count" or something

thanks for your help, the winapi works fine!

Rate this thread
WoltLab Burning Board