Name_funcA.s = Space(#MAX_PATH) ; Ascii
handle = GetModuleHandle_("user32.dll")
If handle
CompilerIf #PB_Compiler_Unicode
WideCharToMultiByte_(#CP_ACP, 0, @"MessageBoxA", -1, @Name_funcA, #MAX_PATH, #Null, #Null)
Debug Hex(GetProcAddress_(handle, Name_funcA))
CompilerElse
Debug Hex ...
Search found 18 matches
- Mon Oct 28, 2013 6:00 pm
- Forum: Windows
- Topic: [5.0 b7] GetProcAddress does not work with unicode mode
- Replies: 6
- Views: 3147
- Sun Jul 28, 2013 2:01 pm
- Forum: Tricks 'n' Tips
- Topic: The disassembler lengths of instructions 32х a bit execut
- Replies: 0
- Views: 941
The disassembler lengths of instructions 32х a bit execut
I present to your the disassembler of lengths of instuktion
;The disassembler of lengths of instructions 32х a bit executed code of x86 processors.
;3DNOW-Supported
;SSE-Supported
;SSE2-Supported
;MMX-Supported
#pref66h = 1
#pref67h = 2
Procedure OpcodeLen(pointer.l)
EnableASM
mov esi ...
;The disassembler of lengths of instructions 32х a bit executed code of x86 processors.
;3DNOW-Supported
;SSE-Supported
;SSE2-Supported
;MMX-Supported
#pref66h = 1
#pref67h = 2
Procedure OpcodeLen(pointer.l)
EnableASM
mov esi ...
- Mon Dec 31, 2012 4:31 pm
- Forum: Off Topic
- Topic: Happy New Year
- Replies: 101
- Views: 20823
Re: Happy New Year
Happiness for all - for nothing and let nobody will leave the offended (c)
- Fri May 18, 2012 6:31 pm
- Forum: Tricks 'n' Tips
- Topic: [Windows] ColorPicker gadget
- Replies: 9
- Views: 4670
Re: [Windows] ColorPicker gadget
Correctedts-soft wrote: But you should remove the .l or change to .i from the variables (callbacks, hwnd and so on) to work on 64-Bit!
- Fri May 18, 2012 5:50 pm
- Forum: Tricks 'n' Tips
- Topic: [Windows] ColorPicker gadget
- Replies: 9
- Views: 4670
Re: [Windows] ColorPicker gadget
Office XP style Colour Picker control
http://i078.radikal.ru/1205/47/3388bfc39f7at.jpg
; Office XP style Colour Picker control by Pablov
; Win XP SP3; Win7
; PureBasic ver. => 4.6
Enumeration
#Window_0
#Window_1
EndEnumeration
Enumeration
#rgb
#text
#ComboBox_1
EndEnumeration
Structure ...
http://i078.radikal.ru/1205/47/3388bfc39f7at.jpg
; Office XP style Colour Picker control by Pablov
; Win XP SP3; Win7
; PureBasic ver. => 4.6
Enumeration
#Window_0
#Window_1
EndEnumeration
Enumeration
#rgb
#text
#ComboBox_1
EndEnumeration
Structure ...
- Sun May 06, 2012 6:36 am
- Forum: Tricks 'n' Tips
- Topic: [Windows] ColorPicker gadget
- Replies: 9
- Views: 4670
Re: [Windows] ColorPicker gadget
2electrochrisso
Sorry, I have't tested for win7
try it
Enumeration
#Main
EndEnumeration
Enumeration
#String_0 = 0
#String_1 = 1
#String_2 = 2
#String_3 = 3
#String_4 = 4
#String_5 = 5
#String_6 = 6
#String_7 = 7
#Button_4 = 8
EndEnumeration ...
Sorry, I have't tested for win7
try it
Enumeration
#Main
EndEnumeration
Enumeration
#String_0 = 0
#String_1 = 1
#String_2 = 2
#String_3 = 3
#String_4 = 4
#String_5 = 5
#String_6 = 6
#String_7 = 7
#Button_4 = 8
EndEnumeration ...
- Fri May 04, 2012 7:24 pm
- Forum: Tricks 'n' Tips
- Topic: [Windows] ColorPicker gadget
- Replies: 9
- Views: 4670
[Windows] ColorPicker gadget
Number one
http://s019.radikal.ru/i632/1205/48/dc18852afba9.png
ColorOptionDlg.res
; ColorPicker2
; Author Pablov
; 01\05\2012
; Win XP SP3; Win7
; PB 4.3 - 4.6
Enumeration
#Main
EndEnumeration
Enumeration
#String_0 = 0
#String_1 = 1
#String_2 = 2
#String_3 = 3
#String_4 = 4 ...
http://s019.radikal.ru/i632/1205/48/dc18852afba9.png
ColorOptionDlg.res
; ColorPicker2
; Author Pablov
; 01\05\2012
; Win XP SP3; Win7
; PB 4.3 - 4.6
Enumeration
#Main
EndEnumeration
Enumeration
#String_0 = 0
#String_1 = 1
#String_2 = 2
#String_3 = 3
#String_4 = 4 ...
- Sat Nov 12, 2011 7:56 am
- Forum: Coding Questions
- Topic: Open DLL from memory
- Replies: 12
- Views: 7362
Re: Open DLL from memory
Offer You my variant
; Author: Pablov
; Date: 19. 08.2011
; OS: Windows (for PB4.30 - 4.51)
;DllFM.pbi
#IMAGE_REL_BASED_ABSOLUTE = 0
#IMAGE_ORDINAL_FLAG32 = $80000000
Structure IMAGE_SECTION_HEADER
SecName.b[8]
StructureUnion
PhysicalAddr.l
VirtualSize.l
EndStructureUnion
VirtualAddress.l ...
; Author: Pablov
; Date: 19. 08.2011
; OS: Windows (for PB4.30 - 4.51)
;DllFM.pbi
#IMAGE_REL_BASED_ABSOLUTE = 0
#IMAGE_ORDINAL_FLAG32 = $80000000
Structure IMAGE_SECTION_HEADER
SecName.b[8]
StructureUnion
PhysicalAddr.l
VirtualSize.l
EndStructureUnion
VirtualAddress.l ...
- Wed May 05, 2010 7:20 am
- Forum: Coding Questions
- Topic: Cannot read MEMO field from DBF tables (use CHEETAH2.DLL)
- Replies: 1
- Views: 636
Cannot read MEMO field from DBF tables (use CHEETAH2.DLL)
If create the table DBF using CHEETAH2.DLL, MEMO field well are read.
IncludeFile "Cheetah2.pbi"
If xdbUseDLL()
AllFields$ = "ID,N,10,0; CHARACTER,C,20,0; MEMO,M,0,0" ; Create three field, including MEMO-field
xdbCreate("C:\1.dbf", AllFields$)
FileName.s = "C:\1.dbf"
hDB = xdbOpen ...
IncludeFile "Cheetah2.pbi"
If xdbUseDLL()
AllFields$ = "ID,N,10,0; CHARACTER,C,20,0; MEMO,M,0,0" ; Create three field, including MEMO-field
xdbCreate("C:\1.dbf", AllFields$)
FileName.s = "C:\1.dbf"
hDB = xdbOpen ...
- Sat May 01, 2010 1:56 pm
- Forum: Coding Questions
- Topic: Cannot Create Database Using CheetahInc.pb
- Replies: 13
- Views: 3282
Re: Cannot Create Database Using CheetahInc.pb
Greetings.
How to read MEMO field, using cheetah2.dll
Or other tools are necessary?
Thanks
How to read MEMO field, using cheetah2.dll
Or other tools are necessary?
Thanks
- Mon Jan 04, 2010 10:09 pm
- Forum: Coding Questions
- Topic: IncludeBinary Help.
- Replies: 9
- Views: 2942
Re: IncludeBinary Help.
WinXP SP2 running PB4.3 32 bit This code works
- Mon Jan 04, 2010 4:13 pm
- Forum: Coding Questions
- Topic: IncludeBinary Help.
- Replies: 9
- Views: 2942
Re: IncludeBinary Help.
This example starts file calc.exe from memory
Enumeration
#btn1
EndEnumeration
EnableExplicit
Structure IMAGE_SECTION_HEADER
SecName.b[8]
StructureUnion
PhysicalAddr.l
VirtualSize.l
EndStructureUnion
VirtualAddress.l
SizeOfRawData.l
PointerToRawData.l
PointerToRelocations.l ...
Enumeration
#btn1
EndEnumeration
EnableExplicit
Structure IMAGE_SECTION_HEADER
SecName.b[8]
StructureUnion
PhysicalAddr.l
VirtualSize.l
EndStructureUnion
VirtualAddress.l
SizeOfRawData.l
PointerToRawData.l
PointerToRelocations.l ...
- Mon Dec 21, 2009 8:34 am
- Forum: Coding Questions
- Topic: How Syncronize scroll in two gadgets?
- Replies: 34
- Views: 9608
Re: How Syncronize scroll in two gadgets?
How syncronize scroll in two Scintilla Gadget?
Here is so works :wink:
Global hSci0.l, hSci1.l, scroll_0.l, scroll_1.l
Enumeration 0
#Sci0
#Sci1
EndEnumeration
If InitScintilla("Scintilla.dll")=0
MessageRequester("File not found", " File " + Chr(34) + "Scintilla.dll" + Chr(34) + " not ...
- Fri Dec 11, 2009 4:32 pm
- Forum: Coding Questions
- Topic: How Syncronize scroll in two gadgets?
- Replies: 34
- Views: 9608
Re: How Syncronize scroll in two gadgets?
One more question.
How syncronize scroll in two ScintillaGadget?
Thank you
How syncronize scroll in two ScintillaGadget?
Thank you
- Thu Oct 15, 2009 10:42 am
- Forum: Coding Questions
- Topic: How Syncronize scroll in two gadgets?
- Replies: 34
- Views: 9608
Re: How Syncronize scroll in two gadgets?
Fluid Byte
thank you
