User Lib Help...PLEEEEEAAASSS!!!!!!

Blitz3D Forums/Blitz3D Userlibs/User Lib Help...PLEEEEEAAASSS!!!!!!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok LineOf7s. Thanks :) I'll post the code as soon as I find it :)

[edit] Found it :)

Here is the .decls file:

.lib "GIZMOWPTEST.dll"

GIZMessageBox(message$, message2$):"_GIZMessageBox*2@8"


And here is the .dll file:

#Include <windows.h>
#Include <stdlib.h>
//#Include "time.h"

#define NOTHING 0
#define Null 0
#define UNASSIGNED 0
#define NONE 0
#define DOESNT_HAVE_ONE 0
#define ALL_INSTANCES 0
#define GIZMWCN "GIZMO"
#define GIZMWCS (CS_HREDRAW | CS_VREDRAW)
#define GIZMWS (WS_OVERLAPPEDWINDOW)
#define BBDECL extern "C" _declspec(dllexport)
#define BBCALL _stdcall

WNDCLASSEX GIZMWC;
HWND GIZMW;
Int main_window_startx = 300; //starting left/right position of the window
Int main_window_starty = 300; //starting up/down position of the window
Int main_window_startwidth = 800; //starting width of the main window
Int main_window_startheight = 600; //starting height of the main window


BBDECL void GIZMessageBox(char *messagetodisplay, char *title)
{
	MessageBox(messagetodisplay,title,MB_OK);
}


Do WHATEVER you want with them. Even sell them if you want, but I know they aren't good enough to sell ;) Any help why that message pops up would be GREATLY appreciated :D