Using An External DLL

coldfusion244

Well-known member
Joined
Nov 24, 2004
Messages
266
Location
Philadelphia
Ok, I really need some help on this one guys...

I am attempting to make a DLL in assembly and use it in VC++.net, my only problem thus far has been my lack or using external DLLs in VC++.net. I searched around and found there are two ways, implicit and explicit. I tried using explicit and loading the file on runtime, but it always gave me a null return for the function address using getprocaddress. I am stuck and have no idea what to do :confused: I have included all source and dll (in assembly) in the zip file below. If someone could help me out and give some source that actually works and calls the function itd be greatly appreciated :)

What this is going to eventually used for is an interface for a 4x4 keypad. I want to get this to work before I go typing out all of the assembly code ill need in order for it to work. Basically all the DLL is going to do is return which key is pressed (actually the assembly will return it, but I have to somehow return it from the dll to VC++.NET).
 

Attachments

Similar threads

A
Replies
0
Views
784
ananda vardhana
A
A
Replies
0
Views
512
ananda vardhana
A
C
Replies
0
Views
331
CDMcDaniel
C
A
Replies
0
Views
365
ananda vardhana
A
E
Replies
0
Views
242
Eldeeb92
E
Back
Top