Archived

This forum has been archived. Please start a new discussion on GitHub.

can mfc program be a node in icegrid application

here is the situation:
when i use mfc program as a node in icegrid(use icegridnode), then use icegridadmin to start the server, and the server kept like "activating" ,and it never goes to "activated"
,and later icegridadmin says "server activation timed out"

maybe some part of my program is not correct, but i cannot locate it.

thanks in advance.

Comments

  • now we know it is related to command line parameter "argc" and "argv"
    mfc cannot get these parameters transparently
    so we are trying to get them by writing some code.
  • matthew
    matthew NL, Canada
    I think you can get at the argc and argv through __argc and __argv. They are supposed to be defined in stdlib.h.
  • it works,thank you:)