Search:

Type: Posts; User: todd14

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    4,504

    Convert UNICODE/ASCII problem

    Eh, I am trying to figure this out and nothing seems to work. I want to convert one simple string to unicode.

    cstring doesn't work at all



    #include <string>
    using namespace std;
    ....
  2. Replies
    3
    Views
    1,156

    GetPixel Problem

    HDC bitmapDC;
    HBITMAP bitmapHandle;
    COLORREF bmpSample;
    bitmapHandle=(HBITMAP)LoadImage(0,"e:\\mytestsample.bmp",IMAGE_BITMAP,0,0,LR_LOADFROMFILE);
    bitmapDC = GetDC((HWND)bitmapHandle);...
  3. Thread: DEF File

    by todd14
    Replies
    1
    Views
    952

    DEF File

    How do I make a def file in MSVC++? I tried adding /def:myfile.def in the settings window but all I get is this:



    Command line warning D4002 : ignoring unknown option '/def:myfile.def'
  4. Replies
    2
    Views
    1,200

    Dll Exports Question

    I have been following a tutorial but the problem is the tutorial is for c++.net

    They say I have to edit the ddraw.def file and add


    LIBRARY "ddraw"
    EXPORTS
    DirectDrawCreateEx =...
  5. Replies
    7
    Views
    2,661

    Inline assembly code check

    void a(char *string, HWND rsHwnd)
    {

    sMessage = (DWORD)GetProcAddress(LoadLibrary("User32.dll"), "SendMessageA");
    LPARAM lstring = LPARAM(string);
    __asm {
    mov eax, rsHwnd

    xor ebx,...
  6. Replies
    2
    Views
    2,583

    error LNK2001: unresolved external symbol...

    error LNK2001: unresolved external symbol __imp__InternetCloseHandle@4
    error LNK2001: unresolved external symbol __imp__InternetReadFile@16
    error LNK2001: unresolved external symbol...
  7. Replies
    2
    Views
    2,583

    InternetOpenURLA

    I'm trying to figure this out but anything I do gives me errors



    hINet = InternetOpen("InetURL/1.0", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 );
    hConnection = InternetConnect( hINet,...
  8. Thread: Int to Char

    by todd14
    Replies
    3
    Views
    1,196

    Int to Char

    Is there an easy way to convert an integer to a character?



    strcat(myString, char(myInteger));

    bruteRSsid\bruteRSsid.cpp(33) : error C2664: 'strcat' : cannot convert parameter 1 from 'class...
  9. Thread: Driver Problem

    by todd14
    Replies
    3
    Views
    3,628

    Compiling - main.c for i386 errors in directory...

    Compiling - main.c for i386
    errors in directory d:\winddk\3790~1.183\src\ddriver\devicedriver
    d:\winddk\3790.1830\src\ddriver\devicedriver\main.c(14) : error C2143: syntax er
    ror : missing ';'...
  10. Thread: Driver Problem

    by todd14
    Replies
    3
    Views
    3,628

    Driver Problem

    I am compiling with WINDDK Windows Server 2003 Build Environment and I get a lot of errors. I am so lost. Can anybody please tell me what I am doing wrong?



    #include <ntddk.h>

    void...
Results 1 to 10 of 10