Search found 17 matches

by Yourself
Fri Mar 21, 2008 4:10 pm
Forum: Coding Questions
Topic: HWND Problems ... Embbeding Windows into others
Replies: 9
Views: 2305

Never mind! I found the Trunc() function which does this for me.
by Yourself
Fri Mar 21, 2008 1:21 pm
Forum: Coding Questions
Topic: HWND Problems ... Embbeding Windows into others
Replies: 9
Views: 2305

ABBKlaus , there's no need for me to create a window in GM like in PB. A window is auto- created render the game graphics.
The Game Maker help manual States -

In some rare cases your DLL might need to know the handle of the main graphics window for the game. This can be obtained with the ...
by Yourself
Fri Mar 21, 2008 11:37 am
Forum: Coding Questions
Topic: HWND Problems ... Embbeding Windows into others
Replies: 9
Views: 2305

Bump

This is bump. C'mon please help me!
by Yourself
Wed Mar 19, 2008 11:02 am
Forum: Coding Questions
Topic: HWND Problems ... Embbeding Windows into others
Replies: 9
Views: 2305

Oh sure...

This is the code of the MessageBox_() API problem as explained above.
The Message Box should embed on to the window with the specified HWND in the first argument. But when I run this as a dll from Game Maker , it does not!

;Pure Basic code compiled as DLL
ProcedureDLL.l Message(gm_hwnd.l ...
by Yourself
Wed Mar 19, 2008 6:16 am
Forum: Coding Questions
Topic: HWND Problems ... Embbeding Windows into others
Replies: 9
Views: 2305

HWND Problems ... Embbeding Windows into others

I'm using PB to make a dll for Game Maker by Mark Overmars.
I need to embed a PB created into the Game Maker window.
Game Maker provides the handle to the drawing window using the window_handle() function. I need to store this value in a variable of HWND type. Then I need to use the SetParent_() API ...
by Yourself
Fri Mar 07, 2008 12:19 pm
Forum: Coding Questions
Topic: DLL Questions ...
Replies: 1
Views: 636

DLL Questions ...

Can PureBasic call dotNet compiled dlls directly?
Is there a library which can do this if it cant?
Also when coding dlls, are variables remembered between different procedures?

ProcedureDLL decl_var()
myvar.l= 6
EndProcedure

ProcedureDLL use_var()
decl_var()
MessageRequester('',myvar) ; is myvar ...
by Yourself
Wed Feb 27, 2008 8:21 am
Forum: Off Topic
Topic: Girls are evil - Interesting StumbleUpon Link !
Replies: 19
Views: 3675

Girls are evil - Interesting StumbleUpon Link !

Last night, while stumbling through various websites and images, I came across this very amusing image -
Here it is for the readers benefit. :)

[img]
http://www.msxnet.org/humour/girls-are-evil.jpg
[/img]

Darn tags dont work ... growl!
:twisted:
by Yourself
Wed Feb 20, 2008 11:48 am
Forum: Coding Questions
Topic: PureDispHelper and Custom VB6 OCX. Help initializing!
Replies: 0
Views: 685

PureDispHelper and Custom VB6 OCX. Help initializing!

So I'm drooling over the PureDispHelper Library by ts-soft.
Problem is, I cant get to understand the ocx part which is the only reason why I'm having sleepless nights over this. :)
I created a very small OCX control in Visual Basic 6.

Private Sub UserControl_Click()
MsgBox "test"
End Sub

It ...
by Yourself
Tue Feb 12, 2008 1:27 pm
Forum: Off Topic
Topic: Calvin & Hobbes
Replies: 11
Views: 1528

Calvin & Hobbes

Calvin,Calvin, and Hobbes.
How many of You actually like that comic strip and relate with it?
I'm officialy hooked!
Discuss Calvin & Hobbes
by Yourself
Sun Feb 10, 2008 1:06 pm
Forum: Coding Questions
Topic: Windows Guck and Windows API.
Replies: 4
Views: 1101

>pdwyer >
Yeah I do mean them.
Its created all right, text IS being displayed. but the display gets messed up :(
by Yourself
Sun Feb 10, 2008 10:18 am
Forum: Coding Questions
Topic: Windows Guck and Windows API.
Replies: 4
Views: 1101

Windows Guck and Windows API.

I needed to use a console interface for my application which is being made in Delphi.
So I just decided to use PB to create a console DLL.
It runs fine but...
Every time I move the CONSOLE window, it leaves behind an image of itself and that too on the calling application and one nothing else ...
by Yourself
Fri Feb 08, 2008 12:42 pm
Forum: Feature Requests and Wishlists
Topic: C++ code compilation supportion
Replies: 3
Views: 1232

C++ code compilation supportion

OK.
I suggest that the Pure team should add the gcc C++ Compiler so that c== can be supported in our apps.
The C code could be compiled to an object file by GCC and the Linker would put together the C++ code object and the objects created for our programs resulting in the program being able to use ...
by Yourself
Thu Feb 07, 2008 12:35 pm
Forum: Coding Questions
Topic: Global Woes
Replies: 4
Views: 1003

Hey Thanks!

Thanks Guys!!!
Thats solved it!
WOW! I'm so exited!
And , erm... whats a manifest?
by Yourself
Thu Feb 07, 2008 12:10 pm
Forum: Coding Questions
Topic: Global Woes
Replies: 4
Views: 1003

Global Woes

Self Created DLL Code

;library crypt
Global md5_f$, crc$,des$,base-en$,base-de$,md5_h$ = ""

ProcedureDLL.s md5_hash_file(file$)
res$=MD5FileFingerprint(file$)
md5_f$=res$
ProcedureReturn md5_f$
EndProcedure

ProcedureDLL.s md5_hash_string(str$)
res$=MD5Fingerprint(@str$, Len(str$))
md5_h$=res ...
by Yourself
Wed Jan 30, 2008 12:03 pm
Forum: Coding Questions
Topic: PureSMPT?!
Replies: 1
Views: 707

PureSMPT?!

I am complete n00b to PB!
I just downloaded and installed the PureSMPT library.
But how do i use it?
When I run the examples that the functions are'nt a macro array or linked list!
How do I use it??