Skip to content

Article Writing

Discuss writing articles, add your requests for articles here, or search for ideas for a new article.

This category can be followed from the open social web via the handle article-writing@forum.codeproject.com

5.4k Topics 12.4k Posts
  • Win32 framework library for straight C

    c++ html database com algorithms
    3
    0 Votes
    3 Posts
    5 Views
    M
    >>Some of the Unix GUI libraries/frameworks were >>written in C and are being ported to Windows. GTK is one C framework originally developed for Unix. There's also a Windows port available.
  • Win32 framework library for straight C

    c++ html database com algorithms
    3
    0 Votes
    3 Posts
    3 Views
    M
    >>Some of the Unix GUI libraries/frameworks were >>written in C and are being ported to Windows. GTK is one C framework originally developed for Unix. There's also a Windows port available.
  • Serial Port Device Driver

    tutorial question
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Serial Port Device Driver

    tutorial question
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Sending Formatted text through MAPI

    help html question
    2
    0 Votes
    2 Posts
    2 Views
    W
    Hi Eli, you cannot send formatted text with Simple MAPI by default (although some mail readers parse it correctly), because you cannot specify the format of the content in Simple MAPI. With Extended MAPI you can specify the encoding of the message body (text/HTML or text/RTF). For a sample, see Microsoft's MSDN online (search.microsoft.com/us/dev/) and search for article "Q216344". Willi ================== The original message was: Hi All, In my app I need to send e-mail directly. I use Simle MAPI for that and it works fine. The problem is that want to send formatted text. When I tried to set the message text to HTML text some e-mail programs (Like Eudora Pro) rendered it fine. However other e-mail programs (Outlook and Outlook Express) do not render it and just show the html source. I know that there is a way to send formatted text since Word does it. I already called Microsoft Tech Support and they couldn't give me an answer. Can anyone help? Thans, Eli.
  • Sending Formatted text through MAPI

    help html question
    2
    0 Votes
    2 Posts
    3 Views
    W
    Hi Eli, you cannot send formatted text with Simple MAPI by default (although some mail readers parse it correctly), because you cannot specify the format of the content in Simple MAPI. With Extended MAPI you can specify the encoding of the message body (text/HTML or text/RTF). For a sample, see Microsoft's MSDN online (search.microsoft.com/us/dev/) and search for article "Q216344". Willi ================== The original message was: Hi All, In my app I need to send e-mail directly. I use Simle MAPI for that and it works fine. The problem is that want to send formatted text. When I tried to set the message text to HTML text some e-mail programs (Like Eudora Pro) rendered it fine. However other e-mail programs (Outlook and Outlook Express) do not render it and just show the html source. I know that there is a way to send formatted text since Word does it. I already called Microsoft Tech Support and they couldn't give me an answer. Can anyone help? Thans, Eli.
  • Corel Draw Selection toolbars.

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Corel Draw Selection toolbars.

    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • How to get hardware information in Windows

    hardware help tutorial announcement
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • How to get hardware information in Windows

    hardware help tutorial announcement
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • HTML

    javascript html question
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • HTML

    javascript html question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Thread pool?

    c++ tutorial question
    2
    0 Votes
    2 Posts
    5 Views
    A
    I have a simple soucecode. I should not be a problem to implement it with MFC once you understand how it works (unfortinally the reverse is not so easy. MFC to simple function) Why does the program use other y pos than it was assigned? Sleep can solve bugs that is hard to find. Remove the comment to se the effect of sleep. _____________________________________________________________________________________ #include #include //Make sure you use Project->Settings->C/C++ ->Code Generation->Use runtime library->"Multithreaded dll" #include HANDLE hStdOut; char space[10]; DWORD test=0; #define MAX_CONCURRENT_THREADS 10 BOOL MyFunc(int x); HANDLE hEvent; void main(void) { hStdOut = GetStdHandle( STD_OUTPUT_HANDLE ); int x=0; hEvent = CreateEvent(0,0,0,0); while(x500000) _endthread(); } return 1; } Regards Andreas ================== The original message was: Hi, Have anyone any sample how to do a thread pool to win32 with C++ ? Regards MiLa
  • Thread pool?

    c++ tutorial question
    2
    0 Votes
    2 Posts
    6 Views
    A
    I have a simple soucecode. I should not be a problem to implement it with MFC once you understand how it works (unfortinally the reverse is not so easy. MFC to simple function) Why does the program use other y pos than it was assigned? Sleep can solve bugs that is hard to find. Remove the comment to se the effect of sleep. _____________________________________________________________________________________ #include #include //Make sure you use Project->Settings->C/C++ ->Code Generation->Use runtime library->"Multithreaded dll" #include HANDLE hStdOut; char space[10]; DWORD test=0; #define MAX_CONCURRENT_THREADS 10 BOOL MyFunc(int x); HANDLE hEvent; void main(void) { hStdOut = GetStdHandle( STD_OUTPUT_HANDLE ); int x=0; hEvent = CreateEvent(0,0,0,0); while(x500000) _endthread(); } return 1; } Regards Andreas ================== The original message was: Hi, Have anyone any sample how to do a thread pool to win32 with C++ ? Regards MiLa
  • Sample codes of SEARCH function in VC++..pls

    c++ algorithms help
    2
    0 Votes
    2 Posts
    7 Views
    A
    ================== The original message was: I'm urgently searching for the sample codes of SEARCH function written in VC++.. hope that someone can help me on this....thanks.. Take a look at strstr() char hello[1234]; strcpy(hello,"My name is Andreas and i am a programmer"); char *pnt; pnt=strstr(hello,"Andreas"); int len=pnt-hello; char space[100]; ::MessageBox(0,_itoa(len,space,10),"Found at",0);
  • Sample codes of SEARCH function in VC++..pls

    c++ algorithms help
    2
    0 Votes
    2 Posts
    6 Views
    A
    ================== The original message was: I'm urgently searching for the sample codes of SEARCH function written in VC++.. hope that someone can help me on this....thanks.. Take a look at strstr() char hello[1234]; strcpy(hello,"My name is Andreas and i am a programmer"); char *pnt; pnt=strstr(hello,"Andreas"); int len=pnt-hello; char space[100]; ::MessageBox(0,_itoa(len,space,10),"Found at",0);
  • DoDragDrop without MFC

    c++ tutorial
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • DoDragDrop without MFC

    c++ tutorial
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • class CBitmapDC : public CDC

    graphics help question
    3
    0 Votes
    3 Posts
    2 Views
    C
    Maybe http://www.codeproject.com/gdi/WebImageDC.asp will provide a starting point... ================== The original message was: I desperately want a class that does a couple of specific things. It's a personal thang - I'm writing an app that will be freeware, but it's such a challenge that I'm almost willing to pay for the help! I'm tired of hunting for info, and hackiong for results. I can't get my head round the bitmap structires enough to write my own functions - hence a public request for a class. I want it to: ~ be derived from CDC so that I can draw & blit to it, etc ~ be able to load from and save to 8,16,24 and 32bit DIBs ~ flip (mirror vertically) Any takers?? If so, I have an existing CDIB class that does nearly all of the above and will send it to anyone who wants it. Thank you in advance
  • class CBitmapDC : public CDC

    graphics help question
    3
    0 Votes
    3 Posts
    2 Views
    C
    Maybe http://www.codeproject.com/gdi/WebImageDC.asp will provide a starting point... ================== The original message was: I desperately want a class that does a couple of specific things. It's a personal thang - I'm writing an app that will be freeware, but it's such a challenge that I'm almost willing to pay for the help! I'm tired of hunting for info, and hackiong for results. I can't get my head round the bitmap structires enough to write my own functions - hence a public request for a class. I want it to: ~ be derived from CDC so that I can draw & blit to it, etc ~ be able to load from and save to 8,16,24 and 32bit DIBs ~ flip (mirror vertically) Any takers?? If so, I have an existing CDIB class that does nearly all of the above and will send it to anyone who wants it. Thank you in advance