I try to put a button or radio button in a Custom Back control,it looks well but fail to trigger #PB_Event_Gadget.I noticed that GPI use "UseGadgetList(hWndMain)" in procedure "CreateCustomBack(...)" and "UseGadgetList(OldParentId_)" in
procedure "CloseCustomBack()" to switch Gadget relationship ...
Search found 9 matches
- Mon Aug 08, 2005 8:26 pm
- Forum: Coding Questions
- Topic: New CostumButtons - Please test this
- Replies: 8
- Views: 3059
- Sat Jul 23, 2005 7:07 pm
- Forum: General Discussion
- Topic: Register recovery error(is this a bug or faults of my code?)
- Replies: 4
- Views: 1498
- Sat Jul 23, 2005 11:08 am
- Forum: General Discussion
- Topic: Register recovery error(is this a bug or faults of my code?)
- Replies: 4
- Views: 1498
- Fri Jul 22, 2005 11:27 pm
- Forum: General Discussion
- Topic: Register recovery error(is this a bug or faults of my code?)
- Replies: 4
- Views: 1498
Register recovery error(is this a bug or faults of my code?)
I recently wrote these code,and suffered written to readonly memory error.
I debuged the code in IDA,and found after all the code of this function executed,the return address in stack is pointed error by ESP(four bytes lower than the exact address which stored the correct return address)
Some one ...
I debuged the code in IDA,and found after all the code of this function executed,the return address in stack is pointed error by ESP(four bytes lower than the exact address which stored the correct return address)
Some one ...
- Sun Jul 04, 2004 8:03 pm
- Forum: General Discussion
- Topic: How to put a DLL written in PB into a VC project?
- Replies: 2
- Views: 1301
No one knows?
I tried to load library in VC,it finished successfully and returned a handle.But when I used function point and pass PB string by using C/C++ char*,it failed and said the ESP was not properly saved or parameter incorrected.I thought there should be other method to pass PB string from VC,anyone knows ...
- Wed Jun 30, 2004 1:58 pm
- Forum: General Discussion
- Topic: How to put a DLL written in PB into a VC project?
- Replies: 2
- Views: 1301
How to put a DLL written in PB into a VC project?
I wrote a little dll in to send info to a server(written in PB,too),and I wrote a test program in PB again to prove if the dll is working.Now it works well,but how can I write a program in Visual C++ that using this dll correctly?Would some one show me a way to solve it.(Static loading or Dynamic ...
- Fri Jun 25, 2004 6:46 pm
- Forum: Coding Questions
- Topic: How can I read data from exe file which is running?
- Replies: 4
- Views: 1409
How can I read data from exe file which is running?
The problem should be how can a running PB program know its path and filename?
Or any better idea for reading data from exe file which is running.
Thanks a lot!
Or any better idea for reading data from exe file which is running.
Thanks a lot!
- Thu Oct 02, 2003 4:36 pm
- Forum: Coding Questions
- Topic: How to get the number of lines in the file quickly!
- Replies: 3
- Views: 1283
- Thu Oct 02, 2003 2:44 pm
- Forum: Coding Questions
- Topic: How to get the number of lines in the file quickly!
- Replies: 3
- Views: 1283
How to get the number of lines in the file quickly!
Sorry for my poor English!
Anyone can show me a way to get how many lines in a file quickly.
I'm using a stupid solution:
If ReadFile(0, GetGadgetText(#TextFilename))
k.l=0
While Eof(0)=0
InfoString$ =ReadString()
k.l=k.l+1
Wend
SetGadgetText(#TextBX, Str(k.l))
Debug "File opened ...
Anyone can show me a way to get how many lines in a file quickly.
I'm using a stupid solution:
If ReadFile(0, GetGadgetText(#TextFilename))
k.l=0
While Eof(0)=0
InfoString$ =ReadString()
k.l=k.l+1
Wend
SetGadgetText(#TextBX, Str(k.l))
Debug "File opened ...