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

Search:

Type: Posts; User: cup

Page 1 of 42 1 2 3 4

Search: Search took 0.71 seconds.

  1. Replies
    1
    Views
    1,224

    Re: How to fit application on smaller laptop

    It is not the screen size: it is the pixel resolution you need to worry about.. What is the pixel resolution of your 17" screen and what is the pixel resolution of your 10" screen. In the worst...
  2. Replies
    5
    Views
    3,912

    Re: Converting console app to larger GUI based app

    The main problem with GUI based stuff is that it is not directed. With a console based form, the user will have to go from one field to another in order or at least current previous and next are...
  3. Replies
    3
    Views
    3,362

    Re: Web service in an application

    Thanks - I didn't know about winhttp and HTTP server API. That's a good starting point.
  4. Replies
    3
    Views
    3,362

    Web service in an application

    I am using an increasing number of applications which can be serviced from a web page. These apps do not need tomcat, apache or IIS to be installed but they are able to serve out web pages on...
  5. Replies
    2
    Views
    797

    Re: Convert to price value

    Print as %.2f if it is a float or %.2lf if it is a double
  6. Thread: Return and pop

    by cup
    Replies
    0
    Views
    33,182

    Return and pop

    In Intel assembler, there is an return instruction which pops a fixed number of parameters from the stack. Unfortunately most C compilers do not use this as the caller knows how many it added and...
  7. Replies
    2
    Views
    1,939

    Re: Make Files: No rule to make target

    Is the spelling of stringTokeniser.hpp correct? Is the casing correct?
  8. Replies
    2
    Views
    1,049

    Re: Help! error in vc++

    Is it possible for you to uninstall and reinstall VSExpress? Looks like possibly one of your DLLs is corrupted.
  9. Re: Urgent: Tool that converts C program on unix to c program on Windows

    What sort of calls are you having problems with: system calls, threads or GUI calls?

    For most system calls, have a look at the "Unix Applicaiton Migration Guide" in VS help. Tells you most of...
  10. Re: mixing Debug and Realese builds of a library not working?

    It really depends on the code generation options. I'm assuming you're using visual studio. If you set both debug and release to use the same code generation options and remove any ignore statements...
  11. Replies
    2
    Views
    561

    Re: Unfamiliar compiler message

    Just to reiterate what happened - the () makes it a forward declaration: not a variable declaration.
  12. Re: Shared library, object files and undefined symbols problem?

    It could be a name mangling problem. Change your libSequential code to


    extern "C" void libMethod()
    {
    ...
    }
  13. Re: Shared library, object files and undefined symbols problem?

    Type ldd mainapp
    It should tell you what mainapp can see.

    You probably need to put the directory containing libSequential.so in LD_LIBRARY_PATH. If you're using HPUX-10, it is LIBPATH.
  14. Replies
    3
    Views
    718

    Re: Looking for an idea

    Are you thinking of GUI, Web, embedded or console applications?
  15. Replies
    7
    Views
    8,515

    Re: Need a way to edit program's own file

    Self modifying executables are quite dangerous: most systems do not allow it. The main problem is that there are checksums embedded in the executable. If you don't patch them correctly, it stops...
  16. Re: FindWindow(NULL,"windowname") using a string variable instead of "windowname"

    Try the (LPCTSTR) or (LPCSTR) operator


    HWND closer = FindWindow(NULL, (LPCSTR) closepath);
  17. Replies
    7
    Views
    1,485

    Re: using c++ to instantiate a c# object?

    Guess I'm about 5 years behind - comes from maintaining legacy code where things still have to be done the old fashioned, clunky way.
  18. Replies
    7
    Views
    1,485

    Re: using c++ to instantiate a c# object?

    Have a look at http://www.codeproject.com/KB/cs/unmanagedtomanaged.aspx for starters.

    Normally you need a whole load of interface wrappers which are just one liners and quite tedious to write but...
  19. Replies
    7
    Views
    1,485

    Re: using c++ to instantiate a c# object?

    Why do you need to do this? Why not either write everything in C# or everything in C++?

    I'd imagine you can only do this in managed C++. Are you trying it in managed or unmanaged C++?
  20. Thread: Warning on AIX

    by cup
    Replies
    4
    Views
    4,138

    Re: Warning on AIX

    Just a long shot. Compile as position independent code and use gcc or g++ to do the linking

    Changes

    CFLAGS=-g -Wall $(INCLUDE) -fPIC
    LDFLAGS=-shared
    LD=gcc

    It is something I've noticed...
  21. Thread: Warning on AIX

    by cup
    Replies
    4
    Views
    4,138

    Re: Warning on AIX

    Change


    120: static simple_ptr<T> s_pObject;
    121: static char s_objectState = 0;

    to


    120: extern simple_ptr<T> s_pObject;
  22. Replies
    3
    Views
    1,829

    Re: hash_map in Visual Studio 2005

    Why not just use hash_compare. Have you had a look at the examples?
  23. Replies
    2
    Views
    1,572

    Re: c++ stacked bar graph

    You could try FLTK. It doesn't have stacked barcharts: only ordinary barcharts but it does come with source code and a nice set of test programs which you can use as starting points, though the...
  24. Replies
    4
    Views
    4,857

    Re: OCI bindings for CLOB data type

    If you don't get any suitable responses, it might be worth trying the database forum http://www.codeguru.com/forum/forumdisplay.php?f=51
  25. Re: To Unicode or not to Unicode? That is really the question.

    I disagree - I think Unicode is a lot simpler than MBCS. Not as simple as SBCS but definitely simpler than MBCS. If by MBCS, you meant SBCS then ignore what I've said.

    For instance, how do you...
Results 1 to 25 of 1037
Page 1 of 42 1 2 3 4





Click Here to Expand Forum to Full Width

Featured