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

Alternative Ice::initialize in Client


This post is inline with my continuing quest to get ICE working with our system. ;) For further reference, you can check out the following posts:
So what's my problem again? Well, the current ICE client samples that I've seen are all expecting that the client is an Application. Unfortunately, in my case ... the client is a DLL.

The idea is something like this:
ASP or VB application --> ICE Client DLL --> internet -->> ICE Server EXE

I have overcome the hump on getting a DLL working ... now my problem is with regards to the line:
//Initialize ICE
ic = Ice::initialize(argc, argv);

My problem with this is that since the ICE client is a DLL, I dont have the argc and argv variables. Is there a way which I can initialize ICE without passing these parameters?

Any help will be greatly appreciated.




  • marc
    marc Florida
    Just use something like:

    int dummy = 0;
    ic = Ice::initialize(dummy, 0);
  • Marc,

    Thanks. This last code basically completes the C++ part of the puzzle. I'm moving to the VB and J side to see how the thing works in comparison to our original net codes.

    Thanks again.