Search found 1153 matches
- Jul 16, 2019 23:33
- Forum: Community Discussion
- Topic: no Windows system sounds after update
- Replies: 4
- Views: 193
Sounds familiar (http://masm32.com/board/index.php?topic=7892.msg86518#msg86518): Open device manager and get the properties of your sound device. If the Roll Back Driver button is enabled, try rolling back. If it isn't, uninstall the device (NOT the driver software as well) and reboot. If that does...
That's typically a dialog. I have my own wrappers called DlgDefine & DlgControl , under the hood you would see DialogBoxIndirectParamW (the "W" meaning Unicode). Example: include \masm32\MasmBasic\MasmBasic.inc Init DlgDefine "Please enter your opinion:", 0, 0, 150, -1, , 12 ...
There is something wrong in this line: Dim as Wstring*1024 filter=!"Text Files\0*.txt\0\0" What does the ! mean? The string passed actually ends behind Files ; there is no *.txt behind it. I checked that at assembly level using a debugger. This works fine (as 32-bit code, using Gas): ofn.h...
<smile>My old Office 2003 copy still works perfectly. Poor Micros**t, nobody wants to buy their new toys ;-)dodicat wrote:I feel I should buy Microsoft office just to keep up with you all.
. . .
But the feeling has faded already.
perhaps, but I would still like my first or second post to be made unicode compatible As written earlier, it is unicode compatible. All you need is GetOpenFileName W and a print function that knows how to handle wide character strings. Somewhere on this forum you can find a library for wide strings.
It works here on Win7-64 with Russian or Arabic names. I got this working, but it's not Unicode: #include once "windows.bi" #include once "crt.bi" #include once "win\commdlg.bi" dim shared FileName(0 to MAX_PATH - 1) as zstring ptr function ChooseProgram(byval FileName ...
jj2007, that worked Good ;-) The culprit in this case is MS Access. Instead of wrongly shouting "dll not found", it should use the built-in Windows error message, which returns in my case (Italian OS) "somepath\Whatever.dll non è un'applicazione di Win32 valida". Which is correc...
michaelleewebb, The code I posted further up works perfectly, from MS Access calling the FB dll. Your problem is not whether the dll sits in System32 or Wow64, it is something completely different. As far as I've understood, your MS Access does not even find the DLL file...! Check if your MS Access ...
- Jul 11, 2019 13:24
- Forum: Libraries
- Topic: Accessing GIF Frames and Displaying GIF Images/Animations
- Replies: 13
- Views: 1762
It's all in GdiPlus. If Windows is fine for you, search for GdipImageSelectActiveFrame
No idea why it doesn't work for you. Here (Windows 7-64), I call the DLL from MS Access using the full path - it's even on a different drive. No registration needed. I can't see a reason why it shouldn't work, this is a very, very basic Windows setup and procedure.
This works fine with Ms Access (special thanks to deltarho - the Extern did the job): Declare Function SayHello Lib "C:\FreeBasic\Whatever.dll" (ByVal pString As String) As Integer Sub SayHi() Dim Res As Integer Res = SayHello("Hello") End Sub #include "Windows.bi" ' fo...