• Welcome to Valhalla Legends Archive.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - xp

#1
Quote from: brew on June 01, 2007, 09:37 PM
sure. http://zenixstudios.com/f.php?f=xjskjkpo


Private Declare Function asdfness Lib "dlltest" (asdf As Integer) As Integer
Private Sub Form_Load()
Dim asdf As Integer
asdf = 5
asdf = asdfness(asdf)
MsgBox asdf
End Sub

extern "C" {
int __declspec(dllexport) asdfness(int asdf) {
int lolz = 0;
lolz = asdf + 3000;
return lolz;
}
}



Coincidentally, the Visual Basic Integer and the C int type are two very different things.
#2
Testing Forum / \0
April 24, 2004, 07:32 PM
no text