I have updated your code to properly show a form using Delphi 2005 (or any other Delphi for that matter).

The mapbasic declaration looks like this:
Declare Sub AssetForm Lib "somename.dll"

Regards
Uffe

----- Original Message ----- From: Nathan Woodrow
To: MapInfo-L@lists.directionsmag.com
Sent: Monday, October 23, 2006 12:39 AM
Subject: [MI-L] Mapbasic and Delphi 2005 Dll


Procedure AssetForm; StdCall;
Var
 AForm: TAssetCaptureForm
Begin
 AForm:= TAssetCaptureForm.Create(Nil);
 AForm.showmodal;
 AForm.free;
End;

Exports
 AssetForm;

_______________________________________________
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to