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

Search:

Type: Posts; User: mdangers

Page 1 of 10 1 2 3 4

Search: Search took 0.57 seconds.

  1. Replies
    17
    Views
    2,955

    Hi again helpful one, one of the platforms...

    Hi again helpful one,


    one of the platforms I'm targeting is XBox ...

    no dlls there, just executables and static libs.


    Best regards.
  2. Replies
    17
    Views
    2,955

    Thanks again for your time. I've pretty much...

    Thanks again for your time.

    I've pretty much come to the conclusion to skip the whole library idea altogether and include the plain source files of the basic service layer.

    Some of the...
  3. Replies
    17
    Views
    2,955

    Hi and thanks for your time, I can confirm...

    Hi and thanks for your time,


    I can confirm that the instance is being created when compiling the library as a dll.

    Sadly, thats not really a solution for me.

    I'd really like to know if ...
  4. Replies
    17
    Views
    2,955

    Originally posted by usman999_1 Well to...

    [QUOTE]Originally posted by usman999_1
    Well to my knowledge if you declare an object outside of any function body or class declaration like...


    CSomeClass MyClassObj;

    Its declared at global...
  5. Replies
    17
    Views
    2,955

    Hi again, It was my guess, too, that the...

    Hi again,

    It was my guess, too, that the linker
    removes unreferenced objects. I came across that linker setting yesterday (/OPT:NOREF) but to my disappointment it
    didn't and doesn't solve my...
  6. Replies
    17
    Views
    2,955

    Gotta admit I'm pretty spoiled from using the...

    Gotta admit I'm pretty spoiled from using
    the IDE ...


    Anyways, you got that right. When compiling a static library, you just get a .lib
    and no .dll.

    When compiling a dll you get a .lib...
  7. Replies
    17
    Views
    2,955

    Thanks for your answer, to enlighten you: ...

    Thanks for your answer,


    to enlighten you:

    it is definitly possible to build and use
    static libraries on win32. I have so dozens of times.

    To point you to 2 things:
    (Assuming you are...
  8. Replies
    17
    Views
    2,955

    addition

    Hi again,


    since no one seems to know an answer I
    suppose I didn't explain my problem well enough.

    Suppose you have a static lib with just one class. In the cpp file of this class you
    create...
  9. Replies
    17
    Views
    2,955

    static class instance in static lib

    Hi all,


    I'm trying to solve the following problem:


    I've compiled a static library which contains classes for all kinds of services.

    Some of these service need initialisation which I'd...
  10. Replies
    2
    Views
    724

    Thanks for the info, Paul.

    Thanks for the info, Paul.
  11. Replies
    2
    Views
    724

    references and ellipsis

    Hi gurus,


    please consider the following 2 implementations of a simple memberfunction



    bool l_LuaScriptInstance::ExecuteFunction(const cl_String &name, const cl_String &param_fmt,...)
    {
    ...
  12. Replies
    10
    Views
    1,563

    FYI, if anyone should encounter the problems...

    FYI,

    if anyone should encounter the problems
    I ran into, overloading placement new did
    the trick. Its probably the simplest solution.


    Regards,
  13. Replies
    10
    Views
    1,563

    Paul, thanks for your reply. I think I'll...

    Paul,


    thanks for your reply.

    I think I'll give C) a try.

    As far as new[] and delete[] are concerned, I was planning on overloading these as well.
  14. Replies
    10
    Views
    1,563

    Paul, sorry if I wasn't clear enough in my...

    Paul,

    sorry if I wasn't clear enough in my last posts.

    Based on your snippet, the following code
    does not compile (at least on my system):



    class cl_Root
  15. Replies
    10
    Views
    1,563

    Paul, as to what I figured out the problem...

    Paul,


    as to what I figured out the problem only occures when copies of cl_Root derived objects are placed in an stl container:



    // this compiles
    std::vector<cl_KeyFrame*> keyframes;
  16. Replies
    10
    Views
    1,563

    Hi, the error doesn't occur in my code but...

    Hi,


    the error doesn't occur in my code but in xmemory which is used by stl.

    Lets say the root class of my hierachy looks like this:
  17. Replies
    10
    Views
    1,563

    Prb with stl and overloaded operator new

    Hi everyone,


    I've got a single root class hierachy and I'd like to overload operator new and delete in the root class of this hierachy.

    The problem I'm facing now is that after doing this,...
  18. Take a look at UrlCanonicalize(); IE5 or later...

    Take a look at UrlCanonicalize();

    IE5 or later needs to be installed.
  19. If you'd like your app to run on foreign windows...

    If you'd like your app to run on foreign windows versions, you're gonna get in trouble with that.

    i.e. on a german windows, the path would
    be "C:\Programme".
  20. Replies
    10
    Views
    4,177

    beats me, bro.

    beats me, bro.
  21. Replies
    10
    Views
    4,177

    As to what I figured out it this needs to be done...

    As to what I figured out it this needs to be done for __LINE__ to actually expand
    to the current linenumber.

    I don't remember where I found this, but its quite useful to mark unfinished code.
    ...
  22. Replies
    10
    Views
    4,177

    Hi ! Try the following: #define h2(l) #l ...

    Hi !

    Try the following:


    #define h2(l) #l
    #define h1(l) h2(l)
    #define msg(s) message ( #s " " h1( __LINE__ ) )

    #pragma msg( This is line )
  23. Replies
    13
    Views
    1,318

    OnInitDialog() is a virtual function which you...

    OnInitDialog() is a virtual function which you may override in your dialog class.

    Signature:

    BOOL OnInitDialog( );
  24. Replies
    13
    Views
    1,318

    I'd suggest you do that stuff in OnInitDialog().

    I'd suggest you do that stuff in OnInitDialog().
  25. Replies
    13
    Views
    1,318

    I suppose your code looks something like this: ...

    I suppose your code looks something like this:

    // Somewhere in your dialog class

    CListBox* p_lb=(CListBox*)GetDlgItem(IDC_MYLISTBOX);
    ASSERT(p_lb);
    p_lb->AddString("Wassup?");

    If...
Results 1 to 25 of 238
Page 1 of 10 1 2 3 4





Click Here to Expand Forum to Full Width

Featured