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

Search:

Type: Posts; User: tuli

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    1,024

    Re: wired dll locating problem

    You guys were right: the problem was with dependencies.


    Apparently MinGW was silently updated, adding an additional sub-sub-dependency. I checked for that but somhow missed it. Sorry about that...
  2. Replies
    5
    Views
    1,024

    Re: wired dll locating problem

    by "does work" i imply the library loaded correctly - i modified caller.cpp to dump h and gla to a file. Guess i should have mentioned that.


    My best bet is that somehow the init routine...
  3. Replies
    5
    Views
    1,024

    [solved] wired dll locating problem

    I encounter a wired problem when dynamically loading a .dll file under windows xp sp3.


    dll.cpp


    #include <windows.h>

    BOOL APIENTRY DllMain( HANDLE hModule,
    DWORD ...
  4. Replies
    2
    Views
    2,050

    Re: include path problems

    Resolved! Thanks!


    The fault lies with some sort of cmake hiccup. DataTypes.h was located in the wrong directory, and i found a DataTypes.h.cmake in its place. Rearranging the files appropriately...
  5. Replies
    2
    Views
    2,050

    include path problems

    hi,

    [edit: This is a general problem i have with a lot of libraries, i'm using LLVM as an illustrative example.]

    I want to use the LLVM framework libraries.
    So i downloaded LLVM, compiled it,...
  6. Replies
    11
    Views
    1,947

    Re: operator overloading and inheritance

    @McKenzy
    Suppose that makes sense...

    @D_Drummer
    Alright, i'll consider it next time i'll bother you guys. ;)

    Thanks for the help!
  7. Thread: C abi

    by tuli
    Replies
    8
    Views
    1,492

    Re: C abi

    1) but it does. If i can exchange a pointer to a struct and make use of it in both my application and the plugin dll (linked by a different compiler).
    What would be an easier way, shipping a header...
  8. Replies
    11
    Views
    1,947

    Re: operator overloading and inheritance

    Alright, following that "rule of three" and giving both A and B independent copy constructors and assignment operators works fine! Thanks! :)

    I ignored const-correctness and memory leaks to keep...
  9. Replies
    11
    Views
    1,947

    Re: operator overloading and inheritance

    yes.


    thanks, i'll consider that next time.


    --

    I have added a better example. It now compiles and crashes as expected. :)
  10. Replies
    11
    Views
    1,947

    operator overloading and inheritance

    Hi,

    So i am having troubles with operator overloading in inherited class. Basically, it doesnt work. Consider this:
  11. Thread: C abi

    by tuli
    Replies
    8
    Views
    1,492

    Re: C abi

    Thanks, but i am aware of all that. :)

    The core question was whether this quote from the article:




    a) is actually true.
    b) is also true for cross-platform environments (win,lin,osx)
    c)...
  12. Thread: C abi

    by tuli
    Replies
    8
    Views
    1,492

    Re: C abi

    @D-Drmmm


    very little, so i cannot limit compilers.
    What do you mean by what kind of SDK?

    @johannes
    thanks, will do!

    edit:
  13. Thread: C abi

    by tuli
    Replies
    8
    Views
    1,492

    C abi

    hi,

    I am in the process of developing a dynamic plugin system for an application written in C++.
    Requirements:

    - support Win, Linux, OSX (x86 and x64)
    - support at least C/C++ plugins (bonus:...
  14. Re: Heap object created on the stack isn't cleaned up properly

    I used to wrap if(p != 0) around my deletes for some time.
    The reason was, as you mentioned above, that older VS runtimes would popup an error when deleting NULL.
  15. Replies
    2
    Views
    3,927

    Re: reading .pdb debug data

    Here's where the DIA is looking for the pdb file.




    But why not look in the local symbol store or _NT_PATH ?
    Probably because the developer explicitly forbids it...?
  16. Replies
    2
    Views
    3,927

    Re: reading .pdb debug data

    it would appear i am not the first or only one to have this problem:

    http://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/3d877580-af6c-4012-8a77-c1903be865e5/

    Dear microsoft, if...
  17. Replies
    2
    Views
    3,927

    reading .pdb debug data

    Hi,

    I am trying to read debug data from a pdb file, specifically the debug data for windows system libraries such as kernel32.dll, where the .pdb was provided by the microsoft symbol store.

    I...
  18. MSIL .netmodule or module compiled with /GL found

    I get the following warning when linking against a custom static lib in a release build:



    Both the project and the static lib are compiled as release (\GL).



    So what could be the cause of...
  19. Replies
    3
    Views
    2,479

    Re: hardware ID for PC

    BroTip: HWIDs usually do more harm than good.

    People will be annoyed, to say the least, that they can run their legaly purchased software only one one of their PCs, while their friends happily...
  20. Microsoft Windows Debug API: enumerating PDB files

    *nvm, please delete* :(
  21. Replies
    5
    Views
    4,533

    Re: evaluating logical boolean expressions

    forgot that, sorry. :)

    Standard math/c++ set of expressions, i would say, ie:

    <,>,>=,<=,&&,||, nested brevets,*,+,-,/, etc.

    If i was to write my own parser, would you know of any "reference"...
  22. Replies
    5
    Views
    4,533

    evaluating logical boolean expressions

    hi,

    I am looking for a library to aid me in evaluating Boolean expressions.
    For example, i have an expression like this:


    (it can alos be much longer!)

    and would like to evaluate them to a...
  23. Replies
    3
    Views
    2,071

    Re: cin and unknown number of integers

    thanks. No, the input is done with a file, but...


    the file looks more like this:

    <header>:x y z,....

    where x,y,z are the integers.
    It may as well be
  24. Replies
    3
    Views
    2,071

    cin and unknown number of integers

    Hi,

    i dont usually write console programs, and i cant seem to find out how one parses an unknown number of arguments with cin.

    the program receives an unknown amount of integers in stdin, and i...
  25. Thread: what``s the algo?

    by tuli
    Replies
    3
    Views
    1,251

    Re: what``s the algo?

    indeed thanks. :)

    in an attempt of saving my honour: i figured it out myself yesterday night. ;)
Results 1 to 25 of 61
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured