Revision 1600

trunk/src/nh99/model.cpp (revision 1600)
1232 1232

  
1233 1233
void initial_params::set_random_effects_inactive(void) {;}
1234 1234

  
1235

  
1236
#if defined(__SPDLL__)
1237
  #if defined(_WIN32)
1238
    #include <windows.h>
1239
void get_sp_printf(void)
1240
{
1241
  ad_printf=NULL;
1242
  HINSTANCE h=LoadLibrary("sqpe.dll");
1243
  if(h)
1244
    ad_printf= (fptr) GetProcAddress(h,"S_newio_printf");
1245
}
1246
  #endif
1247
#endif
1248

  
1249 1235
pinitial_params& adlist_ptr::operator[](int i)
1250 1236
{
1251 1237
  return (pinitial_params&)ptr[i];
trunk/src/nh99/model33.cpp (revision 1600)
140 140
  }
141 141
}
142 142

  
143
#if defined(__SPDLL__)
144
  #if defined(_WIN32)
145
    #include <windows.h>
146
void get_sp_printf(void)
147
{
148
  ad_printf=NULL;
149
/*
150
  HINSTANCE h=LoadLibrary("sqpe.dll");
151
  if(h)
152
    ad_printf= (fptr) GetProcAddress(h,"S_newio_printf");
153
*/
154
}
155
  #endif
156
#endif
157

  
143 158
void do_dll_housekeeping(int argc,char ** argv)
144 159
{
145 160
  int on;
146 161
#if defined(__SPDLL__)
147 162
  if ( (on=option_match(argc,argv,"-sp"))>-1)
148 163
  {
164
  #if defined(_WIN32)
149 165
    get_sp_printf();
166
  #endif
150 167
    ad_exit=spdll_exit;
151 168
  }
152 169
  else if ( (on=option_match(argc,argv,"-spexit"))>-1)

Also available in: Unified diff