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

Search:

Type: Posts; User: mburke

Page 1 of 9 1 2 3 4

Search: Search took 0.20 seconds.

  1. Replies
    2
    Views
    672

    Re: Storing Asian chars

    Thanks :)
  2. Replies
    2
    Views
    672

    Storing Asian chars

    Many Asian chars use pictures. I am told they are "double-byte" So if a char is 16-bit, it used two of them.

    So How do I deal with them in a class or struture? And how do I store it on disk?
  3. Replies
    2
    Views
    682

    Re: Error when VC++ program calls C dll

    That worked, thanks Padex :wave:
  4. Replies
    2
    Views
    682

    Error when VC++ program calls C dll

    Hi, I am getting this error when I make the dll function call (ezcch) from my test VC++ program...

    Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This...
  5. Replies
    3
    Views
    620

    Re: Need a C dll framework

    Thanks guys. :thumb:
  6. Replies
    3
    Views
    620

    Need a C dll framework

    I have not done this for years so I have forgotten. I need to make a 32-bit C dll, not C++.

    Does anyone have a framework to build such a beast? A sample make file or compile line, a .c file with...
  7. Replies
    4
    Views
    640

    Re: Making a C dll in VC++

    I did do this...


    #include "stdafx.h"
    extern "cplusplus"{
    #include "thirdPartyLib.h"
    }

    I pass strings into the function as char* and it is suppose to populate the pointers with the anwsers....
  8. Replies
    4
    Views
    640

    Making a C dll in VC++

    I need to make a C dll as a bridge between my C++ dll and a ill-behaved third party C function that only works in a C project.

    I do not seem to have the option to make a C dll in either VC++6 or...
  9. Replies
    3
    Views
    996

    Re: Calling a VC++ dll in VB

    Hi,
    Well, I changed it all to ByVal and I stopped getting that error. But now I get an error "Bad DLL calling convention (Error 49)". The function expects char*, so what type should my VB variables...
  10. Replies
    3
    Views
    996

    Calling a VC++ dll in VB

    I have been asked to provide an example of VB calling my VC++ dll. But I get an error "Type Mismatch" when I run it. I am using only strings, so I don't understand what is wrong.

    Here is the def...
  11. Replies
    5
    Views
    905

    Re: Why doen't this memory allocation work?

    Thanks guys, it works now. I thought func(char*a) 'a' was passed by reference
  12. Replies
    5
    Views
    905

    Why doen't this memory allocation work?

    I am setting char* strings dynamically using a function. The allocation succeeds inside setPipeSize(), but then the function returns abd the allocation goes away. I tried it both as static and an...
  13. Re: Finding out if a Java program is running in Windows?

    Thanks KV, thanks for the tip :wave:
  14. Finding out if a Java program is running in Windows?

    I have a Windows project that starts up a Java based TCP client. Is there a way to know if the program succeeded in starting up?

    I know I can use system() to start it up, but I don't know if there...
  15. Replies
    3
    Views
    749

    Re: Finding program information inside itself

    I can use win32 stuff, thanks :)
  16. Replies
    3
    Views
    749

    Finding program information inside itself

    I have a dll that I want to find the path to inside itself, is there a way to do this (none-MFC)?
  17. Replies
    5
    Views
    6,309

    Re: getenv() crashes

    Thanks,

    Looks like when I assigned it to a string like this...


    #include <cstdio>
    #include <iostream>
    #include <string>
    using namespace std;
  18. Replies
    5
    Views
    6,309

    getenv() crashes

    if I do a getenv("windir") and windir does not exist getenv crashes. Is there a way around this? :eek:
  19. Replies
    15
    Views
    1,580

    Re: C++ Inverview question

    Yes, your right. What I have will invoke the = operator, which can be overloaded.

    This is what I meant. It will invoke the copy constructor...

    CObj a;
    CObj b = a;

    ---
    Also, C++ does...
  20. Replies
    15
    Views
    1,580

    Re: C++ Inverview question

    Not really, I am a very good programmer. They will get their money's worth if they hire me. Interviewing is a stupid game. I hate dog and pony shows. I just needed some clarification on what this...
  21. Replies
    15
    Views
    1,580

    Re: C++ Inverview question

    Yes, I think he is talking about the copy constructor. The forth may be the difference between a shallow and deep copy.

    Or maybe when you do this...

    CObj a;
    CObj b;

    b = a;

    And overload...
  22. Replies
    15
    Views
    1,580

    C++ Inverview question

    The recuriter tells me what questions the cleint will ask in the phone interview, but he cannot elaborate on what it means.

    Here is the question...

    Name 4 cases on using copy method of a class?...
  23. Replies
    0
    Views
    522

    Formatting text documents in Java?

    I want to generate a report that has preset columns. I tried using tabs but each row is still misaligned. How can I align the rows if the text is variable size?
  24. Replies
    13
    Views
    3,197

    To link in mysqlclient.lib, I had to tell the...

    To link in mysqlclient.lib, I had to tell the linker to ignore LIBCD.lib or I get link redef errors.

    So if I put this in

    ifstream a("lala.txt");

    Here are the link errors...
    ...
  25. Replies
    13
    Views
    3,197

    I am having trouble using streams in this...

    I am having trouble using streams in this project. I get linker errors in libcpd.lib. The C++ streams have a conflict with the MySql lib. Is there another solution?
Results 1 to 25 of 211
Page 1 of 9 1 2 3 4





Click Here to Expand Forum to Full Width

Featured