Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

1765 Excellent

About Fredericvo

  • Rank

Personal Information

  • Interests
  1. Fredericvo

    Pixel Visual Programming

    I don't understand your question. Do you mean how do you zoom an image without pixelating it?
  2. Nobody saw the elephant in the room. He is using a code driven approach where a data driven approach would be a superior alternative. Even if I had a single wall piece I'd have added a world transform to the wall data itself and none of that if-else business. However, I would indeed have more variety of pieces too as drawing larger meshes in one go is faster.
  3. Fredericvo

    .cso in .lib

    How about the resource compiler instead? I use that to embed binary data that I don't want as separate files. Simple and flexible without extra plugins or build tools.
  4. Fredericvo

    How to find the dxgi version of directx in pc?

    Could you post the code from the adapter enumeration until the swap chain creation?
  5. I have a VAIO laptop with dual GPUs (HD 3000 + AMD Radeon 7400 M) and I can't seem to get it to select the high powered device with __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;   I use Rastertek's init code which always worked when I used Win7 (and no declspecs) and I now assume it had somehow enumerated the high powered one first by coincidence. I became aware of this dual gpu problem when I tried running my code on another person's laptop where the proposed solution were these declspecs and it worked (an Nvidia system). Last year I upgraded my laptop to Win10 and didn't expermient with DX11 anymore until I wanted to suddenly play with it again and discovered that the pure rastertek's code didn't work (it enums the HD 3000 first) and remembered the declspecs, added them and... nothing. It didn't work. I have Catalyst 15.xx though and it should've worked since 13.xx I'd like init code that's guaranteed to work everywhere though, not just quick hacks for my own laptop.  
  6. Fredericvo

    WinAPI Combo Box wont show

    It literally means what it means and seems unrelated to your problem. Are you using CreateFileEx somewhere in your code? If CreateWindowEx succeeds it's not going to "reset" the error value. http://microsoft.public.win32.programmer.ui.narkive.com/OamvbzgN/createwindowex-returns-error-already-exists
  7. Fredericvo

    WinAPI Combo Box wont show

    It's a bit difficult to see with out of context snippets of code but you seem to instantiate your m_combobox before you even register and create you main window.
  8. I didn't see your code but IIRC the last time I had such a hair-pulling situation I had mistakenly ended the if statement with a semi-colon before the curly braces. Like so: if ( a == b ); { //blah }
  9. Fredericvo

    C++ : Extend class in dll

    Is this, in fact, not what COM technology is all about? Although it includes additional features such as reference counting as well.
  10. Fredericvo

    Getting more curious and curious

    This thing about being sidetracked happens to me with such strength and frequency that I follow a depth first tree-traversal algorithm and never get shit done. It's to the point that I just had to know how to code a simple win32 that just opens a window in pure assembly. Pure means none of that HLA thing with "invoke" or if-else blocks. It's push the args on the stack and call. It's compare EAX to some value and branch on condition.
  11. Fredericvo

    Best Way To Comment Code Without Cluttering

    /********************* * *I'm pretty much a minimalist in *this department. I kinda hate *when some third party library *has a class that looks like it's *hundreds and hundreds of lines *with most of them comments and *the odd method or property here *and there. And I demonstrated *what I mean lol *************************/
  12. Saw it too. Was worried the site would close down because it's no longer profitable or something. Sites come and go like that.
  13. Fredericvo

    How To Start Game Programming With C++

    Rastertek.com is an excellent source to learn Direct3D 11 too, if you want to get an idea of how C++ subsystems work together.
  14. Fredericvo

    DataGridView in plain C/C++

      I had thought of trying XPTable. I think Qt has a learning curve of its own and portability is a non-issue to me. I'm still wondering whether using DataGridView is technically possible though.
  15. I want to create a non-game program that makes extensive use of the ListView but one thing that bothered me was the apparent impossibility to set a border colour for it. The default colour is way too light. Owner/Customdraw don't allow it or at least not in a way that I know. I discovered that Windows Forms and WPF use something called DataGridView and it's visual appearance is way more appealing and it seems a lot more powerful overall than the humble built-in winapi listview. What I wanted in the first place, set a darker border colour also seems absolutely trivial there. If possible though I would like to avoid having to use CLR or C#. I compiled a small winforms  program with a datagrid and ran dependency viewer on it so I could see which dlls are in use and the only extra dll of interest I saw seemed to be mscoree.dll. I read that .NET functionality is implemented in this dll but what I wonder and this is my question is whether there's a way to use datagrid from plain C/C++? Or is there a lot more involved? Is that even the dll that implements datagrid? I couldn't see useful functions exported from mscoree.dll although I only did a quick visual inspection of them. Then again there is no CreateListview function in user32 either, only a pre-registered window class and associated windows messages... I assume datagrid, if at all possible to use from C, does something similar?
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!