the code works when i want the dll to return a string to me, (or pBSTR value) this works great, but the moment i want to pass parameters to a dll functions it crashes...
[vb bit]
Private Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long
Private ...
Search found 14 matches
- Wed Apr 19, 2006 12:03 pm
- Forum: Coding Questions
- Topic: DLL and VB String help
- Replies: 2
- Views: 1361
- Tue Apr 18, 2006 11:42 pm
- Forum: Coding Questions
- Topic: DLL and VB String help
- Replies: 2
- Views: 1361
DLL and VB String help
Hi, im having some luck with returning a string pstr value from a dll to VB
the question is now, how do i pass a string to the dll
it works when i declair the dll
eg. Declare Sub ReadString Lib "mydll.dll" (ByVal Length As string)
but i want to us it by using the api calls,
LoadLibrary and ...
the question is now, how do i pass a string to the dll
it works when i declair the dll
eg. Declare Sub ReadString Lib "mydll.dll" (ByVal Length As string)
but i want to us it by using the api calls,
LoadLibrary and ...
- Tue Jun 08, 2004 1:07 pm
- Forum: Coding Questions
- Topic: Dialog icons in DLLS
- Replies: 0
- Views: 766
Dialog icons in DLLS
I have tried to replace the icon in my window with something i did .ico file, it works in normall .exe files but in DLLs the program trying to use the DLL just crashes, so i started thinking is it possible to have a replaced window ICOn in DLL window dialogs?
- Tue Jun 08, 2004 1:04 pm
- Forum: General Discussion
- Topic: DLL fails to create a window the second time it is called.
- Replies: 4
- Views: 1339
- Sat Jun 05, 2004 12:48 am
- Forum: Coding Questions
- Topic: windows CE
- Replies: 1
- Views: 828
windows CE
Would my DLLS in purebasic work on a windowsCE?
or would that require a compiler for the ARM processor?
or would that require a compiler for the ARM processor?
- Fri Jun 04, 2004 8:44 pm
- Forum: Coding Questions
- Topic: dlls
- Replies: 4
- Views: 1672
- Fri Jun 04, 2004 6:27 pm
- Forum: Coding Questions
- Topic: Where are all the #PB constants?
- Replies: 4
- Views: 1522
- Fri Jun 04, 2004 6:16 pm
- Forum: Coding Questions
- Topic: Where are all the #PB constants?
- Replies: 4
- Views: 1522
Where are all the #PB constants?
im writing an about dialog box, but i dont know what the constants are
example. the #IDI_Asterisk means the Icon asterisk but where did i find them all?
example. the #IDI_Asterisk means the Icon asterisk but where did i find them all?
- Fri Jun 04, 2004 3:31 pm
- Forum: Coding Questions
- Topic: Window Icons
- Replies: 12
- Views: 3970
Window Icons
How do i get an ICON in the window? like they normally do? system control box (top left)
- Fri Jun 04, 2004 2:42 pm
- Forum: Coding Questions
- Topic: Visual Basic and PureBasic DLLs
- Replies: 16
- Views: 2884
- Fri Jun 04, 2004 1:25 pm
- Forum: Coding Questions
- Topic: Visual Basic and PureBasic DLLs
- Replies: 16
- Views: 2884
- Fri Jun 04, 2004 12:26 pm
- Forum: Coding Questions
- Topic: Visual Basic and PureBasic DLLs
- Replies: 16
- Views: 2884
- Fri Jun 04, 2004 11:12 am
- Forum: Coding Questions
- Topic: Visual Basic and PureBasic DLLs
- Replies: 16
- Views: 2884
- Fri Jun 04, 2004 10:48 am
- Forum: Coding Questions
- Topic: Visual Basic and PureBasic DLLs
- Replies: 16
- Views: 2884
Visual Basic and PureBasic DLLs
How do i make a DLL for a Visual Basic program?
i need to return a string, but VB keeps crashing. 8O
any help?
i need to return a string, but VB keeps crashing. 8O
any help?