dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sharma-kapil

Page 1 of 18 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread: CPU Usage

    by sharma-kapil
    Replies
    1
    Views
    487

    CPU Usage

    [i]
    Hi,
    I have application A.exe. Is there any win SDK function that tells me whether at a particular point of time A.exe is using CPU time ? (Ofcourse I could easily see it in Task Manager :-) but...
  2. Replies
    1
    Views
    546

    Re: Windows metafile formats

    I saw little bit abt it on
    http://www.uniplot.com. Nothing else. Anybody ?

    "Any fool can fight a battle he's sure of winning - but give me a man who has the pluck to fight a battle he's sure of...
  3. Replies
    1
    Views
    546

    Windows metafile formats

    Has anybody heard of the following formats:
    WMZ (Metafile Compressed),EMZ(Enhanced Metafile Compressed) ? I know about wmf and emf but never heard of these compressed formats. If you had then can...
  4. Behaviour of GetFileAttributes(filename) NOT JUSTIFIED

    1) GetFileAttributes(filename) function retrieves attributes for a specified file or directory. If I pass floppydrive(e.g. a:\) as filename and floppy is missing from the drive then this function...
  5. Re: launching default mail client and using mailto protocol

    Thanks for the reply. How can getting mail client address help in composing a bigger body message ? Please help.



    "Any fool can fight a battle he's sure of winning - but give me a man who has...
  6. launching default mail client and using mailto protocol

    Hello,
    I have used the following function to launch default mail client and send a predefined mail message.

    result = ShellExecute(HWND_DESKTOP,"open",EMailAddress,NULL,NULL,SW_SHOWNORMAL);...
  7. Replies
    1
    Views
    545

    Finding Windows ME minor version

    Hello,
    What is the minimum minor version number for Windows Me? Is there any
    Windows API function that can clearly distinguish between the Windows 98 &
    Windows Me OS ? I found out the...
  8. Replies
    2
    Views
    444

    remove constness

    how can I update variable i in the case below ???

    int main()
    {
    const int i = 9;

    *((int*)&i) = 12;

    cout<<i<<endl; // i is still 9
    }
  9. Thread: BMP->SVG

    by sharma-kapil
    Replies
    1
    Views
    1,027

    BMP->SVG

    hello,
    How can I convert a bmp file to svg file ? I don't want to use any already existing tools for that. the requirement is that I need to write my own program that takes a bitmap file as...
  10. Interpreting a xls(Microsoft excel) file.

    [i]hello,
    I want to interpret microsoft excel table i.e. .xls file and then extract the data for each cell and also some other info like number of rows and columns etc. Do microsoft provide...
  11. Replies
    3
    Views
    438

    Do Pointers move memory

    Do pointers move memory? I mean to say that say I have a pointer p like char *p = new char[20];
    Now say this pointer points to memory location 0x1200. During the lifetime of this pointer
    Is it...
  12. Replies
    3
    Views
    941

    Sun certification for java

    hello,
    I was interested in doing a java certification course online. Somebody suggested me that I should go for Java certification by sun. Can anybody give me some idea which certification...
  13. Thread: Thanks al

    by sharma-kapil
    Replies
    5
    Views
    487

    Re: Thanks al

    [i] Thanks Frank !

    "Any fool can fight a battle he's sure of winning - but give me a man who has the pluck to fight a battle he's sure of losing. That's my way, sir; and there are many victories...
  14. Thread: Thanks al

    by sharma-kapil
    Replies
    5
    Views
    487

    Thanks al

    [i]hi, This is probably last time that I'm visiting codeguru.com because of relocation to India. I'm not sure whether I'm going to access internet so frequently as I did here in USA courtsey: ****...
  15. Re: How do you get the address of a function?

    [i] ...huhh...Where is this error occuring, show the code ? The problem could be that your return type OR parameter are not matching with the actual prototype.
    typedef void ( CWinIo32::*FUNC)( );...
  16. Re: How do you get the address of a function?

    [i] why have you put * immediately after the void in following statement typedef void* ( CWinIo32::*FUNC)( );

    Is the return type void* ?

    "Any fool can fight a battle he's sure of winning - but...
  17. Re: How do you get the address of a function?

    [i] Here you go#include <iostream>
    #include <windows.h>
    #include <windef.h>

    using namespace std;

    short var[100][100];
    typedef void (*FUNC)(short s[][100] );

    void ModifyStuff(short...
  18. Replies
    2
    Views
    538

    Re: Failed to retrieve handle

    [i] I don't know but why are you trying to reload it when its already there in hbitmap????? May be since resource is already loaded(see you don't have offloaded it yet) so an attempt to reload may...
  19. Replies
    3
    Views
    400

    Re: Which way is better???

    [i] Efficiency wise there should be no difference because new isusing malloc only internally but I really don't like the complexity of using malloc in the way that
    1) You need to typecast the return...
  20. Replies
    1
    Views
    488

    Re: Playing Audio-Files

    [i] See http://codeguru.earthweb.com/bbs/wt/showpost.pl?Board=vc&Number=164177&page=&view=&sb=

    "Any fool can fight a battle he's sure of winning - but give me a man who has the pluck to fight a...
  21. Thread: VC++ GUI

    by sharma-kapil
    Replies
    1
    Views
    490

    Re: VC++ GUI

    [i] what exactly is the block then ? 1) Say you have assicated CString type variables m_edit1, .... m_edit10

    with those edit boxes then if you do m_edit1 = "";.....m_edit10=""
    UpdateData(FALSE);...
  22. Replies
    1
    Views
    367

    Re: yup me again

    [i] 1) I don't know.
    2) Yes, but take one care. See 5.0 and 9.0 in these formulas below, wondering why .0 ???? because otherwise the result of division(5/9 or 9/5) will be truncated to integer part....
  23. Thread: error

    by sharma-kapil
    Replies
    2
    Views
    437

    Re: error

    [i] Remeber your integerPower function has two parameters not one and your are passing "num". Replace integerPower( num ) with integerPower(base, exponent). Inside your int main() function, you...
  24. Replies
    1
    Views
    601

    Re: newbie at c++

    int integerPower(int base, int exponent)
    {
    int num = 1;

    for (int i=0;i<exponent;i++) {
    num = num * base;
    }

    return num;
    }
  25. Replies
    5
    Views
    3,479

    Re: Create a structure at runtime?

    [i] I think "NO" because here the whole job is being done by the preprocessor so if you use something like type[0] what happens is that data type will become type[0] because the text is directly...
Results 1 to 25 of 429
Page 1 of 18 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)