Search:

Type: Posts; User: juice

Page 1 of 17 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    2,304

    Dumping Interrupt Vector Table

    I am trying to dump the contents of Interrupt Vector Table on 32 bit Widows 7 machine using the following code excerpt.



    #include <stdio.h>
    #define WORD unsigned short
    #define IDT_001_ADDR 0 ...
  2. Thanks for bringing it to my notice. I need some...

    Thanks for bringing it to my notice. I need some more research on conventions and data types. char's,TCHAR's, WCHAR's, _TCHAR's and all other jumble of data types are particularly confusing and...
  3. GetCurrentDirectory printing only the first character of the path

    Why does the following snippet only print out `C` and not the entire path which is way longer??



    LPTSTR lpBuffer = (LPTSTR)malloc(256*2);
    GetCurrentDirectory(256, lpBuffer);
    MessageBoxA(NULL,...
  4. Replies
    15
    Views
    2,785

    127 ERROR_PROC_NOT_FOUND 127 (0x7F) ...

    127


    ERROR_PROC_NOT_FOUND

    127 (0x7F)

    The specified procedure could not be found.
  5. Replies
    15
    Views
    2,785

    Hey! That works!! How?? And why not the other...

    Hey! That works!!

    How??
    And why not the other way??
  6. Replies
    15
    Views
    2,785

    Yes oogabooga, that is my source of reference.

    Yes oogabooga, that is my source of reference.
  7. Replies
    15
    Views
    2,785

    Following is dllmain.c #define...

    Following is dllmain.c



    #define WIN32_LEAN_AND_MEAN /* speed up */
    #include <windows.h>
    #include <windowsx.h>
    #include <commctrl.h>
    #include <tchar.h>
  8. Replies
    15
    Views
    2,785

    Following is the code for WinDll.h //...

    Following is the code for WinDll.h



    // INCLUDE FILE generated by "Pelles C for Windows, version 3.00".

    #ifndef _WINDLL_H
    #define _WINDLL_H

    #ifdef _WINDLL_
  9. Replies
    15
    Views
    2,785

    Here a clip from IDA Pro indicating names of the...

    Here a clip from IDA Pro indicating names of the exported functions from WinDll.dll




    13328
  10. Replies
    15
    Views
    2,785

    I'm compiling everything in Pelles C.

    I'm compiling everything in Pelles C.
  11. Replies
    15
    Views
    2,785

    GetProcAddress fails.

    GetProcAddress fails.
  12. Replies
    15
    Views
    2,785

    Getting function address from a DLL module

    I built a DLL (WinDll.dll) that exports a function called 'SampleFunction'. I placed the DLL in the same folder as that of the executing application, however it gives an error when I try to get the...
  13. Expected type for parameter 2, but found '_TCHAR'

    Why do I get that error when I try to compile this code



    #include<windows.h>

    int _stdcall _tmain(int argc, _TCHAR* argv[])
    {
    }
  14. Replies
    3
    Views
    1,388

    run option gone from Microsoft Visual C++ 2010

    I think I accidentally changed some settings in my MSVC 2010 compiler and now I can't find the compile and execute option. Also when I hit the tab button for indentation an arrow(->) appears. I...
  15. Thread: afxres.h

    by juice
    Replies
    5
    Views
    3,399

    MSVC 2010 express

    MSVC 2010 express
  16. Thread: afxres.h

    by juice
    Replies
    5
    Views
    3,399

    I found the file in some distant corner of my PC,...

    I found the file in some distant corner of my PC, but now I can't understand how to use it. I have added the file to the header files of my project but I still get the same error - "cannot open...
  17. Thread: afxres.h

    by juice
    Replies
    5
    Views
    3,399

    afxres.h

    I have installed win sdk but I still can't find the file afxres.h. Can someone please upload that for me.
  18. Thread: pseudo variable

    by juice
    Replies
    1
    Views
    4,015

    pseudo variable

    Can someone please explain me what is a Pseudo Variable and what exactly is the first parameter to the function WinMain below??


    GetStartupInfo(&StartupInfo);
    int nMainRetVal =...
  19. Replies
    5
    Views
    2,848

    Still not working. Got a whole new bunch of...

    Still not working. Got a whole new bunch of errors


    'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &)' : could not...
  20. Replies
    5
    Views
    2,848

    getline function not working

    Can someone please tell me which header to use for using getline() in C++. I have used


    #include<iostream>
    #include<string>
    #include<stdio.h>
    #include<stdlib.h>
    using namespace std;

    none...
  21. Fuction for setting the text cursor on the screen

    Is there any function which can set the text cursor on the screen at the specified cordinates??

    I am on windows, and writing a console application..
  22. Replies
    2
    Views
    1,680

    array of 8 arrays of 7 pointers to int

    How can we write an array of 8 arrays of 7 pointers to int??:confused:
  23. Replies
    10
    Views
    69,437

    This is what makes me think so... ...

    This is what makes me think so...


    #include"stdafx.h"
    #include<iostream>
    #include<fstream>

    struct record
    {
    char code[6];
  24. Replies
    10
    Views
    69,437

    No one really understood the question, or maybe I...

    No one really understood the question, or maybe I was unable to express myself, but I let it go, assuming(from what I observe from a couple of programs) that seekg and seekp can be used...
  25. Replies
    10
    Views
    69,437

    Difference between seekg() and seekp()

    What is the difference between seekg() and seekp(), and tellg() and tellp(), as they always appear to be returning the same values ?
Results 1 to 25 of 403
Page 1 of 17 1 2 3 4