Quantcast
Channel: CodeGuru Forums - C++ and WinAPI
Browsing all 583 articles
Browse latest View live

strange function calls?

Hello everyone I'm very new to winapi... can someone explain functions calls like this to me? never met it before in general c++ function (something_in_brackets)(another_someting_in_brackets) ; or...

View Article


Creating a setup file in Visula studio using installshield

How to include third party software setup in installshield using visual studio. Thanks and Regards, Jeevan

View Article


c++ macro syntax

I'm learning winapi and I'm going through this source I found online and there is this macro which is making me go... here goes the snippet... Code: #define CWA(dll, api)                ::api and was...

View Article

Image processing algorithms: erosion and dilation

Hi,i need to implement erosion and dilation algorithms in c++, can anyone suggest me The code or preudoce of this algorithms? Thank's.

View Article

Image may be NSFW.
Clik here to view.

VS 2015 display issue

I was updating some turn of the century code when I ran into this anomaly using Visual Studio 2015 Community c++. It appears to be a display issue because I have an app that produces source...

View Article


how use SendInput() for a non focus window?

i did a nice functions for use the SendInput(): Code: //Simulate the press key: void inputDown(INPUT &ip, WORD wrdKey, int MouseX=-1, int MouseY=-1) {     if(wrdKey == VK_LBUTTON || wrdKey ==...

View Article

[RESOLVED] how use SendInput() for a non focus window?

i did a nice functions for use the SendInput(): Code: //Simulate the press key: void inputDown(INPUT &ip, WORD wrdKey, int MouseX=-1, int MouseY=-1) {     if(wrdKey == VK_LBUTTON || wrdKey ==...

View Article

error LNK2001: unresolved external symbol

i am using singulton pattern and visual studio 2010. getting this linker error. error LNK2001: unresolved external symbol "public: static class CAIUInterface * __cdecl CAIUInterface::GetInstance(void)"...

View Article


functions in .dlls

So is there a documentation and if not how do I get to know all the functions and their parameters and possibly what they do in each .dll..for example the kernel32.dll, user32.dll ecc ecc...? thanks

View Article


Multicolumn list in WinApi

How can I do a Multicolumn listbox, 3x10, where 3 are "song", "year", "artist", and 10 the amount of elements that sould be in the list? #include <windows.h> #include <CommDlg.h> #include...

View Article

Structure Padding in visual basics tool.

We are trying to see the size of the structure its getting 8 bytes,and get padded with remaining bytes we want to use only 4 bytes only 32bit frame. How to make 32 bit frame. so that we want to use...

View Article

What is the Windows Input Device for my keyboard?

I want to read from my Keyboard-Input-Device (Win32 Device Namespaces, \\.\). How can I decide which device is responsible for my keyboard. I can browse the available devices with the tool WinObj but I...

View Article

winap Dialogbox ..

so from the book I'm reading... windows programming, charles petzold ... HTML Code: -a dialog box procedure returns a BOOL. -a dialogbox procedure does not need to process a WM_PAIN or WM_DESTROY...

View Article


scoping?

what is this please ? the part I don't understand I commented out ... Code: class WinException { public:     WinException (char* msg)                 : _err (GetLastError()), _msg(msg) // what trick is...

View Article

Mystery of the Modeless Dialog

I am looking at some code similar to this. I have theories as to why the destructor is never called. In my opinion, the dialog does go out of scope...the manager object should automatically delete it....

View Article


win32: i need 1 sugestion

i have 1 form with 1 richedit class control, inside of 1 class. when i create class object, the constructor is called, but don't get time for change the create variable function(lambda). so what is the...

View Article

IDE for winapi

are there other great ide'S for winapi other than visual studio and can one advice from experience? I'm having a hell of a time with visual studio...not seeing includes files sitting right in the...

View Article


windows regsrv32

Hi, i have no idea how exactly this process work. When i successfully registered dll library, i have not seen any change. I try register dll, what is already registered, what make this process when 1)...

View Article

function in kernel32 not found ???

so I have a define.h like this Code: //define.h #define MAK(dll, api)                ::api and a filesystem.cpp file like this Code: ............... ...............  if( MAK(kernel32,...

View Article

msdn "desktops apps only"

Ok so I'm working on my first serious windows app, but sometimes I have problems calling certain functions and checking on msdn, I sometimes noticed the specification "desktops apps only"... ...how is...

View Article
Browsing all 583 articles
Browse latest View live