Search:

Type: Posts; User: mathguy

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    730

    DUH! DUH! Thank you for pulling my head out!!! ...

    DUH! DUH! Thank you for pulling my head out!!! Too used to other operating systems. Thank you.
  2. Replies
    2
    Views
    730

    Execution Trouble

    I am creating a small test program to call a shared object in Ubuntu. I compile it with no complaints and see the program name listed as an executable in the file system. However, when I am in...
  3. Thread: Ubuntu Build

    by mathguy
    Replies
    9
    Views
    1,735

    The macro is: #define max(a,b) (((a) > (b))...

    The macro is:

    #define max(a,b) (((a) > (b)) ? (a) : (b))

    Also, it doesn't complain during the build of the shared object. It complains that the undefined is in the shared object when I...
  4. Thread: Ubuntu Build

    by mathguy
    Replies
    9
    Views
    1,735

    The "func" that I'm speaking of is max (for...

    The "func" that I'm speaking of is max (for maximum of two numbers). Is that contained in the stdlib.h for gcc? If so, is it that my #define is conflicting with the stdlib version?
  5. Thread: Ubuntu Build

    by mathguy
    Replies
    9
    Views
    1,735

    Thank you both. Both sources are reaping great...

    Thank you both. Both sources are reaping great rewards and I'm just about there. Now I'm chasing a "undefined reference to 'func'" error even though I have the macro defining 'func' in each of the...
  6. Thread: Ubuntu Build

    by mathguy
    Replies
    9
    Views
    1,735

    Ubuntu Build

    I have created a shared object in Ubuntu (libMYLIB.so). I am now trying to compile a simple test program (testmylib.c) to see if the shared object is properly built. I am getting an error that the...
  7. What about the Pelles compiled code not crashing...

    What about the Pelles compiled code not crashing the app? Any idea as to why that version works?
  8. Oh...let me add that the exact same code compiled...

    Oh...let me add that the exact same code compiled in Pelles does not crash the app.
  9. Visual Studio-produced DLL crashing VS-VB application

    We are producing a DLL in Visual Studio. That DLL when called by a VB application crashes the application in production. It does not crash it in debug mode. We produce a very similar DLL and...
  10. I think the other issue is that your printing a...

    I think the other issue is that your printing a pointer (i.e. &var_name) instead of the variable itself (i.e. var_name).
  11. He said to ignore the final error because that...

    He said to ignore the final error because that was due to the missing bracket for the main function.
  12. Compare is == not =.

    Compare is == not =.
  13. Aren't you missing the final } for the main...

    Aren't you missing the final } for the main function?
  14. Replies
    18
    Views
    7,136

    I have been meaning to get back. I've got it...

    I have been meaning to get back. I've got it solved and working. It wouldn't have happened without all of your help. Thank you! I truly appreciate the time you all took responding to my questions.
  15. Replies
    18
    Views
    7,136

    Okay. Well, I'm sure that we're set for Win32. ...

    Okay. Well, I'm sure that we're set for Win32. Anything else you can think of that would cause it to work in Windows 7 but not XP and Server 2003? I realize now that the MSVCR80, etc. are runtime...
  16. Replies
    18
    Views
    7,136

    Okay will check to be sure. How should I be...

    Okay will check to be sure. How should I be totally sure?
  17. Replies
    18
    Views
    7,136

    In depends.exe, we still have MSVCR80.DLL even...

    In depends.exe, we still have MSVCR80.DLL even though we have debugging off for a release build. Why is that still included? How do I remove that? Could that be our issue?
  18. Replies
    18
    Views
    7,136

    Building on a 64-bit system but for Win32.

    Building on a 64-bit system but for Win32.
  19. Replies
    18
    Views
    7,136

    Okay, with your help (thank you, thank you), I've...

    Okay, with your help (thank you, thank you), I've got a successful build that we're able to call from Visual Basic in Windows 7. We're building the DLL in Visual Studio 5 SP3 on a Windows 7 machine....
  20. Replies
    18
    Views
    7,136

    It looks like the VS version is not exporting the...

    It looks like the VS version is not exporting the function. The outputs from Dependency Walker are virtually identical except the VS version has MSVCR80D.DLL in the output. Also in the output pane,...
  21. Replies
    18
    Views
    7,136

    Declaration of DLL from C code. int __stdcall...

    Declaration of DLL from C code.

    int __stdcall DLLNAME(struct bufferone far *a_one,
    struct buffertwo far *b_one,
    struct buffertwo far *b_two,
    ...
  22. Replies
    18
    Views
    7,136

    Visual Studio DLL and Visual Basic

    Okay. I've been struggling with this for a long time. I've decided to finally ask it out here and see if I can make it work. I have code that I can successfully build on a couple of different...
  23. Replies
    8
    Views
    10,079

    They are. I think that, as anduril said, it is a...

    They are. I think that, as anduril said, it is a linker error. But, I've got the linker pointing to the .dll.a file. Still no go.
  24. Replies
    8
    Views
    10,079

    Hi Tater, That's a good question. Doesn't the...

    Hi Tater,

    That's a good question. Doesn't the use of double-quotes "" around the filename indicate to the compiler that the header files are in the source directory?
  25. Replies
    8
    Views
    10,079

    Tim, Thank you for your reply. It is not a...

    Tim,

    Thank you for your reply. It is not a prototype error. Sorry about the inaccuracy there. I was thinking of something else while writing. I am getting "undefined reference" errors. I do...
Results 1 to 25 of 28
Page 1 of 2 1 2