Search:

Type: Posts; User: dug

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    6,180

    actually that worked thanks for your help!

    actually that worked thanks for your help!
  2. Replies
    9
    Views
    6,180

    i still get the handle to the applications...

    i still get the handle to the applications resources!?!

    ..something's not right.
  3. Replies
    9
    Views
    6,180

    ...as far as i know! how could i check that this...

    ...as far as i know! how could i check that this is the case in MSVC 7.0?
  4. Replies
    9
    Views
    6,180

    thanks for your help ken, not yet, i don't...

    thanks for your help ken,

    not yet, i don't want to have to know the "path/dll_name" all the time... its not very flexible!

    i also don't understand why i need to call 'LoadLibrary' from inside...
  5. Replies
    9
    Views
    6,180

    yeah, but the problem is: i can't get the...

    yeah, but the problem is: i can't get the instance handle to the dll!

    if you read my question again it should be clear:



    HINSTANCE hNewResourceHandle = AfxGetInstanceHandle()


    is...
  6. Replies
    9
    Views
    6,180

    accessing a DLL's resources...

    hi there,

    i have a DLL for that handles some DirectX stuff for me. what i want to do is inside the DLL is load a resource [in this case its a bitmap, with IDB_SPRITE_DOT] so i can use it as a...
  7. Replies
    8
    Views
    1,740

    yes, this is correct anonytmouse, the code should...

    yes, this is correct anonytmouse, the code should actually be:



    ExportedSpecialImage::~ExportedSpecialImage()
    {
    if(special_image!=NULL)delete static_cast<SpecialImage*>(special_image);
    }
  8. Replies
    8
    Views
    1,740

    well, the example here is a simple one, but my...

    well, the example here is a simple one, but my actual project is much more complicated... so void* is working fine for me, and i am happy with it...

    and like i say, i totally accept that codeplug...
  9. Replies
    8
    Views
    1,740

    yeah, his answer was a good one... and i could do...

    yeah, his answer was a good one... and i could do it that way, but the less i expose the better for this particular problem. thanks though.
  10. Replies
    8
    Views
    1,740

    oh yeah... forgot i could do that! that is a nice...

    oh yeah... forgot i could do that! that is a nice clean way to do it...

    what i did [in case anyone is interested] is use 'void*' as below:



    ...
  11. Replies
    8
    Views
    1,740

    dll : design issue!

    hi there,

    i'm not that experienced with dll's... so please bear with me on this one... basically i have a design question for you...

    the scenario is this: i have a library that i want to...
  12. Thread: tricky stuff...

    by dug
    Replies
    5
    Views
    1,825

    i have found the solution: namespace...

    i have found the solution:



    namespace ashlib {


    template <class T> class Tuple2;
    template <class T> std::ostream& operator << (std::ostream&, Tuple2<T>);
  13. Thread: tricky stuff...

    by dug
    Replies
    5
    Views
    1,825

    yeah, i tried that, but then the library won't...

    yeah, i tried that, but then the library won't compile:

    >>>

    c:\dev\dev\res\ASHLIB\src\ashlib\geometry\Tuple3.h(67) : error C2143: syntax error : missing ';' before '<'
    ...
  14. Thread: tricky stuff...

    by dug
    Replies
    5
    Views
    1,825

    i think it is something to do with this: ...

    i think it is something to do with this:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcerrlinkertoolserrorlnk2019.asp

    but i can't figure out what to do to...
  15. Thread: tricky stuff...

    by dug
    Replies
    5
    Views
    1,825

    tricky stuff...

    Ok, so this is the continuing saga of porting my code from VC6.0 to VC7.1...

    so here's the story... i have some libraries that i have rebuilt with no problems under VC7.1... now i have another...
  16. Replies
    11
    Views
    4,175

    i think CString has a limit somewhere around the...

    i think CString has a limit somewhere around the 80 character limit...
  17. isn't the i++ ambiguous? you'd be safer doing...

    isn't the i++ ambiguous?

    you'd be safer doing something like:



    static int i; //global!!
    IntUp(i);

    void IntUp(int d)
  18. Replies
    10
    Views
    2,848

    i found this in the documentation: >>> This...

    i found this in the documentation:

    >>>

    This error can also be generated as a result of conformance work that was done for Visual Studio .NET 2003: template friends and specialization. In Visual...
  19. Replies
    10
    Views
    2,848

    i still get the linker errors, but without the: ...

    i still get the linker errors, but without the:

    LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs
  20. Replies
    10
    Views
    2,848

    declared in Tuple2.h as: friend...

    declared in Tuple2.h as:



    friend std::ostream& operator<<(std::ostream& os, Tuple2<T> v);


    implemented in Tuple2.h as:
  21. Replies
    10
    Views
    2,848

    no, i specify everything per project and per...

    no, i specify everything per project and per configuration... i'm organised that way... :)
  22. Replies
    10
    Views
    2,848

    uh..., yeah..., all the libraries are there, they...

    uh..., yeah..., all the libraries are there, they were copied in from the original dsp/dsw files...

    i have managed to reduce the errors and now all i have is this:

    >>>

    LINK : warning...
  23. Replies
    10
    Views
    2,848

    Porting code from VC++6 to VC .NET??

    hello,

    i have been using Visual Studio 6.0 for years, and for some reason, the powers that be are forcing me to upgrade to Visual Studio .NET now that i have a new workstation... i don't see why,...
  24. Replies
    4
    Views
    2,769

    thanks wmi.cpp's function StartProcess looks like...

    thanks wmi.cpp's function StartProcess looks like what i'm talking about... i'll give that a try and let you know what happens!

    thanks alot for your help guys!
    dug.
  25. Replies
    4
    Views
    2,769

    remote execution COM DCOM?

    hi there,

    i want to know how to get started with a very basic, simple form of distributed computing.

    lets say i have two machines connected on a network. i want one machine to be a 'master'...
Results 1 to 25 of 66
Page 1 of 3 1 2 3