Search found 6 matches

by burnix
Wed Jan 17, 2007 11:23 pm
Forum: Coding Questions
Topic: response
Replies: 3
Views: 1000

response

I think i have the solution.

at the end of my function i call 2 function that was need when whe want to finish to utilise the dll :

CallFunction( 0, "dll_Delete",Handle)
CallFunction( 0, "dl_Close")

if i dont execute these two function the procedure works, even if i close the lib

Very strange ...
by burnix
Thu Jan 11, 2007 5:39 pm
Forum: Coding Questions
Topic: Sysinternals' PsExec with RunProgram()
Replies: 7
Views: 2798

ah ok

ah ok. I have the solution (i work on this 2 week ago). Try this :

Pid = RunProgram("toto.exe", "-endpos..............

at the end of the prog paste this

KillProgram(Pid)
CloseProgram(Pid)

Or try this

Repeat
Pid = RunProgram("toto.exe", "params", "", #PB_Program_Hide|#PB_Program_Open|#PB ...
by burnix
Thu Jan 11, 2007 10:22 am
Forum: Coding Questions
Topic: Sysinternals' PsExec with RunProgram()
Replies: 7
Views: 2798

response

have you tried that :

Compiler = RunProgram(program$, params$, "", #PB_Program_Open|#PB_Program_Read|#PB_Program_Hide)

the param #PB_Program_Hide dont show the console windows
by burnix
Thu Jan 11, 2007 10:20 am
Forum: Coding Questions
Topic: get commandline print
Replies: 8
Views: 1835

the thing you want

perhaps it's usefull for you :


Enumeration
#Editor
EndEnumeration

OpenWindow(0, 0, 0, 512, 384, "", #PB_Window_ScreenCentered | #PB_Window_SystemMenu)
CreateGadgetList(WindowID(0))
TextGadget(#Editor, 10, 10, 492, 364,"",#PB_Text_Right)


Pid = RunProgram("mencoder.exe", "-endpos 20 -ffourcc ...
by burnix
Wed Jan 10, 2007 5:18 pm
Forum: Coding Questions
Topic: Question about "pointeur"
Replies: 2
Views: 978

Thanks

Thanks for the response. The problem was at the end of the procedure. To test the call of the dll i use "messagerequester", that show me the right information. But on the procedure return (on the line endprocedure) i have the error. I want to retrieve in my main program all the information in a ...
by burnix
Wed Jan 10, 2007 4:01 pm
Forum: Coding Questions
Topic: Question about "pointeur"
Replies: 2
Views: 978

Question about "pointeur"

Hello all. I'm new (and enthousiast on using PB) and i 've some questions.

The first (the more important for now).

I've read this message : http://purebasic.hmt-forum.com/viewtopic.php?t=893 to know how pointer works.

So i've tested it and it works. But i still have a problem. On my code i've an ...