whitewatcher
New member
- Joined
- Jun 2, 2008
- Messages
- 23
- Reaction score
- 0
- Points
- 0
I want to create a Network MFD for streaming MFD output over the network (so that I can use a SBC in my simpit for MFD handling).
So I've created an external MFD (very similar to the ExMFD.dll plugin):
When I do the "GetDisplaySurface", it crashes. Can anybody here tell me why?
I would appreciate every guess ....
So I've created an external MFD (very similar to the ExMFD.dll plugin):
Code:
...
MFDSPEC spec = {{0,0,100,100},6,6,10,10};
mymfd = new ExternMFD( spec );
oapiRegisterExternMFD( mymfd, spec );
// Get the Surface
SURFHANDLE surf = mymfd->GetDisplaySurface ();
...
oapiUnregisterExternMFD( myfd);
When I do the "GetDisplaySurface", it crashes. Can anybody here tell me why?
I would appreciate every guess ....