Jump to content

  • Log In with Google      Sign In   
  • Create Account

Fredericvo

Member Since 06 Mar 2012
Online Last Active Today, 12:19 PM

Posts I've Made

In Topic: DataGridView in plain C/C++

13 July 2016 - 10:22 AM

If you really don't want to use CLR/C#, I think you're probably better off using a C++ GUI library like Qt.

 

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.


In Topic: Gamedev glitch on iPhone

12 July 2016 - 01:50 PM

Thanks it works now. :)

In Topic: Gamedev glitch on iPhone

12 July 2016 - 08:45 AM

Still not fixed :-(


In Topic: MFC custom resources

08 June 2016 - 12:57 PM

I think you want this:

HRSRC WINAPI FindResource(
_In_opt_ HMODULE hModule,
_In_ LPCTSTR lpName,
_In_ LPCTSTR lpType
);

HGLOBAL WINAPI LoadResource(
_In_opt_ HMODULE hModule,
_In_ HRSRC hResInfo
);

LPVOID WINAPI LockResource(
_In_ HGLOBAL hResData
);

There is a RT_RCDATA resource type defined as 10.

Read msdn for extra info.

In Topic: Switching from C++ to Java

04 June 2016 - 09:35 AM

I wanted to start making something 'more fancy' than staring at the console.

I'm not sure why you think that means going from C++ to Java although you did have other reasons too.

As another poster said, going from console to GUI means using a library.

As a windows-fanboy (lol) it meant learning the win32 API in my case. So rather than #include <iostream> etc you #include <windows.h>, link to kernel32.lib, user32.lib, gdi32.lib and in some cases more libraries the fancier you go. When you start a new visual studio project most boilerplate is already done for you as well.

If cross-platform is paramount to you then of course ignore my post and use Qt like the other poster recommended.


PARTNERS