We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
r2d2
Hmmph. Maybe I was doing something wrong yesterday but today the following code works properly: r…
»
r2d2
Hi, Simon! Thanks for the suggestions. It returns exactly the position of the mouse in window spa…
»
Simon Anciaux
I don't know what the problem is, here are some ideas:The position of the mouse may be in screen s…
»
Josh Ayres
Thanks for all of your help!
»
spx
very true, that is not something novel. PyCharm has it as well nowadays (well i guess at lot of je…
»
Mārtiņš Možeiko
Can you show output of "echo %LIB%" after you called your shell.bat? How are you calling shell.bat…
»
catsonmars
I have this as my shell.bat @echo off call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC…
»
Mārtiņš Možeiko
Many debuggers do that now. For example: Chrome builtin JS debugger: IntelliJ IDEA: CLion:
»
Mārtiņš Možeiko
kernel32.lib is implicit. It is always linked to (because C/C++ startup code uses functions from i…
»
Simon Anciaux
I've never seen the "display values in the source" feature and I'm curious to try it. Could it be …
»
Alberto Vaudagna
Add also kernel32.lib
»
Mārtiņš Možeiko
Oh, there's one more mistake. The "-c" argument. "-c" means compile only. So you were actually pro…
»
Josh Ayres
I figured it out. I have to compile an object file before the dll
»
Josh Ayres
So it is saying that the -shared is not being used during compilation.
»
Mārtiņš Možeiko
You need to pass "-shared" to clang/gcc arguments when creating shared library. So line 8 should l…
»
Josh Ayres
Here is my build file: CommonCompilerFlags="-std=c++14 -Wextra -Wno-writable-strings -Wno-missing…
»
Mārtiņš Možeiko
How did you create handmade.dll file?
»
Josh Ayres
Hello, I have started to follow Handmade Hero on linux. I have been trying to do Dynamic Loading b…
»
spx
I've changed the image in the first post with one that should provide better quality when viewed 1…
»
Mārtiņš Možeiko
That's not necessary. lib files passed to cl.exe will get automatically passed to link.exe even w…
»
r2d2
Hello, everyone. In day 188 Casey adds support for mouse hover. He retrieves the current mouse cur…
»
Dumitru Frunza
'user32.lib' needs to be passed to the linker using the '/link' option :
»
catsonmars
I should start off by saying I am using VS 2015, I have a shell file in w:\work\misc @echo off mk…
»
Farhod Miralimov
Thanks to all! I really appreciate your help, your answers really cleared a lot for me. Thanks aga…
»
Marko
I really don't know how I skipped this part. Thank you very much!!!! All the best!
»
Mārtiņš Možeiko
"unresolved external symbol" error means that linker doesn't know where to find these functions (G…
»
Marko
Hello guys, Sorry for referencing beginning of the project, but I just lost a few days try to buil…
»
spx
Sorry for the image quality. I have replaced the image with the png version. The biggest issue how…
»
Mārtiņš Možeiko
Very nice. You screenshot looks very blurry and hard to read for me... Maybe its because you are u…
»
spx
Greetings, I've been working on this for some time now (probably since the start of this year) and…
»