Search found 489 matches
- May 14, 2008 22:14
- Forum: General
- Topic: Help with DLL
- Replies: 28
- Views: 5114
Well... I still get the same error even if I try: #inclib "epcdll" or if I try declare function EPC9_DLLVersion lib "epcdll" () as integer or if I try declare function EPC9_DLLVersion lib "epcdll" alias "EPC_DLLVersion" () as integer And what really seems strange is that if I leave off the #inclib a...
- May 14, 2008 19:21
- Forum: General
- Topic: Help with DLL
- Replies: 28
- Views: 5114
Help with DLL
Trying to call a function from a commercially supplied DLL. In FB 0.185 running from FBIDE here's the code: declare function EPC_DLLVersion lib "epcdll" () as integer print EPC_DLLVersion sleep Which gives me this error.... Command executed: "C:\Program Files\FreeBASIC 185\fbc.exe" "C:\Documents and...
- May 08, 2008 19:20
- Forum: Tips and Tricks
- Topic: Show and Hide the Console with the WinAPI (ShowWindow)
- Replies: 1
- Views: 1358
- Apr 22, 2008 21:48
- Forum: Tips and Tricks
- Topic: FBGFX font render
- Replies: 20
- Views: 6483
- Apr 22, 2008 20:59
- Forum: Tips and Tricks
- Topic: Windows API: Open Dialog to Browse for a File
- Replies: 26
- Views: 9838
- Apr 19, 2008 21:43
- Forum: Tips and Tricks
- Topic: Windows API: Open Dialog to Browse for a File
- Replies: 26
- Views: 9838
- Apr 19, 2008 21:21
- Forum: Tips and Tricks
- Topic: Windows API: Open Dialog to Browse for a File
- Replies: 26
- Views: 9838
Calstover..... Tried your suggestion, but the Open File Dialog Box only listed the first file_type option in the drop down menu (i.e only *.TXT), and even worse, the folder listing was for all file types (*.*), not just *.TXT. Here's a partial listing of the modifications I tried. (PARTIAL CODE) dim...
- Apr 19, 2008 20:55
- Forum: Tips and Tricks
- Topic: Windows API: Open Dialog to Browse for a File
- Replies: 26
- Views: 9838
- Apr 19, 2008 18:10
- Forum: Tips and Tricks
- Topic: Windows API: Open Dialog to Browse for a File
- Replies: 26
- Views: 9838
Thanks for the Open File Dialog Box tip. I'm quite experienced with QB45, new to Freebasic, and a total newbie for Win API calls. I tried to modify your code to pass the argument for .lpstrFilter = Strptr(!"All Files, (*.*)\0*.*\0Bas Files, (*.BAS)\0*.bas\0Dat Files, (*.DAT)\0*.dat\0\0") as a string...