Home Help Center

can mfc program be a node in icegrid application

leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
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

  • leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
    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.
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    I think you can get at the argc and argv through __argc and __argv. They are supposed to be defined in stdlib.h.
  • leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
    it works,thank you:)
Sign In or Register to comment.