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

Search:

Type: Posts; User: johanneshau

Search: Search took 0.01 seconds.

  1. Thread: M4

    by johanneshau
    Replies
    4
    Views
    306

    Re: M4

    I do not have an MSVC-working source tree but *some* years ago I made a port to MS-DOS. I have it at home and I can provide it to you. Mail me johau (at) gmx (dot) net if you are interested.
    The...
  2. Re: [RESOLVED] application crashes with "real-time signal 1"

    Thank you for the hint!
    I made a stripped-down program for better testing. One problem is that it happens sporadic.
    After reading more about signals and timers I restructured the code (and added...
  3. Re: application crashes with "real-time signal 1"

    Thanks for the replies so far.
    Unforutnately I cannot post the complete code, since it is a commercial project.
    The application is not (yet) multithreaded. The only other "thread" which is running...
  4. [RESOLVED] application crashes with "real-time signal 1"

    I am working on a console application under Linux. It transmits and receives data streams via special communication hardware (developed here in house). I am recording all data in RAM buffers (the...
  5. Thread: C abi

    by johanneshau
    Replies
    8
    Views
    648

    Re: C abi

    I was doing a porting project from Linux/Unix to Windows, which involved a simple plugin system. It took me some googling and reading to find a working solution. Look at this thread:...
  6. Re: accessing symbols in appllication from within dynamic library MinGW

    It turned out that in the real application the declarations and manual loading stuff were quite involved (sometimes more code thatn the actual plugin ...). So I came up with some preprocessor stuff,...
  7. Re: accessing symbols in appllication from within dynamic library MinGW

    Thanks again for your time.
    You gave me the right hint: I have to manually load the addresses of the symbols I want to use within the plugin in the plugin, best in the init_plugin() function. This...
  8. Re: accessing symbols in appllication from within dynamic library MinGW

    I tried "-Wl,--export-all-symbols" already; it did not work. I am using the dlfcn library from Ramiro Polla, which wraps the Windows API calls to the POSIX dlopen()/dlsym()/dlclose() calls. dlsym()...
  9. Re: accessing symbols in appllication from within dynamic library MinGW

    I read about these "dllexport" declarations and I would give it a try for a new, Windows-only project, but for my porting project this is not an option (I hope there will be another), since I cannot...
  10. Re: accessing symbols in appllication from within dynamic library MinGW

    I added a .zip archive to the original post.
  11. [RESOLVED] accessing symbols in appllication from within dynamic library MinGW

    Hi,

    I am porting an application from Linux to Windows. Since it is a GTK app most of the stuff works; I have to touch a little here and there. One problem though I cannot find the solution as it...
  12. Replies
    2
    Views
    1,150

    Re: unit of battery capacity

    Thanks for the hint! I already use this IO ctrl but somehow I missed the contents of the BATTERY_STATUS struct. As it turns out, the current voltage is not what I want but rather a "design voltage"...
  13. Replies
    2
    Views
    1,150

    unit of battery capacity

    Hi,

    I made a small application which gives the user information about the current state and wear of their's laptop battery. Its functionality and UI is similar to CoconutBattery in the MacOSX...
  14. Replies
    3
    Views
    1,108

    Re: Using command line help

    You can use the global variables __argc and __argv (and probably __envp), which contain the cmdline arguments like in a standard C program
  15. Re: Taking a screenshot - trouble with windows.h

    @MoHammaD_93: He is using the MinGW compiler, which IS a Windows compiler...

    @computerfreaker:
    The Microsoft compiler uses a strange concept using a .lib file. It seems to be some kind of...
  16. Replies
    5
    Views
    625

    Re: window gets no messages

    fairly simple ;-)

    Thanks!
  17. Replies
    5
    Views
    625

    Re: window gets no messages

    Thank you for the answer, and so quick! Ah, I see. I have to move the loader code to a separate thread and return immediately from the window callback function. When the thread is finished it has to...
  18. Replies
    9
    Views
    2,241

    Re: Clearing the archive bit

    The correct way to do this is by a read-modify-write operation, this way all other attributes will remain intact:

    SetFileAttributes (filename, GetFileAttributes(filename)&~FILE_ATTRIBUTE_ARCHIVE);
  19. Replies
    3
    Views
    1,843

    Re: Directly write to network printer

    It depends on the type of the printer. I only recently discovered that there is an lpr.exe program in Windows (at least XP; probably w2k; NT4?, W9x??). How to do it from a program see attached files....
  20. Replies
    5
    Views
    625

    window gets no messages

    Hi,

    I am new here and I hope this is the right forum for my question. I am an experienced C programmer but rather in the embedded and/or Linux world. Windows GUI programming seems somewhat .. eh...
Results 1 to 20 of 20


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center